- Posts: 15
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Scope of font resources?
- johannes.bolz
- Topic Author
- Offline
- New Member
-
Less
More
10 years 3 months ago - 10 years 3 months ago #10730
by johannes.bolz
Scope of font resources? was created by johannes.bolz
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?
Last edit: 10 years 3 months ago by johannes.bolz.
10 years 3 months ago - 10 years 3 months ago #10733
by Davide
Replied by Davide on topic Scope of font resources?
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.
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.
Last edit: 10 years 3 months ago by Davide.
- johannes.bolz
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
10 years 3 months ago #10734
by johannes.bolz
Replied by johannes.bolz on topic Scope of font resources?
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?
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?
10 years 3 months ago #10735
by Davide
Replied by Davide on topic Scope of font resources?
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
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
Time to create page: 0.397 seconds