Bug 49758 - determine if font is bold/italic based on font descriptor
Summary: determine if font is bold/italic based on font descriptor
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: pdftohtml (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 13:36 UTC by Igor Slepchin
Modified: 2012-05-15 14:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
the patch (3.15 KB, patch)
2012-05-10 13:41 UTC, Igor Slepchin
Details | Splinter Review

Description Igor Slepchin 2012-05-10 13:36:59 UTC
The current pdftohtml code determines if a font is bold or italic based on heuristic that looks for "bold" or "italic"/"oblique" in the font name, which does not work for fonts not named this way. The upcoming patch will look at the properties in the FontDescriptor first.
Comment 1 Igor Slepchin 2012-05-10 13:41:14 UTC
Created attachment 61400 [details] [review]
the patch
Comment 2 Albert Astals Cid 2012-05-15 14:18:26 UTC
Pushed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.