PDF not readable in iOS

3 posts, 0 answers
  1. Charlie
    Charlie avatar
    32 posts
    Member since:
    Aug 2010

    Posted 05 Dec 2014 Link to this post

    We use the ReportProcessor to RenderReport directly to PDF.  To minimize the size of the file, we set FontEmbedding to None.
    If that is the case, a file emailed to someone who wants to read it on an iOS device will only see the contents that use the Arial font.
    If I modify the report to only use 2 fonts (Arial and the bold version of Arial) the report grows in size like so:
    Embedding=None => 50kB
    Embedding=Subset (Arial) => 100kB
    Embedding=Subset (Arial and Arial Bold) => 140kB
    Is this expected?
    Is there a better approach?

    I was under the impression that iOS would automatically use the other fonts we were originally using (Verdana, Gill Sans) without having to embed them.  Reference: http://support.apple.com/en-us/HT202771

    If our product owner isn't okay with the increased file sizes, I'm considering a solution that uses Ghostscript to edit any PDF that needs to be sent to a customer that needs to read it in iOS.  It appears there's an option to open the PDF and embed the fonts that are referenced.
    Any other ideas or input is greatly appreciated.
  2. KS
    KS avatar
    165 posts
    Member since:
    Oct 2012

    Posted 09 Dec 2014 in reply to Charlie Link to this post

    Hi,

    It must be expected the file size to grow, if fonts comes with the file. Possibly all fonts can be changed to Arial if it is the only recognized on iOS devices.

    -KS
  3. KS
    KS avatar
    165 posts
    Member since:
    Oct 2012

    Posted 09 Dec 2014 in reply to KS Link to this post

    Hi,

    It must be expected the file size to grow, if fonts comes with the file. Possibly all fonts can be changed to Arial if it is the only recognized on iOS devices.

    -KS
Back to Top