Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-11-2004, 10:52 PM
|
#1
|
Member
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290
Rep:
|
Question about fonts.conf configuration
When I used RedHat 9 before, and I add this section in the fonts.conf configuration file:
Code:
<!--
This expression is added by Akito Hirai<akito@kde.gr.jp> for convenience.
It can be used to make artificial bold versions in client libraries/applications.
-->
<match target="font">
<test name="weight">
<const>medium</const>
</test>
<test target="pattern" name="weight" compare="more">
<const>medium</const>
</test>
<edit name="weight" mode="assign">
<if>
<more>
<name>spacing</name>
<const>proportional</const>
</more>
<const>demibold</const> <!-- for monospace -->
<const>bold</const> <!-- for proportional -->
</if>
</edit>
</match>
<match target="font">
<test name="pixelsize" compare="less_eq">
<double>16</double>
</test>
<test name="pixelsize" compare="more_eq">
<double>8</double>
</test>
<edit name="antialias" mode="assign">
<bool>f</bool>
</edit>
</match>
<match target="font">
<test name="size" compare="less_eq">
<double>16</double>
</test>
<test name="size" compare="more_eq">
<double>8</double>
</test>
<edit name="antialias" mode="assign">
<bool>f</bool>
</edit>
</match>
The font will be thinner, and it looks very nice. Now I use Slackware 9.1, when I add this section, it looks thinner, howevery, it looks like writing a word when your hand is shaking. I don't know how to describe, and it will be appricated if anyone can tell me how to take a screenshot. And I really need help about this problem.
Thanks a lot
|
|
|
01-12-2004, 01:25 AM
|
#2
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep:
|
Fonts mystify me - can't help there. But this will serve as a bump, at least. The screenshot I can do - you can grab a screenshot with 'import'. 'import filename' in the simplest form (click on a window to grab it). 'import -window root filename' if you want the whole screen. Or with the gimp or probably most any graphics app.
|
|
|
01-12-2004, 03:49 AM
|
#3
|
Member
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290
Original Poster
Rep:
|
Thanks digiot!
And here is the screenshot, the font shape is very bad.
|
|
|
01-12-2004, 02:59 PM
|
#4
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep:
|
That's dropline gnome? Wow. Not supposed to look like that. What it looks like is that anti-aliasing is not on. DLG should definitely be compiled to support that and *should* have been configured to display it. Possibly there's a Gnome setting for that or possibly something's seriously messed up. But the best I can do is narrow it down to an anti-aliasing issue, which might help with searching the problem, anyway.
Maybe try taking out that section you put in. As I say, DLG rewrote half my system the time I tried it and shouldn't need any further tinkering to get decent fonts.
|
|
|
01-12-2004, 05:42 PM
|
#5
|
Member
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290
Original Poster
Rep:
|
If I don't use the codes, it looks all right, however, for those are bold words, it will look so thick and unnormal.
|
|
|
01-12-2004, 08:32 PM
|
#6
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep:
|
Hm. I know nothing about fonts and don't even understand the xml but, as a shot in the dark, mybe see what putting the section back in and changing the 'f's in the anti-alias 'bool' sections to 't' does? Or leaving it out and just trying to mess with fonts directly through the DLG GUI tools? I would say to hack at it with the CLI tools but I don't even know what those are for the most part. /me hates X (and fonts in general). But I gotta live with it to use mozilla and so on.
|
|
|
All times are GMT -5. The time now is 10:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|