Bug 49758

Summary: determine if font is bold/italic based on font descriptor
Product: poppler Reporter: Igor Slepchin <igor.redhat>
Component: pdftohtmlAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: the patch

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.