public class FOPPDFMultiByteFont
extends org.apache.fop.fonts.MultiByteFont
Modifier and Type | Field and Description |
---|---|
protected org.apache.fop.pdf.PDFDictionary |
ref |
Constructor and Description |
---|
FOPPDFMultiByteFont(org.apache.pdfbox.cos.COSDictionary fontData,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addFont(org.apache.pdfbox.cos.COSDictionary fontData) |
protected FontContainer |
getFont(org.apache.pdfbox.cos.COSDictionary fontData) |
java.lang.String |
getFontName() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getMappedWord(java.util.List<java.lang.String> word,
byte[] bytes,
FontContainer oldFont) |
org.apache.fop.pdf.PDFDictionary |
getRef() |
java.util.Map<java.lang.Integer,java.lang.Integer> |
getWidthsMap() |
boolean |
isEmbeddable() |
protected static void |
mergeMaxp(org.apache.fontbox.ttf.TrueTypeFont ttf,
MaximumProfileTable outMaxp) |
protected static void |
setProperties(org.apache.fop.fonts.CustomFont cFont,
org.apache.pdfbox.pdmodel.font.PDFont font) |
void |
setRef(org.apache.fop.pdf.PDFDictionary d) |
int |
size() |
addPrivateUseMapping, charSequenceToGlyphSequence, findGlyphIndex, getBoundingBox, getChars, getCIDSet, getCIDType, getCmapStream, getDefaultWidth, getEmbedFontName, getEncodingName, getGDEF, getGIDFromChar, getGlyphIndices, getGPOS, getGSUB, getOrdering, getRegistry, getSupplement, getSVG, getTTCName, getUnicodeFromGID, getUnscaledWidths, getUsedGlyphNames, getUsedGlyphs, getWidth, getWidths, hasChar, hasCodePoint, hasFeature, isOTFFile, isSubsetEmbedded, mapChar, mapCodePoint, mapUsedGlyphName, performPositioning, performPositioning, performsPositioning, performsSubstitution, performSubstitution, reorderCombiningMarks, setBBoxArray, setCIDType, setDefaultWidth, setGDEF, setGPOS, setGSUB, setIsOTFFile, setTTCName, setWidthArray
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, getSimulateStyle, getStemV, getStrikeoutPosition, getStrikeoutThickness, getStrippedFontName, getUnderlinePosition, getUnderlineThickness, 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, setXHeight
getMaxAscent, hadMappingOperations, isCID, notifyMapOperation, setEventListener, toString, warnMissingGlyph
public FOPPDFMultiByteFont(org.apache.pdfbox.cos.COSDictionary fontData, java.lang.String name) throws java.io.IOException
java.io.IOException
public java.lang.String addFont(org.apache.pdfbox.cos.COSDictionary fontData) throws java.io.IOException
java.io.IOException
public java.util.Map<java.lang.Integer,java.lang.Integer> getWidthsMap()
getWidthsMap
in class org.apache.fop.fonts.MultiByteFont
public org.apache.fop.pdf.PDFDictionary getRef()
public void setRef(org.apache.fop.pdf.PDFDictionary d)
public int size()
public boolean isEmbeddable()
isEmbeddable
in interface org.apache.fop.fonts.FontDescriptor
isEmbeddable
in class org.apache.fop.fonts.MultiByteFont
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class org.apache.fop.fonts.CustomFont
java.io.IOException
protected FontContainer getFont(org.apache.pdfbox.cos.COSDictionary fontData) throws java.io.IOException
java.io.IOException
protected static void setProperties(org.apache.fop.fonts.CustomFont cFont, org.apache.pdfbox.pdmodel.font.PDFont font) throws java.io.IOException
java.io.IOException
protected static void mergeMaxp(org.apache.fontbox.ttf.TrueTypeFont ttf, MaximumProfileTable outMaxp) throws java.io.IOException
java.io.IOException
public java.lang.String getMappedWord(java.util.List<java.lang.String> word, byte[] bytes, FontContainer oldFont)
public java.lang.String getFontName()
Copyright 2007-2024 The Apache Software Foundation. All Rights Reserved.