Scope of font resources? - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Scope of font resources?

Scope of font resources? 2 years 5 months ago #10730

  • johannes.bolz
  • johannes.bolz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Are the files in the raw folder (fonts, as far as I understand) required only for creating or also for reading PDFs? What will happen if any of them get removed?

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

Last edit: by johannes.bolz.

Scope of font resources? 2 years 5 months ago #10733

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
the fonts in the raw folder are required even for reading PDFs, because, if a PDF has not embedded fonts, the library uses these files to render properly the text.

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

Last edit: by Davide.

Scope of font resources? 2 years 5 months ago #10734

  • johannes.bolz
  • johannes.bolz's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Thanks.

If there are no fonts embedded in the PDF, how does the library determine which font from the resources to use?
What would happen if I e.g. remove all but one font, and the document asks for a different one?
What if the document asks for a font which is not shipped with the library?

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

Scope of font resources? 2 years 5 months ago #10735

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
1. Please look at Global.java to see the font mapping
2. The reader will use the default font which may display the text in a wrong way (as example you will see squares)
3. You can add a not embeded font following this guide www.radaeepdf.com/support/knowledge-base...=component&kbartid=5

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

  • Page:
  • 1
Powered by Kunena Forum