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
public static class AFPFontConfig.AFPTrueTypeFont extends OutlineFont
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
positionByChar
private java.lang.String
ttc
private java.net.URI
uri
-
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
Constructors Constructor Description AFPTrueTypeFont(java.lang.String name, boolean embeddable, CharacterSet charSet, AFPEventProducer eventProducer, java.lang.String ttc, java.net.URI uri, boolean positionByChar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FontType
getFontType()
Returns the type of the font.java.lang.String
getTTC()
java.net.URI
getUri()
boolean
isPositionByChar()
-
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 Detail
-
AFPTrueTypeFont
public AFPTrueTypeFont(java.lang.String name, boolean embeddable, CharacterSet charSet, AFPEventProducer eventProducer, java.lang.String ttc, java.net.URI uri, boolean positionByChar)
-
-
Method Detail
-
getFontType
public FontType 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
public java.lang.String getTTC()
-
getUri
public java.net.URI getUri()
-
isPositionByChar
public boolean isPositionByChar()
-
-