Bug 194536

Summary: FC5: Asian TrueType font encoding entries are missing on fonts.scale
Product: [Fedora] Fedora Reporter: IBM Bug Proxy <bugproxy>
Component: ttmkfdirAssignee: Liang Zhang <lizhang>
Status: CLOSED DUPLICATE QA Contact:
Severity: urgent Docs Contact:
Priority: medium    
Version: rawhideCC: mshao
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-09 01:57:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description IBM Bug Proxy 2006-06-08 20:17:27 UTC
Problem description:
According to following URL:
  http://www.redhat.com/archives/fedora-announce-list/2005-August/msg00017.html
On FC4, it can create Asian TrueType font encoding entries on fonts.scale.
On FC5, even if ttmkfdir-3.0.9-19.2.1 package has the latest fix, it seems 
fonts.scale does not have TrueType font encoding entries:
=======================================================
$ cat /usr/share/fonts/japanese/TrueType/fonts.scale
19
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-ascii-0
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-iso10646-1
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-iso8859-1
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-iso8859-10
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-iso8859-13
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-iso8859-15
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-iso8859-2
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-iso8859-3
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-iso8859-4
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-iso8859-5
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-iso8859-7
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-iso8859-9
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-koi8-r
sazanami-mincho.ttf -misc-Sazanami Mincho-medium-r-normal--0-0-0-0-c-0-koi8-ru
sazanami-gothic.ttf -misc-Sazanami Gothic-medium-r-normal--0-0-0-0-c-0-ascii-0
sazanami-gothic.ttf -misc-Sazanami Gothic-medium-r-normal--0-0-0-0-c-0-iso10646-1
sazanami-gothic.ttf -misc-Sazanami Gothic-medium-r-normal--0-0-0-0-c-0-iso8859-1
sazanami-gothic.ttf -misc-Sazanami Gothic-medium-r-normal--0-0-0-0-c-0-iso8859-15
sazanami-gothic.ttf -misc-Sazanami Gothic-medium-r-normal--0-0-0-0-c-0-iso8859-9
=======================================================

This was seen and fixed in RHEL4 in
  
https://enterprise.redhat.com/issue-tracker/?module=issues&action=view&tid=82230&gid=43

Comment 1 Mike A. Harris 2006-06-14 04:09:55 UTC
ttmkfdir is not part of xorg-x11.

Comment 2 Adam Jackson 2006-10-04 15:20:11 UTC
Move to ttmkfdir.

Comment 3 Liang Zhang 2006-10-09 01:52:34 UTC
It seems to be same as bug204893.

Comment 4 Liang Zhang 2006-10-09 01:54:30 UTC
I found the reason which creates this bug is relative to encodings.dir of X11.
The encodings.dir of FC-5 (/usr/share/X11/fonts/encodings/encodings.dir) doesn't
include the encodings in the "large" sub-dir, so encodings.dir doesn't include
the CJK encodings. Then ttmkfdir can not find the CJK encodings through scaning
encodings.dir, therefore, there are not CJK encodings in the fonts.dir which is
created by ttmkfdir.
The encodings.dir of RHEL-4 (/usr/X11R6/lib/X11/fonts/encodings/encodings.dir)
includes the encodings in the "large" sub-dir, so there are CJK encodings in the
fonts.dir.
So I think this bug is not a bug of ttmkfdir, but a bug of encodings.dir of X11.
encodings.dir of FC-5 must include the encodings in the "large" sub-dir.
I need some information which the maintainer of X11 gives me about encodings.dir
of X11.
Thanks.

Comment 5 Liang Zhang 2006-10-09 01:57:24 UTC

*** This bug has been marked as a duplicate of 204893 ***