Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.3
-
Fix Version/s: 5.0.4
-
Component/s: Font Engine
-
Labels:None
-
Environment:any
-
Salesforce Case Reference:
Description
The client has provided a sample file that has no embedded fonts. They also included a font file that is installed on the clients machines. When rendered the font in question has been horizontally scaled with values defined in the fonts "width" entry in the PDF notation.
The widths defined in the "width" entry are quite different then the widths defined in the font program. The specification says that the font width should match the width entry. I have a potential fix that only applies the width entry if there isn't a fontDescriptor as there is some mention in the spec that the width should be ignored if the font descriptor is present. Will need to run this through QA to know for sure.
The widths defined in the "width" entry are quite different then the widths defined in the font program. The specification says that the font width should match the width entry. I have a potential fix that only applies the width entry if there isn't a fontDescriptor as there is some mention in the spec that the width should be ignored if the font descriptor is present. Will need to run this through QA to know for sure.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Finally based QA with a fix that excludes OpenType fonts from having PDF width values applied. Fixed check in on 5.0.1 branch and trunk.