Bug 50668

Summary: Bopomofo should be part of CJK Ideographs in WebCore/platform/graphics/Font.cpp
Product: WebKit Reporter: Koan-Sin Tan <koansin.tan>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, ap, eric, mitz, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 50365, 50619    
Attachments:
Description Flags
let Bopomofo, Bopomofo Extended, and tone marks be part of CJK
none
a test page to show this bug
none
a snapshot picture to show what's wrong
none
Let Bopomofo, Bopomofo Extended, and tone marks be part of CJK none

Description Koan-Sin Tan 2010-12-07 22:50:50 PST
Bopomofo, which mainly used in Taiwan for educational purposes, is used to note the pronunciation of Han glyphs. It should be considered part of CJK Ideographs
Comment 1 Koan-Sin Tan 2010-12-07 23:04:27 PST
Created attachment 75875 [details]
let Bopomofo, Bopomofo Extended, and tone marks be part of CJK
Comment 2 Alexey Proskuryakov 2010-12-08 14:03:37 PST
Does this have any observable effect? If so, this needs a test case - and otherwise, this change may not need to be made.
Comment 3 Koan-Sin Tan 2010-12-08 17:18:41 PST
(In reply to comment #2)
> Does this have any observable effect? If so, this needs a test case - and otherwise, this change may not need to be made.

Yes, pretty observable when you got certain "broken" fonts. I have made a test case, but the problem is to show the test case you need Microsoft copyrighted fonts, such as DFKai-SB [1].  I cannot find redistributable fonts which have the same problem yet.

[1] http://www.microsoft.com/typography/fonts/font.aspx?FMID=838
Comment 4 Koan-Sin Tan 2010-12-08 17:36:51 PST
Created attachment 75992 [details]
a test page to show this bug 

To see this page properly, you need 'resources/kaiu.ttf', which is not redistributable. However, it came with every Windows system :-)
Comment 5 Koan-Sin Tan 2010-12-08 17:44:30 PST
Created attachment 75994 [details]
a snapshot picture to show what's wrong

those Bopomofo glyphs in red circles should be rotated 90 degrees counterclockwise.
Comment 6 Alexey Proskuryakov 2010-12-08 19:13:23 PST
> I have made a test case, but the problem is to show the test case you need Microsoft copyrighted fonts, such as DFKai-SB [1].  I cannot find redistributable fonts which have the same problem yet.

That's a a good explanation - it should go into ChangeLog, as the patch won't successfully land with OOPS.

+    // 0x2C7 Caron, Mandrin Chinese 3rd Tone

Typo: should be Mandarin.

Note that I do not intend to do final review on  this patch - perhaps Dan (already CC'ed) would like to take a look.
Comment 7 Koan-Sin Tan 2010-12-08 20:04:38 PST
Created attachment 76007 [details]
Let Bopomofo, Bopomofo Extended, and tone marks be part of CJK

fix typo and add description of test case as suggested by Alexey
Comment 8 Eric Seidel (no email) 2010-12-10 00:11:29 PST
Comment on attachment 76007 [details]
Let Bopomofo, Bopomofo Extended, and tone marks be part of CJK

OK.
Comment 9 WebKit Review Bot 2010-12-10 02:37:04 PST
Comment on attachment 76007 [details]
Let Bopomofo, Bopomofo Extended, and tone marks be part of CJK

Clearing flags on attachment: 76007

Committed r73706: <http://trac.webkit.org/changeset/73706>
Comment 10 WebKit Review Bot 2010-12-10 02:37:09 PST
All reviewed patches have been landed.  Closing bug.
Comment 11 WebKit Review Bot 2010-12-10 11:45:54 PST
http://trac.webkit.org/changeset/73706 might have broken GTK Linux 32-bit Debug