RadaeePDF.com :: Topic: Android PDF Viewer Display Issue (1/2)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Here you should submit your bug reports with logcat.
  • Page:
  • 1
  • 2

TOPIC: Android PDF Viewer Display Issue

Android PDF Viewer Display Issue 4 years 9 months ago #534

  • thekono
  • thekono's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 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
The administrator has disabled public write access.

Android PDF Viewer Display Issue 4 years 9 months ago #535

  • thekono
  • thekono's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
As the file size exceeded the limit. Here is the link to the file -

docs.google.com/open?id=0B9nboFXvPjaPWVM3WHlGYTI5RkU
The administrator has disabled public write access.

Android PDF Viewer Display Issue 4 years 9 months ago #536

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
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.
The administrator has disabled public write access.

Android PDF Viewer Display Issue 4 years 9 months ago #543

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?
The administrator has disabled public write access.

Android PDF Viewer Display Issue 4 years 9 months ago #546

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
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 );
The administrator has disabled public write access.

Android PDF Viewer Display Issue 4 years 9 months ago #555

I replaced the code you posted here into Global.init, but with no luck. Have any idea?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Powered by Kunena Forum