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 AFPFontConfigprivate static final org.apache.commons.logging.Logprivate final FontTriplet.Matcher -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateParserHelper(Configuration cfg, FontManager fontManager, boolean strict, AFPEventProducer eventProducer) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidbuildFont(Configuration fontCfg, AFPEventProducer eventProducer) private voidfontFromType(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String embedURI) private AFPFontConfig.CIDKeyedFontConfiggetCIDKeyedFont(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private AFPFontConfig.OutlineFontConfiggetOutlineFont(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private AFPFontConfig.RasterFontConfiggetRasterFont(List<FontTriplet> triplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private AFPFontConfig.TrueTypeFontConfiggetTruetypeFont(List<FontTriplet> fontTriplets, String type, String codepage, String encoding, Configuration cfg, AFPEventProducer eventProducer, String uri) private booleanisEmbbedable(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:
FOPExceptionConfigurationException
-
-
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
-