- Posts: 4
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Here you should submit your bug reports with logcat.
Android PDF Viewer Display Issue
IP: 192.168.0.70
13 years 10 months ago #534
by thekono
Android PDF Viewer Display Issue was created by thekono
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 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
IP: 192.168.0.70
13 years 10 months ago #535
by thekono
Replied by thekono on topic Android PDF Viewer Display Issue
As the file size exceeded the limit. Here is the link to the file -
docs.google.com/open?id=0B9nboFXvPjaPWVM3WHlGYTI5RkU
docs.google.com/open?id=0B9nboFXvPjaPWVM3WHlGYTI5RkU
IP: 192.168.0.70
13 years 10 months ago #536
by radaee
Replied by radaee on topic Android PDF Viewer Display Issue
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.
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.
- ysh19841211
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
IP: 192.168.0.70
13 years 10 months ago #543
by ysh19841211
Replied by ysh19841211 on topic Android PDF Viewer Display Issue
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?
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?
IP: 192.168.0.70
13 years 10 months ago #546
by radaee
Replied by radaee on topic Android PDF Viewer Display Issue
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 );
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 );
- ysh19841211
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
IP: 192.168.0.70
13 years 10 months ago #555
by ysh19841211
Replied by ysh19841211 on topic Android PDF Viewer Display Issue
I replaced the code you posted here into Global.init, but with no luck. Have any idea?
Time to create page: 0.431 seconds