graphics-samples icon indicating copy to clipboard operation
graphics-samples copied to clipboard

can not read custom fonts

Open codingjeremy opened this issue 5 years ago • 6 comments

Issue by bauer-bao Tuesday Oct 24, 2017 at 09:42 GMT Originally opened as https://github.com/googlesamples/android-PdfRendererBasic/issues/18


Hi this is a link which client want to read. PdfRenderer cannot read it.

https://igenbucket.s3.ap-south-1.amazonaws.com/1505737193910_1505737193728History-hin-1A.pdf

codingjeremy avatar Sep 06 '19 17:09 codingjeremy

Comment by vitalnik Tuesday Nov 14, 2017 at 18:30 GMT


Text with custom/embedded fonts appears as blank space using PDFRenderer on Android API 23,24,25. On Android 26 text is displayed, but fonts are not displayed correctly. Works only on API 21. Looks like a bug in PDFRenderer.

codingjeremy avatar Sep 06 '19 17:09 codingjeremy

Comment by AswinpAshok Monday Jul 30, 2018 at 06:42 GMT


Any updates on this? I am having the same issue.

codingjeremy avatar Sep 06 '19 17:09 codingjeremy

Is there any update on this or any workaround to load PDF with custom fonts in PDFRenderer?

VigneshPasupathy avatar Jul 02 '20 07:07 VigneshPasupathy

I had to switch to this library so I can properly render pdf, https://github.com/TomRoush/PdfBox-Android. It is much slower although. It would be great to have custom fonts working with PdfRenderer

istarp avatar Dec 06 '21 08:12 istarp

I have the same problem, is there any update?

noah-hx avatar Apr 02 '22 14:04 noah-hx

I have the same problem, is there any update?

KYamshanov avatar Jul 17 '23 10:07 KYamshanov