Package org.apache.fop.fonts
Class DefaultFontConfig.Font
- java.lang.Object
-
- org.apache.fop.fonts.DefaultFontConfig.Font
-
- Enclosing class:
- DefaultFontConfig
public static final class DefaultFontConfig.Font extends java.lang.ObjectRepresents a font object within the FOP conf.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAfm()booleangetEmbedAsType1()java.lang.StringgetEmbeddingMode()java.lang.StringgetEmbedURI()Gets the URI of the font to embed.java.lang.StringgetEncodingMode()java.lang.StringgetMetrics()Gets the String representing the metrics file.java.lang.StringgetPfm()booleangetSimulateStyle()java.lang.StringgetSubFont()Gets the sub font within, for example, a TTC.java.util.List<FontTriplet>getTripletList()booleanisAdvanced()booleanisKerning()Whether or not to allow kerning of glyphs.
-
-
-
Method Detail
-
getEncodingMode
public java.lang.String getEncodingMode()
-
getTripletList
public java.util.List<FontTriplet> getTripletList()
-
isKerning
public boolean isKerning()
Whether or not to allow kerning of glyphs.- Returns:
- true to allow glyph kerning
-
isAdvanced
public boolean isAdvanced()
-
getMetrics
public java.lang.String getMetrics()
Gets the String representing the metrics file.- Returns:
- the metrics file
-
getEmbedURI
public java.lang.String getEmbedURI()
Gets the URI of the font to embed.- Returns:
- the font URI
-
getSubFont
public java.lang.String getSubFont()
Gets the sub font within, for example, a TTC.- Returns:
- the sub font name
-
getEmbeddingMode
public java.lang.String getEmbeddingMode()
-
getAfm
public java.lang.String getAfm()
-
getPfm
public java.lang.String getPfm()
-
getSimulateStyle
public boolean getSimulateStyle()
-
getEmbedAsType1
public boolean getEmbedAsType1()
-
-