Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Redhat extensions to fontconfig
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
karagee
n00b
n00b


Joined: 07 Feb 2004
Posts: 1
Location: San Francisco, CA, USA

PostPosted: Sat Feb 07, 2004 8:36 pm    Post subject: Redhat extensions to fontconfig Reply with quote

Hi All,

I'm a recent convert to gentoo and after a couple of weeks I pretty much have everything set up the way I want.

One of my last naggings is to do with the rendering of Asian Truetype fonts, Japanese in particular. I've noticed that my Redhat 8 box at small point sizes renders Japanese text far more clearly than Gentoo.

After a lot of searching I found this in Redhat's /etc/fonts/font.conf

<match target="font">
<test name="lang" compare="contains">
<string>ja</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
<!-- the rh_prefer_bitmaps options (a nonstandard
Red Hat extension), controls whether embedded
bitmaps, when available are preferred
to antialiased rendering. For Japanese,
we prefer antialiased rendering -->
<edit name="rh_prefer_bitmaps" mode="assign">
<bool>false</bool>
</edit>
</match>

The rh_prefer_bitmaps flag set to off, basically instructs applications to ignore the bitmapped fonts at any size.

Gentoo, since it uses a standard font config does use bitmapped fonts at small sizes for Japanese fonts.

I'd like to be able to force fontconfig to emulate Redhat's behaviour for this class of fonts.

Does anyone know how to do this, or even if this is possible? Failing that does anyone have an ebuild that would apply redhat's patches to fontconfig before I decide to roll my own?

Thanks

PS. Thanks to all the talented people that contribute to Gentoo. It's a real pleasure to use.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum