Bug 72500 - Can't select new fonts in mozilla (maybe Japanese only)
Can't select new fonts in mozilla (maybe Japanese only)
Product: Red Hat Linux
Classification: Retired
Component: ttmkfdir (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Yu Shao
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2002-08-24 13:29 EDT by Need Real Name
Modified: 2007-04-18 12:45 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-30 20:22:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-08-24 13:29:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3; Linux)

Description of problem:
ttmkfdir doesn't make "-jisx"lists in fonts.dir.
so mozilla can't see that new fonts are Japanese.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. add new Japanese fonts to /usr/share/fonts/ja/TrueType/
is a good Japanese font.)
2. reboot your machine.
3. start mozilla,
   select Edit>Preferences>Appearance>Fonts
4. set "Fonts for: Japanese".
5. look for fonts you added...you can't find them.

Actual Results:  I can't select Japanese fonts I added.

Expected Results:  I can select them.

Additional info:
Comment 1 Christopher Blizzard 2002-08-24 22:04:25 EDT
XFree bug?
Comment 2 Need Real Name 2002-08-25 00:22:13 EDT
>XFree bug? 
I don't know. But in konqueror or openoffice or gnome-font-properties, 
I can select Japanese fonts I added. 
So maybe it's a mozilla's problem. 
Mozilla doesn't recognize fonts-list(-iso10646-1 or -iso8859-10 etc..) made by ttmkfdir as 
Japanese fonts. 
Comment 3 Christopher Blizzard 2002-08-25 01:01:00 EDT
I think that those apps are all using Xft and are able to read the TT files
directly.  Mozilla can only read them if they are available through standard X
Comment 4 Need Real Name 2002-08-26 10:33:38 EDT
I found Mandrake's ttmkfdir.It makes "-jisx"fonts.dir.

Delete ".jpg",Change permissions to "executable",then
Copy to "/usr/bin/".

Type "ttmkfdir >fonts.dir",and compare. 
You can see RedHat's ttmkfdir is bad for Japanese.

I can use Japanese fonts in Mozilla with Mandrake's ttmkfdir.
Comment 5 Christopher Blizzard 2002-08-30 11:00:07 EDT
Over to mike.
Comment 6 Mike A. Harris 2002-09-01 01:56:05 EDT
yshao handles ttmkfdir related bug reports reassigning..

If this is not considered a showstopper, then it likely wont be done
in the final release I don't believe.  This release will be the last
Red Hat Linux release to ship with ttmkfdir written in C++ also.

Future releases will use mkfontscale instead.
Comment 7 Leon Ho 2003-01-30 20:22:26 EST
yshao has the fix on latest ttmkfdir. Also mozilla uses Xft now and does not depends 
on X font system. 

Note You need to log in before you can comment on or make changes to this bug.