[Poppler-bugs] [Bug 49826] New: GlobalParams::findSystemFontFile needs to include substitute name in font cache
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat May 12 00:13:06 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=49826
Bug #: 49826
Summary: GlobalParams::findSystemFontFile needs to include
substitute name in font cache
Classification: Unclassified
Product: poppler
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: ajohnson at redneon.com
Created attachment 61475
--> https://bugs.freedesktop.org/attachment.cgi?id=61475
include substitute font name in sys font cache
While making evince use the new API for getting the substitute name I found a
bug in GlobalParams::findSystemFontFile. If findSystemFontFile is called with
substituteFontName not NULL for a font already cached in the SysFontInfo cache,
the substitute name is not returned. The attached patch fixes this by ensuring
the substitute name is always determined for new fonts and stored in the cache.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list