The X-TrueType project page(http://X-TT.dsl.gr.jp/) is not available now. The following are documents contained in X-TT 1.3 release, and important information is included for setting up X-TT.
We show some explanations for using X-TT 1.4.0 here.
fc=0xaa00-0xa0ff" means specifying the ranges 0x0000-0xa0ff and 0xaa00-0xffff. This is useful for GB18030 proportional fonts.
-m-" spacing was used.
fc" and "
fm": they enable the *extremely* fast loading of big Japanese or unicode fonts with "
-p-" in the XLFD.
ds" , "
eb" and "
eb=y" when Auto Italic.
bs" option is not set.
fc=0xaa00-0xa0ff", means specifying the range of 0x0000-0xa0ff and 0xaa00-0xffff. This option is available only for proportional spacing in "xtt", and calculations of metrics on the specified code range are not performed because of handling them as -c- spacing.
vl" option are indispensable.
fm" option is not set, the metrics in the range of "
fc" specification become the bounding box of header information. But this is not always convenient; instead, you can specify the metrics by "Code" or "magnification ratio".
fm=0x5a00) is set, when loading font, "xtt" calculates the metrics of "Code" first and copy the metrics to all glyphs in the "
fc" specification. On the other hand, when "magnification ratio" (e.g.
fm=0.5,0,0.5) is set, all glyphs in the "
fc" obey the setting. Each number after "
fm=" corresponds to width, left side bearing and right side bearing, and is the magnification ratio to the width of bounding box of header information.
fc=0x3400-0xe7ff:fm=0x5a00:vl=y:bw=1.0;,-1,:arialuni.ttf -microsoft-arial unicode ms-medium-r-normal--0-0-0-0-p-0-iso10646-1
fn=1:fc=0x2841-:msmincho.ttc -microsoft-ms pmincho-medium-r-normal--0-0-0-0-p-0-jisx0208.1983-0
(Cyberbit.ttf contains ISO-8859-x, Chinese, Japanese and Korean characters. You can get it from ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/.)
ds=m, the process leaves the edge of bitmaps as is, which improves the readability. (We call this processing "mkbold method").
ds=mb. Then the width of bounding box is increased by 1 pixel.
ai" option) is set when
"eb=y". If you don't want to use embedded bitmaps when Auto Italic is set, set "
eb=n" to TTCap. If
"eb"is not set, embedded bitmaps are used when Auto Italic is not set.
vl=y" option can be corrected with this parameter. It is also useful in adjusting font spacing which can be too narrow or wide when small fonts are used.
fc=0x3400-0xe7ff:fm=0x5a00:vl=y:bw=1.0;,-1,:ds=mb:arialuni.ttf -microsoft-arial unicode ms-bold-r-normal--0-0-0-0-p-0-iso10646-1
fn=1:bw=1.0;1,,:msgothic.ttc -microsoft-ms pgothic-medium-r-normal--0-0-0-0-p-0-iso8859-1
Last Modified: 20 May 2003