Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 4.0 - Beta
-
Fix Version/s: 4.0
-
Component/s: Font Engine
-
Labels:None
-
Environment:All
Description
Pro features like the font engine, and the incremental updating are being exposed in org.icepdf.core.application.Capabilities. It's a single place to have a boolean method to describe if the feature is available, and possibly a place to put the reflection lookup as well.
I would probably suggest that the Capabilities class makes use of the FontFactory singleton's method foundFontEngine():boolean. For the time being it's best the FontFactory takes care of the reflective calls as the build system does some special work to this class.