LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 01-11-2004, 10:52 PM   #1
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Rep: Reputation: 30
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
 
Old 01-12-2004, 01:25 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 01-12-2004, 03:49 AM   #3
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Thanks digiot!

And here is the screenshot, the font shape is very bad.

 
Old 01-12-2004, 02:59 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 01-12-2004, 05:42 PM   #5
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
If I don't use the codes, it looks all right, however, for those are bold words, it will look so thick and unnormal.
 
Old 01-12-2004, 08:32 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 conf and fonts questions neilcpp Slackware 3 11-07-2005 02:13 PM
Fonts configuration in Debian J_dash Linux - Newbie 3 10-08-2005 10:36 AM
/etc/fonts/local.conf J_dash Linux - Newbie 1 10-08-2005 08:45 AM
Fonts question: how to get a full list of fonts in Abiword vharishankar Linux - Software 1 03-17-2005 12:11 PM
Error: /etc/fonts/fonts.conf file? BearClaw Slackware 2 09-10-2003 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration