[Webkit-unassigned] [Bug 37984] New: WebKit freetype backend doesn't support "locl" tables
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 22 03:09:26 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=37984
Summary: WebKit freetype backend doesn't support "locl" tables
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: danilo at kvota.net
Created an attachment (id=54046)
--> (https://bugs.webkit.org/attachment.cgi?id=54046)
Serbian and regular cursive forms for some Cyrillic letters
Compiling WebKitGtk with the default freetype backend results in "locl" tables
in opentype fonts not being used. Compiling it with the pango backend instead
makes it work.
Example HTML that demonstrates the problem is the following: compare rendering
in Firefox and Epiphany (when Serbian locale is active on your system, eg. set
LC_ALL=sr_RS.UTF-8 in an env where you start firefox/epiphany from):
<p style="font-style:italic; font-family:serif; font-size: 300%;"
lang="sr">бгдпт</p>
To clearly see what differences are expected, you can test it directly with
pango tools:
$ pango-view --font="DejaVu Serif Italic 64" --text "бгдпт" --language=sr
$ pango-view --font="DejaVu Serif Italic 64" --text "бгдпт" --language=ru
(output of these attached for reference)
DejaVu Serif is one of the fonts that has such tables for Romanian and Serbian
language. On Ubuntu (most likely Debian as well), it's in ttf-dejavu-extras
package, and on Fedora I hear it's in dejavu-serif-fonts-2.30. Upstream is
http://dejavu-fonts.org
Originally filed as
https://bugs.launchpad.net/ubuntu/+source/webkit/+bug/560795 thinking we should
just change the default font backend to pango, but Xan told me there are a lot
of bugs in the pango layout that it'd be better to fix the freetype backend.
--
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