On 11/18/06, Luca <[EMAIL PROTECTED]> wrote:
Question: In X Window System Components, fonts instructions, explicitly DejaVu there's the paragraph: "Earlier it was mentioned that /etc/fonts/fonts.conf could be modified to use DejaVu using the default family names. Since DejaVu is a replacement for Bitstream Vera fonts, it can be substituted for that family. Visually inspect the fonts.conf to see how fonts are grouped together under the generic family names within <alias> tags and a preference list is created within <prefer> tags. To replace Bitstream Vera with DejaVu, run the following command as the root user: sed -i 's/<family>Bitstream Vera/<family>DejaVu/' /etc/fonts/fonts.conf To see which fonts will be used as the generic fonts in your locale, run the command fc-match monospace. Substitute "sans" or "serif" to see the fonts that will be used for those aliases.
It should be fine. DejaVu just extends BitstreamVera, so if you have DejaVu, you should basically have BitstreamVera. However, I don't think this is actually the right thing to do. According to Keith Packard on the Fontconfig list, Bitstream actually has better hinting for the characters that it provides. So, in the newest version of Fontconfig, DejaVu is included, but below BitstreamVera in the preference ordering. The new configuration is greatly extended, but the part we're concerned with is here: http://gitweb.freedesktop.org/?p=fontconfig;a=blob;hb=HEAD;f=conf.d/60-latin.conf This would seem to work correctly if you had both fonts installed since Bitstream would be preferred for the Latin based characters that it provides, and DejaVu would be used for the characters not provided by Bitstream, like Cyrillic. I haven't tried yet, though. So, I'd be interested to know if you see any difference if you placed the DejaVu lines below the BitstreamVera lines in fonts.conf instead of replacing them and installing both fonts. The Bitstream ones can be found here: http://www.gnome.org/fonts/ What's happening right now is that the only way you can use Bitstream is if you specify it. It won't be used by one of the generic names like Sans/Monospace/etc. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
