AndroidPdfViewer icon indicating copy to clipboard operation
AndroidPdfViewer copied to clipboard

PDF won't render text on v2.5.0

Open FilCZ opened this issue 9 years ago • 26 comments

Hi, I've recently changed to your version 2.5.0, because I wanted to try the .enableAntialiasing() method. Unfortunately, my example.pdf, which could be easily rendered on v2.4.0, won't render. There are some lines, but not text.

Does anyone have the same issue or know to repair it?

Thank you.

FilCZ avatar Mar 31 '17 12:03 FilCZ

Thanks for answer! my problem is There are some lines and pictrues, but no text. all text is gone ,is on v2.5.1

karlsoft avatar May 09 '17 12:05 karlsoft

Version 2.5.1 uses same engine as older versions (excluding 2.5.0), so if it doesn't work for you it is not related to this issue

barteksc avatar May 09 '17 12:05 barteksc

I also has the problem on 2.5.1.

source pdf (with Chinese) NG Result: NG result

NG: MX4 pro android 5.0.1 LG G4 android 5.1 Samsung S4 android 5.0.1 Sony ZU android 5.1.1

OK: Samsung S7 edge android 7.0

wonday avatar May 25 '17 02:05 wonday

I would say this is a pdf form not a flat pdf hence why you lose a layer. Flatten as pdf file not a form and it will display. Forms and layered pdf are not supported.

1stmetro avatar May 26 '17 05:05 1stmetro

@1stmetro Thank you for your answer. I got it.

wonday avatar May 26 '17 07:05 wonday

I have just released version 2.7.0-beta which uses new PdfiumAndroid that should not have problems with font rendering

barteksc avatar Jun 16 '17 20:06 barteksc