You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2017/07/23 22:33:47 UTC

[Bug 61331] New: Font group handling / common font interface

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: dev@poi.apache.org
          Reporter: kiwiwings@apache.org
  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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 61331] Font group handling / common font interface

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61331

Andreas Beeker <ki...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
Applied with r1802741

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org