Closed Bug 17856 Opened 27 years ago Closed 26 years ago

Linux: Trad Chinese (e.g. Big5) pages do not display as Chinese with certain fonts

Categories

(Core :: Internationalization, defect, P3)

Other
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: momoi, Assigned: erik)

References

()

Details

(Whiteboard: have fix; will check in 12/2)

** Observed with 11/2/99 Linux build ** We seem to have a problem displaying Traditional Chinese pages with some Big5 fonts. In my limited tries, I have not found a font that works so far for me. I have two fonts w/ 16 & 24 pts which are meant for Big5: -eten-taipei-medium-r-normal--16-150-75-75-c-160-big5.et-0 -eten-taipei-medium-r-normal--24-230-75-75-c-240-big5.et-0 These font names show up when you do "xlsfonts | grep big5" and can be used with Communicator 4.7-rtm for Linux to display the above Netscape Taiwan Home page correctly. The fonts.dir and fonts.alias have been updated and font path has been "rehashed" and these fonts work for 4.7 Linux. With the 11/2 Mozilla build, however, I am not able to display the same page correctly. Instead I get Latin font display.So far I have not found straight big5 fonts without the "eten-" prefix or "-et" suffix. But at any rate, should we not be able to use fonts which can be used for 4.7 also for Mozilla? In addition to usual places for Chinese fonts (ftp://ftp.ifcss.org), you can find some collected fonts for Chinese internally on kaze. If you need instructions for installing these fonts, just drop me a note, I will send one to you.
By the way, GB2312 pages display OK (with other fonts, of course).
I'm assuming here that Big5 (Trad Chinese) display on Linux is not broken generally. But I cannot be sure about this latter status without other people confirming.
Summary: Linux: Trad Chinese (e.g. Big5) display does not display as Chinese with certain fonts → Linux: Trad Chinese (e.g. Big5) pages display does not display as Chinese with certain fonts
Summary: Linux: Trad Chinese (e.g. Big5) pages display does not display as Chinese with certain fonts → Linux: Trad Chinese (e.g. Big5) pages do not display as Chinese with certain fonts
We don't have "big5.et-0" in our table yet. It's a simple fix in mozilla/gfx/src/gtk/nsFontMetricsGTK.cpp.
This is exactly what I saw during smoke testing on 11/2/99. Trad Chinese stuff would only display correctly at http://www.unicode.org/unicode/iuc10/x-ncr.html (for example), but not at http://www.chinatimes.com.tw/.
Assignee: ftang → erik
reassign to erik.
This seems fixed in the 1999110309 build on Linux. Kat?
Status: NEW → ASSIGNED
Target Milestone: M12
Chris, this is very interesting. Yes, the display seems to be back. And since you don't have Big5 font per se on your system but the standard X font distributions (which include GB fonts but not Big5 fonts), I have to assume that fallback is NOW working. It also turns out that display was working on the 10/29/99 build. This could be due to a code change which occurred during the last day. (Maybe ftang's backed out code?) Erik, as I said, the standard X distribution does not seem to include Big5 fonts. Yet display was OK except for yesterday's build. Can we assume that GB fonts (or JPN fonts) contain these Trad Chinese glyphs? I'll leave this bug open for the font name addition but I sure would like to know the cause of this one-day problem and why for only Big5 or EUC-TW but not for GB2312.
Yes, Kat, as you and I just discussed in my cube, the existing standard X fonts for Japanese and Chinese GB already contain some of the traditional Chinese glyphs, so they will show up. This bug should be left open to address the table issue I mentioned above.
Erik, If this is simple, can we get it into M12?
Sure.
Whiteboard: have fix; will check in 12/2
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
I verified this in121612 Linux build.
You need to log in before you can comment on or make changes to this bug.