[Fontconfig] Nimbus Sans L Condensed [Summary]
Bob Tennent
rdtennent at hotmail.com
Thu Mar 6 16:45:59 PST 2008
>| Create a fontconfig alias that would create a virtual
>| font-family "Nimbus Sans L Condensed".
The following works for me:
<match target="scan">
<test name="family" compare="eq">
<string>Nimbus Sans L</string>
</test>
<test name="width" compare="eq">
<int>75</int>
</test>
<edit name="family" mode="assign">
<string>Nimbus Sans L Condensed</string>
</edit>
</match>
Nimbus Sans L urw fonts (unmodified) with width=75 (condensed) are
re-assigned the family name Nimbus Sans L Condensed and are then
selected by the css font-family: Nimbus Sans L Condensed.
On Fedora:
% fc-list "Nimbus Sans L Condensed": file style
/usr/share/fonts/default/Type1/n019043l.pfb: :style=Regular Condensed
/usr/share/fonts/default/Type1/n019044l.pfb: :style=Bold Condensed
/usr/share/fonts/default/Type1/n019064l.pfb: :style=Bold Condensed Italic
/usr/share/fonts/default/Type1/n019063l.pfb: :style=Regular Condensed Italic
Bob T.
More information about the Fontconfig
mailing list