linmaogithub / pdfium

Automatically exported from code.google.com/p/pdfium
0 stars 0 forks source link

Android: Asian fonts don't render in PDF viewer or print preview #173

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Obtain test file "j12.pdf" by ordering item IT-3011A "Standards of Printer 
Evaluation pattern" from here 
http://www.jeita.or.jp/cgi-bin/standard_e/list.cgi?cateid=8&subcateid=45
The test file is on the included CDRom.
2. On an Android phone with "M" installed, open J12.pdf with Adobe Acrobat 
Reader

What is the expected output? What do you see instead?
Expect file to display correctly.  Instead some graphics appear and no fonts 
are rendered.

What version of the product are you using? On what operating system?
Google Android "M".

Please provide any additional information below.
Also test with Drive PDF viewer - More graphics are displayed but no fonts 
render
Also attempt to print - preview shows same result as printing app.

Original issue reported on code.google.com by pwor...@gmail.com on 19 Jun 2015 at 8:52

GoogleCodeExporter commented 8 years ago
I've attached several screen caps:
pc.png - viewed on a PC with Asian font pack installed
android_acrobat.png - viewed on Adobe Reader on Android M
android_drive.png - viewed on Drive PDF viewer on Android M
android_print_preview - viewed using Adobe Reader then print preview on Android 
M 

Original comment by pwor...@gmail.com on 19 Jun 2015 at 9:37

Attachments:

GoogleCodeExporter commented 8 years ago
To be clear, is this bug about Adobe Acrobat Reader on Android?

Original comment by thestig@chromium.org on 11 Aug 2015 at 10:04

GoogleCodeExporter commented 8 years ago
I'm not exactly where the rendering happens, whether that's part of the Reader 
or the OS, but yes, you open the file in Acrobat and the fonts don't render. 
You print and they don't render in the preview nor on paper.

Original comment by petermai...@gmail.com on 25 Aug 2015 at 9:33

GoogleCodeExporter commented 8 years ago
Currently no PDF documents can be opened in Drive/Preview 3 so I can't verify 
whether this issue also appears in the Drive viewer.  Please verify on your end 
if Drive shows the issue. I've attached a freely distributable file that shows 
the issue as well as screen caps of the file in Acrobat on both Lollipop and M. 
 We have verified that these fonts are missing from Android M -
- MTLmr3m.ttf (MotoyaLMaru-W3-90ms-RKSJ-H)
- DroidSansFallbackFull.ttf

Original comment by petermai...@gmail.com on 2 Sep 2015 at 12:11

Attachments:

GoogleCodeExporter commented 8 years ago
I think you should file a bug against Android instead. We can't help you with 
Adobe Acrobat + Android M. PDFium isn't even involved here.

Original comment by thestig@chromium.org on 4 Sep 2015 at 9:40

GoogleCodeExporter commented 8 years ago
It also repros on the Drive viewer.  Does that make it a PDFium issue?

Original comment by petermai...@gmail.com on 8 Sep 2015 at 9:17

GoogleCodeExporter commented 8 years ago
I have no idea if the Android Drive app uses PDFium to view PDF files. Why 
don't you file a bug against Android and go from there?

Original comment by thestig@chromium.org on 8 Sep 2015 at 9:19

GoogleCodeExporter commented 8 years ago
Please ignore acrobat reference. Believe this is a PDFium bug as we have seen 
the same reported for Drive PDF reader and Android printing framework in L and 
M. Seems like there are issues with rendering certain documents in Japanese.

Original comment by tka...@google.com on 8 Sep 2015 at 10:40

GoogleCodeExporter commented 8 years ago
Sure. we can try to fix the PDFium + Android issues, but the Acrobat + Android 
issues are still beyond the scope of this bug. We don't have good Android test 
coverage right now since we have been concentrating on the desktop.

Original comment by thestig@chromium.org on 8 Sep 2015 at 11:26