Vote #76047
完了PDF is broken on iOS
0%
説明
When viewing a pdf which was exported in redmine on an iOS device (iPhone / iPad) it's dimensions are messed up and scrolling (in safari) is not possible.
Windows:
!pdfOnWindows.png!
iOS:
!pdfOnIos.png!
Can't upload the pdf (as it's too large), but here's a link: https://dl.dropboxusercontent.com/u/46574377/Test.pdf
journals
I have created issue.
https://github.com/naitoh/rbpdf/issues/10
--------------------------------------------------------------------------------
Replaced the installed rbpdf.rb with the new one and layout looks good on iOS now - although zooming in (with pinch-to-zoom) is still not possible when viewing the pdf in safari.
--------------------------------------------------------------------------------
Marcel Müller wrote:
> although zooming in (with pinch-to-zoom) is still not possible when viewing the pdf in safari.
What does 'with pinch-to-zoom' mean?
I think looks good pdf in safari on iOS 8.1.3 by replaced rbpdf.rb.
--------------------------------------------------------------------------------
Marcel Müller wrote:
> Can't upload the pdf (as it's too large), but here's a link: https://dl.dropboxusercontent.com/u/46574377/Test.pdf
I don't know it is related or not, it seems this pdf is made by #19017 modification.
--------------------------------------------------------------------------------
Sorry, missed your replies!
I reverted the modification made in #19017 and rechecked the issue, it's still there. After further investigation I noticed that this is related to a theme I'm using which doesn't allow zooming the viewport (something like @user-scalable=no@ in a viewport-meta) and safari on iOS preserves this configuration for displaying the pdf after clicking the "PDF-Link". If I open the URL directly, everything is working fine (as well as when using the standard theme). Sorry for the confusion here.
What I'm still wondering: Is it correct, that a wiki page with such few information (see first post) generates a PDF file with > 800KB?
Thanks for your help!
--------------------------------------------------------------------------------
Can we close this issue?
Marcel Müller wrote:
> What I'm still wondering: Is it correct, that a wiki page with such few information (see first post) generates a PDF file with > 800KB?
Because of embedded fonts.
--------------------------------------------------------------------------------
The issue itself is fixed with the rbpdf 1.18.6, but this version wasn't released yet. Therefore I'm not sure if this issue should be open until 1.18.6 is released or can be closed.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This problem fixed by rbpdf 1.18.6.
please bundle update.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,20142,Update Gemfile to require rbpdf ~>1.18.6