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
|
additionalEncodings, cmap, svgs, unencodedCharacterseventListener, 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 String |
getOrdering()
Returns a font name for use within a registry.
|
abstract String |
getRegistry()
Returns the name of the issuer of the font.
|
abstract int |
getSupplement()
Returns the supplement number of the character collection.
|
abstract boolean |
hasCodePoint(int cp)
Determines whether this font contains a particular code point/glyph.
|
boolean |
isMultiByte()
Determines whether the font is a multibyte font.
|
abstract int |
mapCodePoint(int cp)
Map a Unicode code point to a code point in the font.
|
addUnencodedCharacter, getAdditionalEncoding, getAdditionalEncodingCount, 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, hasAdditionalEncodings, hasKerningInfo, hasSVG, isAdvancedEnabled, isKerningEnabled, isSymbolicFont, mapUnencodedChar, 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, setSVG, setUnderlinePosition, setUnderlineThickness, setWeight, setXHeightgetEncodingName, getMaxAscent, hadMappingOperations, hasChar, hasFeature, isCID, mapChar, notifyMapOperation, setEventListener, toString, warnMissingGlyphclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisEmbeddable, isSubsetEmbeddedgetBoundingBox, getMaxAscent, getWidth, getWidths, hasFeatureprotected int[] width
public CIDFont(InternalResourceResolver resourceResolver)
resourceResolver - the URI resolver for controlling file accesspublic abstract CIDFontType getCIDType()
public abstract String getRegistry()
public abstract String getOrdering()
public abstract int getSupplement()
public abstract CIDSet getCIDSet()
public abstract boolean hasCodePoint(int cp)
cp - character to checkpublic abstract int mapCodePoint(int cp)
cp - code point to mappublic int getDefaultWidth()
public boolean isMultiByte()
isMultiByte in interface FontMetricsisMultiByte in class TypefaceCopyright © 2025 Apache Software Foundation. All rights reserved.