Around 13 o'clock on Dec 17, Juliusz Chroboczek wrote:

> Not for me.  For many applications I prefer bitmap fonts to scalable
> fonts, and I wouldn't be willing to switch to Xft throughout my
> desktop if Xft prevented me from using the fonts I'm used to.

My desire is not to make this mandatory or even the default, but rather 
to make it possible to configure the system to prefer outlines unless no 
outline contains the needed glyphs.

Hmm.  I can do this without changing the library:


<!-- in ~/.fonts.conf -->
        <match target="pattern">
                <edit name="prefer_outline">
                        <bool>true</bool>
                </edit>
        </match>

<!-- in /etc/fonts/fonts.conf -->

        <match target="pattern">
                <test name="prefer_outline">
                        <bool>true</bool>
                </test>
                <test name="family">
                        <string>Helvetica</string>
                </test>
                <edit name="family" mode="prepend" binding="strong">
                        <string>Arial</string>
                </edit>
        </match>
        
        <match target="pattern">
                <test name="prefer_outline">
                        <bool>true</bool>
                </test>
                <test name="family">
                        <string>Times</string>
                </test>
                <edit name="family" mode="prepend" binding="strong">
                        <string>Times New Roman</string>
                </edit>
        </match>

This has the added benefit of mapping the ugly bitmap fonts to (ugly, but 
outline) replacement fonts of similar style and metric.

Does this look better?

Keith Packard        XFree86 Core Team        HP Cambridge Research Lab


_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to