There is a new utility called "mkfontscale" in XFree 4.3.0 and above, which makes ttmkfdir obsolete. Font installation scripts should use mkfontscale and the dependency on ttmkfdir should be removed. The only difference between mkfontscale and ttmkfdir is that mkfontscale by default does not generate some obscure encodings, but it's possible to influence this behaviour with a command line parameter.
can you be a little more specific, when you talk about the obscure encodings?
mkfontscale generates by default only these charsets: arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-adobe-standard arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-ibm-cp437 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso10646-1 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-1 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-10 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-13 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-15 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-2 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-3 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-4 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-5 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-8 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-9 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-koi8-e arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-koi8-r arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-koi8-u arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-microsoft-cp1252 ttmkfdir generates all of the above plus: arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-ascii-0 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-ibm-cp850 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-ibm-cp852 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-ibm-cp866 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-16 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-6 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-7 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-9e arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-koi8-e arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-koi8-ru arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-koi8-u arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-microsoft-ansi arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-microsoft-cp1250 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-microsoft-cp1251 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-mulearabic-0 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-mulearabic-1 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-mulearabic-2 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-tatar-cyr arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-tcvn-0 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-tcvn-1 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-tcvn-5712 arial.ttf -monotype-Arial-medium-r-normal--0-0-0-0-p-0-viscii1.1-1
What is the issue? ttmkfdir just have a more complete range of encodings it support ...
mkfontscale is better than ttmkfdir in Japanese fonts. XLFD for Japanese fonts have to be set proportional because they have both single byte chars and double-byte chars. mkfontscale set them proportional (ttmkfdir does not).
Created attachment 12537 [details, diff] xfs.start-4.3.0-mkfontscale.diff
Comment on attachment 12537 [details, diff] xfs.start-4.3.0-mkfontscale.diff sorry, its not good way to adjust japanese fonts(to proportional). X-TT is best way to adjust CJK fonts problem. WWW: http://x-tt.sourceforge.jp/
Why it isn't fixed yet? We dont't need "ttmkfdir", mkfontscale is a supereset of it.
Krzysztof, Frankly I don't see any evidence supporting your comment. All I see here is that ttmkfdir generates quite a few extra encodings, which is a good thing in my opinion.
Please have a look at this thread: http://www.mail-archive.com/fonts@xfree86.org/msg01182.html
Right, but mkfontscale still do not generate them all (as you can see arabic is very obvious). It is easier to do things not having to try and figure out all the time which app you can use, if one will do.
I'm going to close this until mkfontscale is good enough to be worth replacing ttmkfdir with.
bugzie
Cleaning old bugs with state LATER. This one was fixed with new font structure.