[Webkit-unassigned] [Bug 20600] New: css @font-face does not process SFNT bitmap ttf properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 2 09:06:01 PDT 2008


           Summary: css @font-face does not process SFNT bitmap ttf properly
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
               URL: http://wenq.org/unihan/kangxi_zh2.pl
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fangqq at gmail.com

I implemented an CSS @font-face rule in the following web page:

where the css file is located at

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.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list