Bug 20783

Summary: [GTK] @font-face fonts do not have complex text support
Product: WebKit Reporter: Khaled Hosny <dr.khaled.hosny>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: alp, d-r, eric, janousek.jiri, koansin.tan, mitz, mrobinson
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Bug Depends on: 18552, 92098    
Bug Blocks:    
Description Flags
Screenshot of the font installed
Screenshot of the font unsing @font-face none

Description Khaled Hosny 2008-09-11 08:16:01 PDT
Using r36309, Arabic text got rendered with the specified font (thanks to fixing #16942), but when I use @font-face CSS property (downloadable fonts) only Latin part get rendered using the specified font, while Arabic is rendered using one of my system fonts.
Comment 1 Khaled Hosny 2008-09-11 08:20:39 PDT
Created attachment 23347 [details]

The web-font.html and installed-font.html should be rendered the same (of course you need to install the font for the later to work)
Comment 2 Khaled Hosny 2008-09-11 08:23:25 PDT
Created attachment 23348 [details]
Screenshot of the font installed
Comment 3 Khaled Hosny 2008-09-11 08:25:10 PDT
Created attachment 23349 [details]
Screenshot of the font unsing @font-face

Notice that Latin text is rendered the same in both screenshots.
Comment 4 Alp Toker 2008-09-23 20:48:22 PDT
Confirmed. This is blocked by Pango: http://bugzilla.gnome.org/show_bug.cgi?id=347237

Downgrading bug to P3 because there's nothing we can do about it until Pango is fixed and the text is still legible. Please let us know when the fix gets into Pango so we can support this!
Comment 5 Khaled Hosny 2008-10-17 05:27:23 PDT
I'm not sure if this is relevant, but you might be interested in this comment http://bugzilla.gnome.org/show_bug.cgi?id=346942#c14
Comment 6 Martin Robinson 2010-10-21 16:41:26 PDT
This no longer appears to be an issue. The @font-face font is used (with the FreeType backend). Unfortunately, since we do not have complex text support for @font-face fonts yet, the render is totally incorrect. The attached test cases are very nice and I'd like to preserve them, so I'll update the title of this issue to reflect the current state of things.
Comment 7 Eric Seidel (no email) 2012-10-27 00:34:01 PDT
Is this covered by bug 92098?
Comment 8 Martin Robinson 2012-10-27 11:21:14 PDT
Yeah, switching to HarfBuzzNG will fix this issue.
Comment 9 Martin Robinson 2012-10-27 12:49:39 PDT
*** Bug 72837 has been marked as a duplicate of this bug. ***
Comment 10 Martin Robinson 2012-12-11 01:42:32 PST

*** This bug has been marked as a duplicate of bug 92098 ***