Package org.docx4j.fonts.fop.fonts
Class CFFToType1Font
java.lang.Object
org.docx4j.fonts.fop.fonts.Typeface
org.docx4j.fonts.fop.fonts.CustomFont
org.docx4j.fonts.fop.fonts.CIDFont
org.docx4j.fonts.fop.fonts.MultiByteFont
org.docx4j.fonts.fop.fonts.CFFToType1Font
- All Implemented Interfaces:
Positionable,Substitutable,FontDescriptor,FontMetrics,MutableFont
public class CFFToType1Font extends MultiByteFont
-
Field Summary
Fields inherited from class org.docx4j.fonts.fop.fonts.MultiByteFont
boundingBoxes, cidSetFields inherited from class org.docx4j.fonts.fop.fonts.CustomFont
additionalEncodings, cmap, unencodedCharactersFields inherited from class org.docx4j.fonts.fop.fonts.Typeface
eventListener, NOT_FOUND -
Constructor Summary
Constructors Constructor Description CFFToType1Font(InternalResourceResolver resourceResolver, EmbeddingMode embeddingMode) -
Method Summary
Modifier and Type Method Description java.io.InputStreamgetInputStream()Returns anInputStreamrepresenting an embeddable font file.java.util.List<java.io.InputStream>getInputStreams()Methods inherited from class org.docx4j.fonts.fop.fonts.MultiByteFont
addPrivateUseMapping, charSequenceToGlyphSequence, findGlyphIndex, getBoundingBox, getChars, getCIDSet, getCIDType, getCmapStream, getDefaultWidth, getEmbedFontName, getEncodingName, getGDEF, getGIDFromChar, getGlyphIndices, getGPOS, getGSUB, getOrdering, getRegistry, getSupplement, getTTCName, getUnicodeFromGID, getUnscaledWidths, getUsedGlyphNames, getUsedGlyphs, getWidth, getWidths, getWidthsMap, hasChar, hasCodePoint, hasFeature, isEmbeddable, isOTFFile, isSubsetEmbedded, mapChar, mapCodePoint, mapUsedGlyphName, performPositioning, performPositioning, performsPositioning, performsSubstitution, performSubstitution, reorderCombiningMarks, setBBoxArray, setCIDType, setDefaultWidth, setGDEF, setGPOS, setGSUB, setIsOTFFile, setTTCName, setWidthArrayMethods inherited from class org.docx4j.fonts.fop.fonts.CIDFont
isMultiByteMethods inherited from class org.docx4j.fonts.fop.fonts.CustomFont
addUnencodedCharacter, getAdditionalEncoding, getAdditionalEncodingCount, getAscender, getAscender, getCapHeight, getCapHeight, getCMap, getDescender, getDescender, getEmbeddingMode, getEmbedFileURI, getEmbedResourceName, getFamilyNames, getFirstChar, getFlags, getFontBBox, getFontName, getFontSubName, getFontType, getFontURI, getFullName, getItalicAngle, getKerningInfo, getLastChar, getMissingWidth, getPanose, getSimulateStyle, getStemV, getStrikeoutPosition, getStrikeoutThickness, getStrippedFontName, getUnderlinePosition, getUnderlineThickness, getWeight, getXHeight, hasAdditionalEncodings, hasKerningInfo, 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, setPanose, setSimulateStyle, setStemV, setStrikeoutPosition, setStrikeoutThickness, setUnderlinePosition, setUnderlineThickness, setWeight, setXHeightMethods inherited from class org.docx4j.fonts.fop.fonts.Typeface
getMaxAscent, hadMappingOperations, isCID, notifyMapOperation, setEventListener, toString, warnMissingGlyphMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.docx4j.fonts.fop.fonts.FontMetrics
getMaxAscent
-
Constructor Details
-
CFFToType1Font
-
-
Method Details
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOExceptionDescription copied from class:CustomFontReturns anInputStreamrepresenting an embeddable font file.- Overrides:
getInputStreamin classCustomFont- Returns:
InputStreamfor an embeddable font file- Throws:
java.io.IOException- if embedFileName is not null but Source is not found
-
getInputStreams
public java.util.List<java.io.InputStream> getInputStreams() throws java.io.IOException- Throws:
java.io.IOException
-