Package org.apache.fop.render.afp
Class AFPFontConfig.ParserHelper
java.lang.Object
org.apache.fop.render.afp.AFPFontConfig.ParserHelper
- Enclosing class:
- AFPFontConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AFPFontConfig
private static final org.apache.commons.logging.Log
private final FontTriplet.Matcher
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ParserHelper
(Configuration cfg, FontManager fontManager, boolean strict, AFPEventProducer eventProducer) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
buildFont
(Configuration fontCfg, AFPEventProducer eventProducer) private void
fontFromType
(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String embedURI) private AFPFontConfig.CIDKeyedFontConfig
getCIDKeyedFont
(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private AFPFontConfig.OutlineFontConfig
getOutlineFont
(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private AFPFontConfig.RasterFontConfig
getRasterFont
(List<FontTriplet> triplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private AFPFontConfig.TrueTypeFontConfig
getTruetypeFont
(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private boolean
isEmbbedable
(List<FontTriplet> triplets)
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG -
fontConfig
-
matcher
-
-
Constructor Details
-
ParserHelper
private ParserHelper(Configuration cfg, FontManager fontManager, boolean strict, AFPEventProducer eventProducer) throws FOPException, ConfigurationException - Throws:
FOPException
ConfigurationException
-
-
Method Details
-
buildFont
private void buildFont(Configuration fontCfg, AFPEventProducer eventProducer) throws ConfigurationException - Throws:
ConfigurationException
-
fontFromType
private void fontFromType(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String embedURI) throws ConfigurationException - Throws:
ConfigurationException
-
getCIDKeyedFont
private AFPFontConfig.CIDKeyedFontConfig getCIDKeyedFont(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) throws ConfigurationException - Throws:
ConfigurationException
-
getOutlineFont
private AFPFontConfig.OutlineFontConfig getOutlineFont(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) throws ConfigurationException - Throws:
ConfigurationException
-
getTruetypeFont
private AFPFontConfig.TrueTypeFontConfig getTruetypeFont(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) throws ConfigurationException - Throws:
ConfigurationException
-
getRasterFont
private AFPFontConfig.RasterFontConfig getRasterFont(List<FontTriplet> triplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) throws ConfigurationException - Throws:
ConfigurationException
-
isEmbbedable
-