karagee n00b
Joined: 07 Feb 2004 Posts: 1 Location: San Francisco, CA, USA
|
Posted: Sat Feb 07, 2004 8:36 pm Post subject: Redhat extensions to fontconfig |
|
|
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. |
|