Bug 53868

Summary: [PATCH] font embedding-mode="full" in PDF
Product: Fop - Now in Jira Reporter: Luis Bernardo <lmpmbernardo>
Component: fontsAssignee: fop-dev
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: all   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: patch
an example of a PDF with embedding-mode="full"
the current output

Description Luis Bernardo 2012-09-13 13:44:28 UTC
This patch adds support for embedding-mode="full" in PDF output. Note: in the current code the font embedding mode is always treated as subset (independently of the value of the attribute embedding-mode) unless the font is referenced.
Comment 1 Luis Bernardo 2012-09-13 13:45:13 UTC
Created attachment 29371 [details]
patch
Comment 2 Luis Bernardo 2012-09-13 13:59:36 UTC
Created attachment 29374 [details]
an example of a PDF with embedding-mode="full"

the output after the patch is applied
Comment 3 Luis Bernardo 2012-09-13 14:00:27 UTC
Created attachment 29375 [details]
the current output

the output is subset embedded with the current code
Comment 4 Mehdi Houshmand 2012-09-14 09:18:50 UTC
Committed to r1384690. I made a few changes, just to do with converting int <-> Integer, it can be done with autoboxing, nothing big but thanks for the good work. If you disagree with any changes I made, let me know.