[Fontconfig] Re: Luxi Mono

Bob Tennent rdtennent at hotmail.com
Sat Nov 4 04:40:15 PST 2006


 >|Getting better, but not quite there yet:
 >|
 >|# fc-list "Luxi Mono" : family style file spacing
 >|/usr/share/fonts/luxi/luximbi.ttf: Luxi Mono:style=Bold Oblique
 >|/usr/share/fonts/luxi/luximb.ttf: Luxi Mono:style=Bold:spacing=100
 >|/usr/share/fonts/luxi/luximri.ttf: Luxi Mono:style=Oblique:spacing=100
 >|/usr/share/fonts/luxi/luximr.ttf: Luxi Mono:style=Regular:spacing=100

Success, using

 <match target="scan">
   <test name="family">
      <string>Luxi Mono</string>
   </test>
   <edit name="spacing" mode="assign">
     <int>100</int>
   </edit>
 </match>

 <match target="scan">
   <test name="family">
      <string>Luxi Mono</string>
   </test>
   <test name="style">
      <string>Bold Oblique</string>
   </test>
   <edit name="spacing" mode="assign">
     <int>100</int>
   </edit>
 </match>

though I don't know why the second <match> ... </match> section seems to
be required.

Thanks for your help.

Bob T.


More information about the Fontconfig mailing list