Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.2.1
-
Fix Version/s: None
-
Component/s: Core/Rendering, Font Engine
-
Labels:None
-
Environment:Ubuntu 10.4
-
Support Case References:Support case #14012 - https://icesoft.my.salesforce.com/5007000001hFqqH
Description
A customer is having issues rendering Chinese fonts in their Ubuntu 10.4 environment. Here are details provided:
We provided the solution:
--------------------------------
1. Copy "simsun.ttc" into "lib\fonts" inside "your_java_runtime_directory"
2. Close program and start it again
Note; IcePDF should be able to render the "missed glyphs"... Otherwise, they got conflict with other font - they use wrong font without required glyphs.
--------------------------------
Customer reported:
The solution works fine on Suse, but not works on Ubuntu.
Now customer is facing the Chinese characters are missing when print preview on Ubuntu.
***
The provided workaround works on Windows/Mac OS X, but not on Ubuntu 10.04
We provided the solution:
--------------------------------
1. Copy "simsun.ttc" into "lib\fonts" inside "your_java_runtime_directory"
2. Close program and start it again
Note; IcePDF should be able to render the "missed glyphs"... Otherwise, they got conflict with other font - they use wrong font without required glyphs.
--------------------------------
Customer reported:
The solution works fine on Suse, but not works on Ubuntu.
Now customer is facing the Chinese characters are missing when print preview on Ubuntu.
***
The provided workaround works on Windows/Mac OS X, but not on Ubuntu 10.04
Activity
Arran Mccullough
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
I tried to get other Chinese fonts to load on ubuntu and didn't have a lot of luck as the font metrics were off or they were not hinted correctly. However the the following procedure will get the PDF rendering correcting
sudo cp ~/Downloads/simsum.ttc /usr/share/fonts/truetype/
sudo chmod 555 /usr/share/fonts/truetype/simsum.ttc
sudo rm ~./icesoft/icepdf-viewer/pdfviewerfontcache.properties