https://bz.apache.org/bugzilla/show_bug.cgi?id=61331
Bug ID: 61331
Summary: Font group handling / common font interface
Product: POI
Version: 3.17-dev
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: SL Common
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
The font handling in office documents are based on the LOGFONT structure [1].
I've added a common interface for fonts in
org.apache.poi.common.usermodel.fonts, which I eventually also want to apply to
X/HSSF - but currently use it only for X/HSLF and HWMF.
Additionally this patch focus on the font group handling in X/HSLF - Powerpoint
chooses from a set of 3-4 fonts depending on the used charset [2]
When running the tests, I've noticed that CJK symbols were rendered in Java 8,
but not in Java 6, when there wasn't a POI-specific fallback font set. Up till
now, I haven't found out why, but I suspect a difference in the fontconfig
fallback [3] ... which (difference) I couldn't point out either :(
And as a last change, FontInfo is now returned on methods which returned an
index.
[1] https://msdn.microsoft.com/en-us/library/dd145037.aspx
[2]
https://blogs.msdn.microsoft.com/officeinteroperability/2013/04/22/office-open-xml-themes-schemes-and-fonts/
[3] https://docs.oracle.com/javase/6/docs/technotes/guides/intl/fontconfig.html
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]