libfontconfig from Gnome3 staging PPA breaks CSS webfonts in firefox
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fontconfig |
Invalid
|
Medium
|
|||
Ubuntu GNOME |
Fix Released
|
Low
|
Unassigned | ||
fontconfig (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When i install he Gnome3 staging PPA the webfont support in Firefox breaks. I only see fallback fonts, but not the correct webfonts downloaded from the server. this happens everywhere.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libpango1.0-0 1.33.9-
ProcVersionSign
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Wed May 8 23:50:37 2013
InstallationDate: Installed on 2013-02-01 (96 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: pango1.0
UpgradeStatus: Upgraded to raring on 2013-04-22 (15 days ago)
Related branches
Changed in fontconfig: | |
importance: | Unknown → Medium |
status: | Unknown → In Progress |
Changed in ubuntu-gnome: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in ubuntu-gnome: | |
status: | Confirmed → Fix Released |
Changed in fontconfig: | |
status: | In Progress → Invalid |
firefox is calling FcFreeTypeQueryFace for webfonts like this:
pattern =
(* sQueryFacePtr) (mFace, gfxFontconfigUt ils::ToFcChar8( ""), 0, NULL);
This fails now because we require the valid filename to generate hash value and if not, simply fails because the matcher behaves wrong if some objects are available or unavailable in the cache.
One idea to support this case is to define constant value and add an invalid hash to the cache?
FWIW FcPatternDel should warn if one is going to delete objects which is in the matcher perhaps.