ios - QLPreviewController displaying PDF with incorrect fonts -
i'm generating pdf in ipad app nib. app uses custom fonts display correctly in nib in app. when view saved pdf on mac, displays in correct font. when display in-app qlpreviewcontroller
, fonts appear have been replaced. datasource implements previewcontroller:previewitematindex:
returns nsurl
of pdf in app's document folder.
is there anyway correct this? need embed font or provide qlpreviewcontroller and, if so, how?
probably fonts not embedded in document , causes pdf rendering engine substitute them. unfortunately coregraphics api not have option specify whether embed or not font in pdf file.
preview app has more capabilities locate font files in order display file correctly.
Comments
Post a Comment