[ 
https://issues.apache.org/jira/browse/PDFBOX-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891225#comment-16891225
 ] 

Tilman Hausherr commented on PDFBOX-4604:
-----------------------------------------

What do you mean with "type0 return unlimited"?

"looks like encoding exception" - no, this is an INFO message, no exception. It 
means that your font doesn't have proper unicode mappings. This is only 
important if you want text extraction.

"interface lock" - do you mean that the Android application became unresponsive?

"Because of this fonts lost on android device." - what is "lost"? Does this 
mean the fonts are not displayed on Android? If yes, what application did you 
use to display the PDF?

Please clarify what role Android plays here. pdfbox-app-2.0.16.jar doesn't run 
on Android.

The second screenshot you shared is of PDFDebugger. What does it prove? All I 
can see that the font is not embedded. Which may bring problems if the software 
used for display isn't very good.

Please share the file that was created with 2.0.12. (Can you create the PDF 
with 2.0.16, and what is the result?)

> Used type0 for cyrillic, losting font on android
> ------------------------------------------------
>
>                 Key: PDFBOX-4604
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4604
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.12
>            Reporter: Vladislav Sterkhov
>            Priority: Blocker
>         Attachments: FONT_TEMPLATE.pdf, image-2019-07-23-12-03-38-514.png, 
> image-2019-07-23-13-24-47-324.png
>
>
> Debugging with 
> [pdfbox-app-2.0.16.jar|http://us.mirrors.quenda.co/apache/pdfbox/2.0.16/pdfbox-app-2.0.16.jar]
>  created pdf with java api 2.0.12 after click on loaded .ttf as type0 return 
> *unlimited* looks like encoding exception, and interface lock
> !image-2019-07-23-12-03-38-514.png!
> Method loading:
> PDType0Font.load(outPDDocument, readResource(FONT_FILENAME));
> Because of this fonts lost on android device. To work around this error i 
> created pdf with all symbol on google docs, and getting good font type0.
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to