Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC:

Unable to render some text in PDF 7 years 3 months ago #11731

  • rsimpson182
  • rsimpson182's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Hello Everyone,

I have a PDF file with table including some controls or fields which I am not aware of. So while rendering the PDF on iOS app, some text of table contents is not rendered. I have attached the sample PDF screenshot and also the screenshot of how it is rendered.

Edit 1:
I did some more analysis to PDF file with Acrobat Pro DC and following seems to be structure for each red color row
1. black box is created by lines,
2. inside of black box, red filled rectangle is placed and then
3. text box with text.

But When I open Layers or comments section, there are none in the respective list. I am not sure how it is created. But I am able to delete the objects one by one. That is delete text box, then filled red rectangle and then all four line of the box one by one.

Edit 2:
If I highlight the text, highlighted color is visible on top of red with rounded corner box but text is not visible.

Any help is appreciated.

Thank you.
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by rsimpson182. Reason: More analysis to problem added

Unable to render some text in PDF 7 years 3 months ago #11733

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

can you share you pdf file?
You can open a private ticket an upload your file there

Please Log in or Create an account to join the conversation.

Unable to render some text in PDF 7 years 3 months ago #11754

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,
it seems that this issue is due to not embedded font.
I suggest to take a look to Knowledge Base section, in particular this article that shows how to add a custom font.

Please Log in or Create an account to join the conversation.

Unable to render some text in PDF 7 years 3 months ago #11755

  • rsimpson182
  • rsimpson182's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Hi,
If font in PDF is not found in library then, we can set default font but is there a way where we could set/map
1. the default font for any regular font,
2. default bold font for any bold font and
3. default italic font for any italic font
Also how can we set/embed/map system font as default and not any custom font.

Please Log in or Create an account to join the conversation.

Last edit: by rsimpson182.

Unable to render some text in PDF 7 years 3 months ago #11756

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

you can use Global_fontfileMapping to map fonts and Global_setDefaultFont to set the default font.
Unfortunately It's not possible to know which style of font is missing and set a specific default font for bold or italic.

Please Log in or Create an account to join the conversation.

Unable to render some text in PDF 7 years 3 months ago #11758

  • rsimpson182
  • rsimpson182's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
How can we set the iOS system font as default font with Global_setDefaultFont?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum