[Webkit-unassigned] [Bug 41091] [GTK] Fails to apply web fonts in some cases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 4 03:28:41 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41091





--- Comment #3 from Andrei Bucur <abucur at adobe.com>  2010-09-04 03:28:41 PST ---
Maybe we will need to open a new bug but there is a problem with the patch submitted at https://bugs.webkit.org/show_bug.cgi?id=38758.
There is a special case where the web fonts are not loaded properly (I will soon attach an example).
Imagine there is a @font-face rule like this one: @font-face { font-family: "Test Font"; src: local(X), url(Y); } with X invalid and Y valid. When trying to use the font with a rule like this: body { font-family: "Test Font", sans; font-size: 50 }. The result is that the font used is not the one specified at Y, which is wrong. The problem is the patch looks at the font description structure and sees that the font has a type different from NoFamily so it asks fontconfig to retrieve a font that matches X and fontconfig always returns something non null.

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



More information about the webkit-unassigned mailing list