public abstract class CIDFont extends CustomFont
Modifier and Type | Field and Description |
---|---|
protected int[] |
width
Contains the character widths for all characters in the font
|
cmap
eventListener, NOT_FOUND
Constructor and Description |
---|
CIDFont(InternalResourceResolver resourceResolver) |
Modifier and Type | Method and Description |
---|---|
abstract CIDSet |
getCIDSet()
Returns the subset information for this font.
|
abstract CIDFontType |
getCIDType()
Returns the type of the CID font.
|
int |
getDefaultWidth()
Returns the default width for this font.
|
abstract java.lang.String |
getOrdering()
Returns a font name for use within a registry.
|
abstract java.lang.String |
getRegistry()
Returns the name of the issuer of the font.
|
abstract int |
getSupplement()
Returns the supplement number of the character collection.
|
boolean |
isMultiByte()
Determines whether the font is a multibyte font.
|
getAscender, getAscender, getCapHeight, getCapHeight, getCMap, getDescender, getDescender, getEmbeddingMode, getEmbedFileURI, getEmbedFontName, getEmbedResourceName, getFamilyNames, getFirstChar, getFlags, getFontBBox, getFontName, getFontSubName, getFontType, getFontURI, getFullName, getInputStream, getItalicAngle, getKerningInfo, getLastChar, getMissingWidth, getSimulateStyle, getStemV, getStrikeoutPosition, getStrikeoutThickness, getStrippedFontName, getUnderlinePosition, getUnderlineThickness, getUnicodeFromGID, getUsedGlyphs, getWeight, getXHeight, hasKerningInfo, isAdvancedEnabled, isKerningEnabled, isSymbolicFont, putKerningEntry, replaceKerningMap, setAdvancedEnabled, setAscender, setCapHeight, setCMap, setDescender, setEmbeddingMode, setEmbedResourceName, setEmbedURI, setFamilyNames, setFirstChar, setFlags, setFontBBox, setFontName, setFontSubFamilyName, setFontType, setFontURI, setFullName, setItalicAngle, setKerningEnabled, setLastChar, setMissingWidth, setSimulateStyle, setStemV, setStrikeoutPosition, setStrikeoutThickness, setUnderlinePosition, setUnderlineThickness, setWeight, setXHeight
getEncodingName, getMaxAscent, hadMappingOperations, hasChar, hasFeature, mapChar, notifyMapOperation, setEventListener, toString, warnMissingGlyph
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isEmbeddable, isSubsetEmbedded
getBoundingBox, getMaxAscent, getWidth, getWidths, hasFeature
protected int[] width
public CIDFont(InternalResourceResolver resourceResolver)
resourceResolver
- the URI resolver for controlling file accesspublic abstract CIDFontType getCIDType()
public abstract java.lang.String getRegistry()
public abstract java.lang.String getOrdering()
public abstract int getSupplement()
public abstract CIDSet getCIDSet()
public int getDefaultWidth()
public boolean isMultiByte()
isMultiByte
in interface FontMetrics
isMultiByte
in class Typeface
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.