showing characters in iPhone

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v5)  /  Re: showing characters in iPhone

DynamicPDF CoreSuite for .NET (v5) Forum

 Oct 30 2014 5:57 AM

I have a problem with some fonts when the PDF is shown in iPhone. I've tried to use the "embed" command. The swedish characters åäö for example is just strange characters instead.

Does anyone have a solution for this, not just changing to another font(because standard fonts like Helvetica works fine)?

If I make a PDF with InDesign and the same font, iPhone can show it correct. Maybe it's more of an iPhone-problem, but someone else may have had the same sort of problem with DynamicPDF generated files.

Thanks for any help :)

 Oct 30 2014 12:10 PM
Posted by a ceTe Software moderator
Hello Hanna,

Please send over the following details to so that we can look into it further.

1.Code sample used to create PDF using DynamicPDF API.
2.Font file used.
3.Exact version and build number of the DynamicPDF DLL file used to create PDF. You can get this information in DLL references properties (Version and Description fields) in Visual Studio.
4.Output PDF generated using DynamicPDF API.
5.PDF generated using InDesign tool.
6.Name of the PDF viewer used to open and view the PDFs on iPhone.

ceTe Software Support Team.
 Nov 03 2014 11:57 AM
Posted by a ceTe Software moderator

After looking into the details sent to us by the customer it has been determined that this is not a problem with our product. This specific issue is due to the inability of built in PDF viewer of iOS 8 to render text for which a subset of the font is embedded. Most PDF viewers can render the text without the full font embedded.  Customer is using an open type font and a TextArea page element. As a workaround, thet were able to resolve the issue by fully embedding the font.

Setting the Subset property of OpenTypeFont class to false will fully embedded the font in the PDF. The only drawback of embedding the full font is that the PDF file size may increase depending on the specific font being embedded.

dim f As OpenTypeFont f= New OpenTypeFont("Path to font file here")
f.embed = true
f.Subset = false

ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 9:11 PM.