Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20585 - xfree 4.3.0 ebuild should not depend on ttmkfdir
Summary: xfree 4.3.0 ebuild should not depend on ttmkfdir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-07 12:20 UTC by Tomas Styblo
Modified: 2009-08-20 10:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xfs.start-4.3.0-mkfontscale.diff (xfs.diff,1014 bytes, patch)
2003-05-29 08:58 UTC, MATSUU Takuto (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Styblo 2003-05-07 12:20:55 UTC
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.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-05-15 03:24:37 UTC
can you be a little more specific, when you talk about the obscure encodings?
Comment 2 Tomas Styblo 2003-05-17 15:16:41 UTC
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
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-17 15:46:36 UTC
What is the issue?  ttmkfdir just have a more complete range of encodings it
support ...
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2003-05-29 08:57:48 UTC
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).
Comment 5 MATSUU Takuto (RETIRED) gentoo-dev 2003-05-29 08:58:16 UTC
Created attachment 12537 [details, diff]
xfs.start-4.3.0-mkfontscale.diff
Comment 6 MATSUU Takuto (RETIRED) gentoo-dev 2003-05-29 10:52:27 UTC
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/
Comment 7 Krzysztof Kotlenga 2003-10-31 22:52:25 UTC
Why it isn't fixed yet? We dont't need "ttmkfdir", mkfontscale
is a supereset of it.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2003-11-01 11:38:30 UTC
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.
Comment 9 Christian Savard 2003-11-03 18:17:57 UTC
Please have a look at this thread:

http://www.mail-archive.com/fonts@xfree86.org/msg01182.html
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-04 12:34:27 UTC
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.
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2003-11-13 20:42:45 UTC
I'm going to close this until mkfontscale is good enough to be worth replacing ttmkfdir with.
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-20 10:20:17 UTC
bugzie
Comment 13 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-20 10:20:36 UTC
Cleaning old bugs with state LATER.

This one was fixed with new font structure.