Package org.apache.fop.render.afp
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
Fields inherited from class org.apache.fop.afp.fonts.AbstractOutlineFont
charSet
Fields inherited from class org.apache.fop.fonts.Typeface
eventListener, NOT_FOUND
-
Constructor Summary
ConstructorDescriptionAFPTrueTypeFont
(String name, boolean embeddable, CharacterSet charSet, AFPEventProducer eventProducer, String ttc, URI uri, boolean positionByChar) -
Method Summary
Methods inherited from class org.apache.fop.afp.fonts.OutlineFont
getBoundingBox, getWidth
Methods inherited from class org.apache.fop.afp.fonts.AbstractOutlineFont
getAscender, getCapHeight, getCharacterSet, getCharacterSet, getDescender, getEncodingName, getUnderlinePosition, getUnderlineThickness, getXHeight, hasChar, mapChar
Methods inherited from class org.apache.fop.afp.fonts.AFPFont
getEmbedFontName, getFamilyNames, getFontName, getFontURI, getFullName, getKerningInfo, getStrikeoutPosition, getStrikeoutThickness, getWidths, hasKerningInfo, isEmbeddable, toString, toUnicodeCodepoint
Methods inherited from class org.apache.fop.fonts.Typeface
getMaxAscent, hadMappingOperations, hasFeature, isCID, isMultiByte, notifyMapOperation, setEventListener, warnMissingGlyph
-
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:AFPFont
Returns the type of the font.- Specified by:
getFontType
in interfaceFontMetrics
- Overrides:
getFontType
in classAFPFont
- Returns:
- the font type
-
getTTC
-
getUri
-
isPositionByChar
public boolean isPositionByChar()
-