Android PDF Viewer Display Issue - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Here you should submit your bug reports with logcat.
  • Page:
  • 1
  • 2

TOPIC: Android PDF Viewer Display Issue

Android PDF Viewer Display Issue 6 years 3 weeks ago #534

  • thekono
  • thekono's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi,

The Android PDF viewer is not properly displaying the following document (5 pages). If you use Acrobat reader or other viewer, you are seeing it properly displayed.

Thanks

Stanley

Please Log in or Create an account to join the conversation.

Android PDF Viewer Display Issue 6 years 3 weeks ago #535

  • thekono
  • thekono's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
As the file size exceeded the limit. Here is the link to the file -

docs.google.com/open?id=0B9nboFXvPjaPWVM3WHlGYTI5RkU

Please Log in or Create an account to join the conversation.

Android PDF Viewer Display Issue 6 years 3 weeks ago #536

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
this file need CJK font as default font. so modify Global.init
and set default font to "DroidSansFallback".
this font may has some problems for some extern Latin characters.

the best way to support all characters is using fonts you owned.

Please Log in or Create an account to join the conversation.

Android PDF Viewer Display Issue 6 years 3 weeks ago #543

  • ysh19841211
  • ysh19841211's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
I have already seen the following code in Global.Init

if( !setDefaultFont( "CNS1", "DroidSansFallback", true ) && face_name != null )
setDefaultFont( null, face_name, true );
if( !setDefaultFont( "CNS1", "DroidSansFallback", false ) && face_name != null )
setDefaultFont( null, face_name, false );


Can you tell me what to change?

Please Log in or Create an account to join the conversation.

Android PDF Viewer Display Issue 6 years 3 weeks ago #546

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
the problem is:
font in PDF using CJK characters.
but this font not defined for "CNS1" collection.
so you need modify:
if( !setDefaultFont( null, "DroidSansFallback", true ) && face_name != null )
setDefaultFont( null, face_name, true );
if( !setDefaultFont( null, "DroidSansFallback", false ) && face_name != null )
setDefaultFont( null, face_name, false );

Please Log in or Create an account to join the conversation.

Android PDF Viewer Display Issue 6 years 3 weeks ago #555

  • ysh19841211
  • ysh19841211's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
I replaced the code you posted here into Global.init, but with no luck. Have any idea?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum