Open Bug 842211 Opened 12 years ago Updated 2 years ago

pango system font entry returned when using fonts defined via src:local @font-face rules

Categories

(Core :: Graphics: Text, defect)

All
Linux
defect

Tracking

()

People

(Reporter: jtd, Unassigned)

References

Details

Follow-up bug from bug 833169. Within gfxFcFont::GetOrMakeFont, when searching for a font matching a given family name and style, the cairo face is looked up using fontconfig and then the font entry is retrieved using the cairo face. This means that local fonts defined via src:local() in @font-face rules are not distinguished from system fonts. To get the correct family name, the code should return the actual gfxLocalFcFontEntry font entry object.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.