WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
20600
css @font-face does not process SFNT bitmap ttf properly
https://bugs.webkit.org/show_bug.cgi?id=20600
Summary
css @font-face does not process SFNT bitmap ttf properly
Qianqian Fang
Reported
2008-09-02 09:06:01 PDT
I implemented an CSS @font-face rule in the following web page:
http://wenq.org/unihan/kangxi_zh2.pl
where the css file is located at
http://wenq.org/webfont/wqy-bsong-13px.css
It specified a truetype font (wqy-bsong-13px.ttf) to display Chinese characters. This truetype font is an SFNT wrapper of a single-strike bitmap font (at 10pt), i.e. a truetype font that has only embedded bitmaps. I created this font using FontForge, and it works fine with FreeType2, and can be properly opened in various font editing software (such as FontCreator and Fontforge). Expected results: all Chinese characters are displayed by the bitmap glyphs from this SFNT ttf font. Actual results: all Chinese characters are blank, seems webkit does not recognize the embedded bitmaps and try to use the blank vector glyphs instead.
Attachments
Add attachment
proposed patch, testcase, etc.
Qianqian Fang
Comment 1
2008-09-02 09:12:14 PDT
one more comment on my motivation: as all of you know, Chinese (or CJK) fonts are huge, they can easily be over 10M in sizes, making it more difficult to embed in web pages. However, high quality Chinese screen display traditionally is achieved by embedding hand-tuned bitmaps. Creating a small truetype that uses only the hand-tuned bitmap seems to be a highly desired way of making Chinese (or CJK) webpages portable and viewed universally.
Luke Macpherson
Comment 2
2012-03-14 20:44:13 PDT
Bug appears to be obsolete. Marking as wontfix.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug