Closed Bug 66744 Opened 25 years ago Closed 24 years ago

missing glyphs when displaying GBK characters with GB2312 font

Categories

(Core :: Internationalization, defect)

All
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 71197
mozilla0.9

People

(Reporter: bstell, Assigned: ftang)

References

()

Details

Attachments

(1 file)

When a GB2312 font is used to display a GBK page some of the glyphs are blank. We believe that GB2312 is missing these characters so it will never try to display those characters (thus no blank glyphs). However when a GBK page is displayed with a GB2312 font the font switching system should note that GB2312 is missing those characters and get glyphs from another font (most likely a GBK font). We suspect that the fill_info for GB2312 needs to zero out the non-existant characters/glyphs and then the font substitution system will work.
Katakai-san, will this bug be a show-stopper?
Status: NEW → ASSIGNED
Changed QA contact to ylong@netscape.com.
QA Contact: teruko → ylong
Target Milestone: --- → mozilla0.8
bstell. I don't understand this bug. GBK is a super set of GB2312. If the user do not have GBK font, it definitely won't display those characters which only encoded in GBK. I will mark this bug invalid.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Mark as Verified according the comments of Frank Tang.
Status: RESOLVED → VERIFIED
Frank, The issue here is that if a user selects a gb2312 font for gbk our code should fill in the missing glyphs from other fonts not leave them blank. The reason we don't do this is that the gb2312 glyph info indicated glyphs that are not the. Thus we don't do the fill in.
Status: VERIFIED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → ASSIGNED
I see. Move this to moz0.9
Target Milestone: mozilla0.8 → mozilla0.9
We need to clean up intl/uconv/ucvcn. The code there is very messy.
Blocks: 60916
Actually I'm also seeing this problem, but I'm not sure it's showstopper so I need to ask to our Asian folks again about this problem. The problem is that gbk-0 fonts are installed only in zh.GBK locales on Solaris, which means when we set to use gtk-0 fonts for zh-CN for workaround, user can not access the fonts in other than zh.GBK locales. zh_CN.EUC locale provides gb2312 fonts but does not provide gbk-0 fonts, vice versa, zh.GBK locale provides both gb2312 and gtk-0 fonts. So I think we have to set gb2312 fonts for zh-CN langGroup on Solaris, which means we can not take workaround that setting to gbk-0 fonts. The additional workaround will be needed for Solaris, which is when user wants to see GBK characters, users have to set gbk-0 fonts in font setting and use zh.GBK locale on Solaris. Brian and Frank, Do you think you will be able to fix this by Netscape 6.5? (=Mozilla 1.0??) Anyway, I'll talk to our L10N folks.
Hi, I understand gb2312 is not enough to display whole glyphs of GBK, right? If so, there is no way to display the glyphs properly at the environment where gbk-0 fonts are not usable such as Solaris zh_CN.EUC locale. When both gb2312 and gbk-0 fonts are available, it seems that fallback works and picks up glyphs from gbk-0 fonts, but there are still some missing glyphs, which are displayed as blank. That's problem, I think. Can bug 69139 fix the problem?
it looks to me that when the gb2312 reports it does not have the glyph the font system starts searching thru all available fonts for a readable glyph. The JIS fonts report they have some of the glyphs. It appears that the JIS fonts indicate more glyphs than they actually have.
when I disable the FillInfo code on the Jis converters the blanks turn into question marks.
this bug had two components for which I opened two separate bugs: Jis 208 may cause blank glyphs (FillInfo includes CP932) http://bugzilla.mozilla.org/show_bug.cgi?id=71197 Solaris XListFonts reports invalid (no glyph) fonts http://bugzilla.mozilla.org/show_bug.cgi?id=71199 marking this bug as a dup *** This bug has been marked as a duplicate of 71197 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → DUPLICATE
Verified dup.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: