Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 6.3.3
-
Component/s: Core/Parsing, Font Engine
-
Labels:None
-
Environment:Linux or Mac OS systems
Description
A files has been submitted that does not correctly render on macOS. The gylphs in question are to be substituted using a STSong font. This normally works fin on windows systems as there are default STSong fonts mainly "STSong Light Acro" or "Adobe Song Std Acro". However this doesn't appear to be the case on unix systems.
I was able to get the font to render correctly on my linux box but this required my to install a full "stsong" font and regenerate the system font list. Further research is needed to find out where macOS puts it's user installed fonts on the file system so we can insure the FontManager picks them up.
I was able to get the font to render correctly on my linux box but this required my to install a full "stsong" font and regenerate the system font list. Further research is needed to find out where macOS puts it's user installed fonts on the file system so we can insure the FontManager picks them up.
Activity
Patrick Corless
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #53130 | Thu Dec 12 20:15:24 MST 2019 | patrick.corless | as well as updates to font lookups for known Chinese fonts that will likely have correct glyphs. |
Files Changed | ||||
MODIFY
/icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/fonts/FontManager.java
|
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 6.3.3 [ 13282 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Added the font name 'stsong' as new font for simplified chinese font names. This particular font is free on linux and contains the needed glyphs.
Also updated linux font search paths for ~/.local/share/fonts/ which should also help find more system fonts for substitution.