Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: XFree86 4.3.0 and truetype - followup
- Date: Fri, 11 Apr 2003 14:42:56 +0200
- From: Mike FABIAN <mfabian@example.com>
- Subject: [tlug] Re: XFree86 4.3.0 and truetype - followup
- References: <20030409153238.06a9e74e.gstewart@example.com><20030410230529.587c536f.gstewart@example.com><s3tk7e17ber.fsf@example.com><20030411114641.7a7833da.gstewart@example.com>
- User-agent: Gnus/5.090014 (Oort Gnus v0.14) XEmacs/21.4 (Portable Code,x86_64-suse-linux)
Godwin Stewart <gstewart@example.com> さんは書きました: > Both "freetype" and "xtt" are commented out. Lemme uncomment "freetype" and > try that... [...] > Now, the question is, why would Volkerding disable both TTF rendering > engines?... No idea. > Or is the XFree86 Project responsible for that? Probably not. By the way, with XFree86 >= 4.3.0 you can enable both "freetype" and "xtt" in XF86Config if you like. If you do that, "xtt" is used for ".ttc" and ".ttf" files and "freetype" for ".otf" files (xtt doesn't handle OpenType fonts). But that makes sense only if you prefer the way "xtt" renders TrueType fonts for whatever reason. "xtt" can do artificial emboldening and italicizing for fonts which you only have in regular. For example if you use the free Chinese Arphic PL fonts which are only available in medium, you can only use the entry bkai00mp.ttf -Arphic-AR PL KaitiM Big5-medium-r-normal--0-0-0-0-p-0-iso10646-1 with the "freetype" module. But if "xtt" is enabled in XF86Config, you can also use ds=y:ai=0.15:bkai00mp.ttf -Arphic-AR PL KaitiM Big5-bold-o-normal--0-0-0-0-p-0-iso10646-1 ds=y:bkai00mp.ttf -Arphic-AR PL KaitiM Big5-bold-r-normal--0-0-0-0-p-0-iso10646-1 ai=0.15:bkai00mp.ttf -Arphic-AR PL KaitiM Big5-medium-o-normal--0-0-0-0-p-0-iso10646-1 because the "xtt" module interpretes these extra options like "ds=y:ai=0.15:" to create artificial bold and italic faces on the fly. As the "freetype" module doesn't understand these options, you must remove them when only "freetype" is enabled in XF86Config and not "xtt". As adding these options manually may be tedious, it may be helpful to use my script http://www.suse.de/~mfabian/misc/SuSEconfig.fonts/fonts-config man-page: http://www.suse.de/~mfabian/misc/SuSEconfig.fonts/fonts-config.1.gz To use it, copy the above 2 files to /usr/sbin/fonts-config /usr/share/man/man1/fonts-config.1.gz and call /usr/sbin/fonts-config --force The skript checks whether you have "xtt" enabled in XF86Config and if yes it generates entries for artificial bold and italic into fonts.dir for all fonts which don't already have "real" bold and italic versions. If "xtt" is disabled in XF86Config, all such entries are removed. I made this script for SuSE Linux 8.2 but it probably works on other distributions as well. -- Mike Fabian <mfabian@example.com> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
- Follow-Ups:
- Re: [tlug] Re: XFree86 4.3.0 and truetype - followup
- From: Godwin Stewart
- References:
- [tlug] XFree86 4.3.0 and truetype
- From: Godwin Stewart
- [tlug] XFree86 4.3.0 and truetype - followup
- From: Godwin Stewart
- [tlug] Re: XFree86 4.3.0 and truetype - followup
- From: Mike FABIAN
- Re: [tlug] Re: XFree86 4.3.0 and truetype - followup
- From: Godwin Stewart
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Business applications of Linux
- Next by Date: Re: [tlug] Re: XFree86 4.3.0 and truetype - followup
- Previous by thread: Re: [tlug] Re: XFree86 4.3.0 and truetype - followup
- Next by thread: Re: [tlug] Re: XFree86 4.3.0 and truetype - followup
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links