Summary: | FE characters draw as white box (Tofu) after MLang's HFONT cache is full | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | 808caaa4.8ce9.9cd6c799e9f6 | ||||||||
Component: | Text | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | ap, aroben, hyatt | ||||||||
Priority: | P1 | Keywords: | InRadar, PlatformOnly | ||||||||
Version: | 523.x (Safari 3) | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Attachments: |
|
Description
808caaa4.8ce9.9cd6c799e9f6
2007-07-24 02:33:36 PDT
Created attachment 15657 [details]
Issue reproduction html, filling mlang's cache at one go
Created attachment 15658 [details]
Resulting screenshot.
Created attachment 15659 [details]
Reference, screenshots, with 'hacked' mlang.dll, see comments
Experimental/reference only.
With mlang.dll, 'hacked' as internal cache slots 16 to 128,
resulting is without Tofus (white cubes).
Online reproduction. 1. With google searchbox, search 'アップル' 2. Find and open http://ja.wikipedia.org/wiki/アップルコンピュータ . 3. White boxed starts appeared at left, but main contents drawed collectly. 4. Restart safari process. 5. Reopen http://ja.wikipedia.org/wiki/アップルコンピュータ . 6. This time whole texts drawed collectly. With #3 hacks (to mlang) experimentally, whole drawed OK at Step3. 'アップル': Apple, in Japanese Katakana form. 'アップルコンピュータ': Apple Computer, in Japanese Katakana form. With both beta 3.0.2 and nightly r24441, I'm getting similar, but somewhat different results when opening the attached test case: all characters are displayed as white boxes. Same on ja.wikipedia.org (Roman and Cyrillic characters are displayed correctly). Maybe that's because I'm using an English version of Windows XP. Comment on attachment 15657 [details] Issue reproduction html, filling mlang's cache at one go ><meta http-equiv="content-type" content="Shift_JIS"> For future reference, this should be: <meta http-equiv="content-type" content="text/html; charset=Shift_JIS"> However, this only affects loading the file locally (from disk). |