From: Seiichi S. <ss...@sh...> - 2004-09-15 15:28:44
|
Hi, On Tue, Sep 14, 2004 at 01:02:30PM -0500, Christian Smyth wrote: > I like mlterm very much, especially since it supports variable-width > fonts. I have a question, though. I have a vaafont file that looks like > this: > > ISO8859_1=devon-iso8859-1 > > mlterm is reading the file OK, but seems to be using the font: > > -*-devon-medium-i-*-*-*-*-*-*-*-*-iso8859-1 > > instead of: > > -*-devon-medium-r-*-*-*-*-*-*-*-*-iso8859-1 You cannot specify anti-aliased fonts in XLFD format. > I assume it is picking the italic (i) font because i comes before r > alphabetically. There doesn't seem to be a place in the config anywhere > to specify this "slant" attribute. How do I make mlterm use the r font in > this case? In cases of *aafont, slant attribute is not supported. The following way may help you. (replace "Arial" with "YOUR FONT") vaafont: ISO8859_1=Arial Italic-iso10646-1; ~/.fonts.conf: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <!-- /etc/fonts/fonts.conf file to configure system font access --> <fontconfig> <match target="pattern"> <test name="family"> <string>Arial Italic</string> </test> <edit name="family" mode="prepend" binding="same"> <string>Arial</string> </edit> <edit name="style" mode="prepend" binding="same"> <string>Italic</string> </edit> </match> </fontconfig> -- Seiichi |