Class AFPFontConfig.AFPTrueTypeFont
java.lang.Object
org.apache.fop.fonts.Typeface
org.apache.fop.afp.fonts.AFPFont
org.apache.fop.afp.fonts.AbstractOutlineFont
org.apache.fop.afp.fonts.OutlineFont
org.apache.fop.render.afp.AFPFontConfig.AFPTrueTypeFont
- All Implemented Interfaces:
FontMetrics
- Enclosing class:
AFPFontConfig
-
Field Summary
FieldsFields inherited from class AbstractOutlineFont
charSetFields inherited from class Typeface
eventListener, NOT_FOUND -
Constructor Summary
ConstructorsConstructorDescriptionAFPTrueTypeFont(String name, boolean embeddable, CharacterSet charSet, AFPEventProducer eventProducer, String ttc, URI uri, boolean positionByChar) -
Method Summary
Methods inherited from class OutlineFont
getBoundingBox, getWidthMethods inherited from class AbstractOutlineFont
getAscender, getCapHeight, getCharacterSet, getCharacterSet, getDescender, getEncodingName, getUnderlinePosition, getUnderlineThickness, getXHeight, hasChar, mapCharMethods inherited from class AFPFont
getEmbedFontName, getFamilyNames, getFontName, getFontURI, getFullName, getKerningInfo, getStrikeoutPosition, getStrikeoutThickness, getWidths, hasKerningInfo, isEmbeddable, toString, toUnicodeCodepointMethods inherited from class Typeface
getMaxAscent, hadMappingOperations, hasFeature, isCID, isMultiByte, notifyMapOperation, setEventListener, warnMissingGlyph
-
Field Details
-
ttc
-
uri
-
positionByChar
private boolean positionByChar
-
-
Constructor Details
-
AFPTrueTypeFont
public AFPTrueTypeFont(String name, boolean embeddable, CharacterSet charSet, AFPEventProducer eventProducer, String ttc, URI uri, boolean positionByChar)
-
-
Method Details
-
getFontType
Description copied from class:AFPFontReturns the type of the font.- Specified by:
getFontTypein interfaceFontMetrics- Overrides:
getFontTypein classAFPFont- Returns:
- the font type
-
getTTC
-
getUri
-
isPositionByChar
public boolean isPositionByChar()
-