Nimbus Sans L Condensed [Summary]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 >| 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.
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux