Closed Bug 88922 Opened 25 years ago Closed 25 years ago

rendering of non-KS X 1001 Hangul syllables should omit leading 0xADF4

Categories

(Core :: Internationalization, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: jshin, Assigned: jshin)

References

()

Details

(Keywords: intl)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.19-5mdksecure i586; en-US; rv:0.9.1) Gecko/20010607 BuildID: 20010607 The fix for bug 9961 enabled rendering of 8822 syllables (not encoded in pre-composed form in KS X 1001(formerly KS C 5601 and refered to as such in Mozilla source) and thus not available in font with the encoding ksc5601.1987-0) as a sequence of 4 characters (8 octets) with the lead character 0xADF4(in EUC-KR encoding. in ksc5601.1987-0 encoding - KS X 1001 GL encoding -, it's 0x2D74). When converting to KS X 1001-based-encoding (such as EUC-KR), this lead character should be included. However, for rendering on the screen(and in print), this lead character is redundant and takes unncessary space. Therefore, UnicodeToKSC5601 converter (used for Unicode -> ksc5601.1987-0 font encoding) should produce 6byte sequence (omitting the lead character at 0x2D74) while UnicodeToEUCKR converter should remain as it is now. This can be achieved by modifying intl/uconv/src/ugen.c a little bit. The patch will be attached to a meta-bug I'm going to file (which will deal with all Korean converter related bugs/enhancement requests). Reproducible: Always Steps to Reproduce: 1.Fire up Mozilla in Unix/X11 2.Set fonts for Korean to one of Daewoo fonts ( -daewoo-mincho-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0) in all 5 styles (serif, sans-serif, monospace, fixed, fantastic) 3. View the URL above Actual Results: Each Hangul syllable (without pre-composed glyph in ksc5601.1987-0 font) is rendered as 4 characters (1 'blank' glyph for 0x2D74 followed by three glyphs for Hangul alphabets, initial consonant, medial vowel, and final consonant). Expected Results: The leading 'blank' glyph is not necessary for rendering purpose so that they should be omitted. Instead of 4-character sequence, 3-character sequence should be used. A possible objection to this fix/enhancement is that uCnGAlways8BytesGLComposedHangul() (modified and renamed as uCnGAlways6BytesGLDecomposedHangul()) will be also used for not-yet-implemented UnicodeToISO2022KR converter. However, Mozilla will never have to generate ISO-2022-KR output (although it needs to have ISO2022KRToUnicode converter) so that this cannot be of concern. Moreover, in very very unlikely case of having to produce ISO-2022-KR in the output stream, we can add another scan function and charset category for ISO-2022-KR generation.
Reassign to ftang.
Assignee: nhotta → ftang
Keywords: intl
*** Bug 88921 has been marked as a duplicate of this bug. ***
Depends on: 88944
Switching QA contact to teruko@netscape.com for now.
QA Contact: andreasb → teruko
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
reassign to jshin@pantheon.yale.edu is it done? if so, mark it closed if not, propose patch and reassign back to me.
Assignee: ftang → jshin
Status: ASSIGNED → NEW
Yes, it's fixed by 88944. How can I change status? Bugzilla interface has changed and there's no choice available for Status and Resolution fields. Could you close it?
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Sorry I logged in as jshin@mailaps.org and that's why I couldn't change status. Now I'm gonna mark it as closed/resolved.
Verified as fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.