Closed Bug 274120 Opened 20 years ago Closed 16 years ago

Japanese webpage which assigned font-family as "Gothic" is garbled

Categories

(Core :: Internationalization, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kazhik, Assigned: smontagu)

Details

(Keywords: intl)

Japanese webpage which assigned font-family as "Gothic" is garbled.

Reproduced with Firefox 20041206/Linux.
It seems this bug is a RedHat-specific.

Original report in Bugzilla-jp:
http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=3902

Screenshot:
http://bugzilla.mozilla.gr.jp/attachment.cgi?id=2374
I can't reproduce it here with a gtk2+xft build(mozilla suite, 1.7). What set of
build configuration is used? The output of 'about:buildconfig' would help.
Keywords: intl
Pls, ignore my previous comment. It must be gtk2+xft. The page in question (
http://www.nikkei.co.jp) has                       the following set of fonts
listed in the stylesheet:

MS Pゴシック', osaka, Gothic, sans-serif

At the moment Mozilla doesn't recognize non-ASCII font names and 'osaka' is not
available on most Linux box (that's a Mac OS X font) so that it ends up using
'Gothic' (it's not usually available either as a truetype font on Linux, but
somehow on Linux boxes for which the bug was found, the bitmap font named
'Gothic' seems to be offered via fontconfig). I wonder why 'sans-serif' at the
end doesn't return other Japanese fonts with necessary glyphs.  

This bug reprodued with Red Hat Linux 9, and not reproduced with Fedora Core 2.
I never checked with Fedora Core 1.

Glyphs of numbers shown in the screen shot in comment 0 (eg. "(03:04)",
"(00:01)") looks like the output of the command "xfd -fa Gothic-16" in Red Hat
Linux 9.
(In reply to comment #3)

> Glyphs of numbers shown in the screen shot in comment 0 (eg. "(03:04)",
> "(00:01)") looks like the output of the command "xfd -fa Gothic-16" in Red Hat
> Linux 9.

No, they're not glyph indices but Unicode code points of characters for which
Mozilla can't find glyphs.
BTW, I'm on RH9, but can't reproduce it (which is not so surprising because you
may have a different fontconf configuration along with a different set of fonts
installed). What's the output of 'fc-list Gothic'? 

Severity: normal → minor
% fc-list Gothic
Gothic:style=Bold
Gothic:style=Italic
Gothic:style=Regular
Gothic:style=Bold Italic
%
Thanks. Can you try 'fc-list Gothic file style lang'? 
$ fc-list Gothic file style lang
/usr/share/fonts/ja/misc/shnm9x18a.pcf.gz: :style=Regular:lang=aa|ast|ay|bi|br|c
h|da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc
|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm8x16a.pcf.gz: :style=Regular:lang=aa|ast|ay|bi|br|c
h|da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc
|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm9x18ai.pcf.gz: :style=Italic:lang=aa|ast|ay|bi|br|c
h|da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc
|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm6x12ai.pcf.gz: :style=Italic:lang=aa|ast|ay|bi|br|c
h|da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc
|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm7x14a.pcf.gz: :style=Regular:lang=aa|ast|ay|bi|br|c
h|da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc
|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm9x18ab.pcf.gz: :style=Bold:lang=aa|ast|ay|bi|br|ch|
da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc|o
m|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm6x12ab.pcf.gz: :style=Bold:lang=aa|ast|ay|bi|br|ch|
da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc|o
m|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm8x16ai.pcf.gz: :style=Italic:lang=aa|ast|ay|bi|br|c
h|da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc
|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm8x16abi.pcf.gz: :style=Bold Italic:lang=aa|ast|ay|b
i|br|ch|da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn
|no|oc|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm8x16ab.pcf.gz: :style=Bold:lang=aa|ast|ay|bi|br|ch|
da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc|o
m|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm6x12abi.pcf.gz: :style=Bold Italic:lang=aa|ast|ay|b
i|br|ch|da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn
|no|oc|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm9x18abi.pcf.gz: :style=Bold Italic:lang=aa|ast|ay|b
i|br|ch|da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn
|no|oc|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
/usr/share/fonts/ja/misc/shnm6x12a.pcf.gz: :style=Regular:lang=aa|ast|ay|bi|br|c
h|da|de|en|es|eu|fj|fo|fur|fy|gd|gl|gv|ho|ia|id|ie|io|is|it|lb|mg|nb|nl|nn|no|oc
|om|pt|rm|sma|smj|so|sq|sv|sw|tn|ts|vo|wa|xh|yap|zu
Koike-san cannot reproduce this bug (commented in bugzilla-jp). And the original report in bugzilla-jp was already marked to WFM.

-> WFM
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.