[jira] [Commented] (FOP-3089) Corrupt font display in iOS when using PDF-Images with merge-fonts=true

2022-08-19 Thread Simon Steiner (Jira)


[ 
https://issues.apache.org/jira/browse/FOP-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17581852#comment-17581852
 ] 

Simon Steiner commented on FOP-3089:


You can see a list at:
https://issues.apache.org/jira/issues/?jql=project%20%3D%20FOP%20AND%20fixVersion%20%3D%20trunk

The releases happen in January recently, but there is no fixed timeline.

> Corrupt font display in iOS when using PDF-Images with merge-fonts=true
> ---
>
> Key: FOP-3089
> URL: https://issues.apache.org/jira/browse/FOP-3089
> Project: FOP
>  Issue Type: Bug
> Environment: Both Windows and Linux (CentOS)
>Reporter: Mark Gibson 
>Assignee: Simon Steiner
>Priority: Major
> Fix For: trunk
>
> Attachments: CorrupPdfViewComparison.png, fop-mergefonts.xml, 
> fop.xml, image1.pdf, pdf-images-mergefonts.pdf, pdf-images.fo, pdf-images.pdf
>
>
> Using PDF-Images to inject a PDF as an image (fo:external-graphic).  When 
> setting merge-fonts=true in fop config,  there are visual issues with the 
> fonts in the embedded image when viewing the rendered PDF on in-browser 
> viewers on iOS.
> All tests have been carried out using FOP 2.7.  When merge-fonts=false, the 
> PDF displays fine in all known browsers.
> Tested viewing on latest iPadOS 15.6, and iOS 15.6, latest browser versions 
> for Safari, Chrome, and DuckDuckGo.
> Viewing the rendered PDF on windows browsers, the PDF displays fine.  
> Ironically, when viewing the PDF on the Adobe Acrobat app for iOS, it 
> displays fine.  Apologies, I don't have access to Linux to test browsers 
> there.
> I've attached some files for reproduction:
>  * *{{pdf-images.fo}}*
>  * *{{image1.pdf}}* - image being embedded
>  * *{{fop.xml}}* - fop config with merge-fonts=false
>  * *{{fop-mergefonts.xml}}* - fop config with merge-fonts=true
>  * *{{pdf-images.pdf}}* - PDF rendered with merge-fonts=false
>  * *{{pdf-images-mergefonts.pdf}}* - PDF rendered with merge-fonts=true
> I also attached a screenshot of the two PDFs as viewed on an iOS device.
> Fonts (calibri.ttf, calibrib.ttf) can be provided on request.
> Commands to render the two PDFs are as follows:
>  * {{…/fop.bat -fo pdf-images.fo -c fop.xml -pdf pdf-images.pdf}}
>  * {{…/fop.bat -fo pdf-images.fo -c fop-mergefonts.xml -pdf 
> pdf-images-mergefonts.pdf}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (FOP-3089) Corrupt font display in iOS when using PDF-Images with merge-fonts=true

2022-08-19 Thread Mark Gibson (Jira)


[ 
https://issues.apache.org/jira/browse/FOP-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17581847#comment-17581847
 ] 

Mark Gibson  commented on FOP-3089:
---

This is fantastic!  Thanks Simon.

 

To aid our planning and help us choose our next step, do you have any feel for 
when 2.8 may get released?  If not, we'll look to use Trunk.  Where would I 
look for a list of changes since 2.7?

 

Thanks

Mark

> Corrupt font display in iOS when using PDF-Images with merge-fonts=true
> ---
>
> Key: FOP-3089
> URL: https://issues.apache.org/jira/browse/FOP-3089
> Project: FOP
>  Issue Type: Bug
> Environment: Both Windows and Linux (CentOS)
>Reporter: Mark Gibson 
>Assignee: Simon Steiner
>Priority: Major
> Fix For: trunk
>
> Attachments: CorrupPdfViewComparison.png, fop-mergefonts.xml, 
> fop.xml, image1.pdf, pdf-images-mergefonts.pdf, pdf-images.fo, pdf-images.pdf
>
>
> Using PDF-Images to inject a PDF as an image (fo:external-graphic).  When 
> setting merge-fonts=true in fop config,  there are visual issues with the 
> fonts in the embedded image when viewing the rendered PDF on in-browser 
> viewers on iOS.
> All tests have been carried out using FOP 2.7.  When merge-fonts=false, the 
> PDF displays fine in all known browsers.
> Tested viewing on latest iPadOS 15.6, and iOS 15.6, latest browser versions 
> for Safari, Chrome, and DuckDuckGo.
> Viewing the rendered PDF on windows browsers, the PDF displays fine.  
> Ironically, when viewing the PDF on the Adobe Acrobat app for iOS, it 
> displays fine.  Apologies, I don't have access to Linux to test browsers 
> there.
> I've attached some files for reproduction:
>  * *{{pdf-images.fo}}*
>  * *{{image1.pdf}}* - image being embedded
>  * *{{fop.xml}}* - fop config with merge-fonts=false
>  * *{{fop-mergefonts.xml}}* - fop config with merge-fonts=true
>  * *{{pdf-images.pdf}}* - PDF rendered with merge-fonts=false
>  * *{{pdf-images-mergefonts.pdf}}* - PDF rendered with merge-fonts=true
> I also attached a screenshot of the two PDFs as viewed on an iOS device.
> Fonts (calibri.ttf, calibrib.ttf) can be provided on request.
> Commands to render the two PDFs are as follows:
>  * {{…/fop.bat -fo pdf-images.fo -c fop.xml -pdf pdf-images.pdf}}
>  * {{…/fop.bat -fo pdf-images.fo -c fop-mergefonts.xml -pdf 
> pdf-images-mergefonts.pdf}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (FOP-3089) Corrupt font display in iOS when using PDF-Images with merge-fonts=true

2022-08-19 Thread Simon Steiner (Jira)


 [ 
https://issues.apache.org/jira/browse/FOP-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Steiner resolved FOP-3089.

Fix Version/s: trunk
   Resolution: Fixed

http://svn.apache.org/viewvc?view=revision=1903561

> Corrupt font display in iOS when using PDF-Images with merge-fonts=true
> ---
>
> Key: FOP-3089
> URL: https://issues.apache.org/jira/browse/FOP-3089
> Project: FOP
>  Issue Type: Bug
> Environment: Both Windows and Linux (CentOS)
>Reporter: Mark Gibson 
>Assignee: Simon Steiner
>Priority: Major
> Fix For: trunk
>
> Attachments: CorrupPdfViewComparison.png, fop-mergefonts.xml, 
> fop.xml, image1.pdf, pdf-images-mergefonts.pdf, pdf-images.fo, pdf-images.pdf
>
>
> Using PDF-Images to inject a PDF as an image (fo:external-graphic).  When 
> setting merge-fonts=true in fop config,  there are visual issues with the 
> fonts in the embedded image when viewing the rendered PDF on in-browser 
> viewers on iOS.
> All tests have been carried out using FOP 2.7.  When merge-fonts=false, the 
> PDF displays fine in all known browsers.
> Tested viewing on latest iPadOS 15.6, and iOS 15.6, latest browser versions 
> for Safari, Chrome, and DuckDuckGo.
> Viewing the rendered PDF on windows browsers, the PDF displays fine.  
> Ironically, when viewing the PDF on the Adobe Acrobat app for iOS, it 
> displays fine.  Apologies, I don't have access to Linux to test browsers 
> there.
> I've attached some files for reproduction:
>  * *{{pdf-images.fo}}*
>  * *{{image1.pdf}}* - image being embedded
>  * *{{fop.xml}}* - fop config with merge-fonts=false
>  * *{{fop-mergefonts.xml}}* - fop config with merge-fonts=true
>  * *{{pdf-images.pdf}}* - PDF rendered with merge-fonts=false
>  * *{{pdf-images-mergefonts.pdf}}* - PDF rendered with merge-fonts=true
> I also attached a screenshot of the two PDFs as viewed on an iOS device.
> Fonts (calibri.ttf, calibrib.ttf) can be provided on request.
> Commands to render the two PDFs are as follows:
>  * {{…/fop.bat -fo pdf-images.fo -c fop.xml -pdf pdf-images.pdf}}
>  * {{…/fop.bat -fo pdf-images.fo -c fop-mergefonts.xml -pdf 
> pdf-images-mergefonts.pdf}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)