|
fop-pdf-images 2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.truetype.OpenFont
org.apache.fop.fonts.truetype.OTFFile
org.apache.fop.fonts.truetype.OTFSubSetWriter
org.apache.fop.render.pdf.pdfbox.OTFSubSetFile
org.apache.fop.render.pdf.pdfbox.MergeCFFFonts
public class MergeCFFFonts
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.fonts.truetype.OpenFont |
---|
org.apache.fop.fonts.truetype.OpenFont.PostScriptVersion |
Field Summary | |
---|---|
protected java.util.List<java.util.Map<java.lang.Integer,java.lang.Integer>> |
subsetGlyphsList
|
Fields inherited from class org.apache.fop.render.pdf.pdfbox.OTFSubSetFile |
---|
cffReader, embeddedName, gidToSID, globalUniques, localUniques, NUM_STANDARD_STRINGS, stringIndexData, subsetCharStringsIndex, subsetLocalIndexSubr |
Fields inherited from class org.apache.fop.fonts.truetype.OTFSubSetWriter |
---|
currentPos, output |
Fields inherited from class org.apache.fop.fonts.truetype.OTFFile |
---|
fileFont |
Fields inherited from class org.apache.fop.fonts.truetype.OpenFont |
---|
advancedTableReader, cid, dirTabs, embedFontName, familyNames, fontFile, fullName, lastLoca, locaFormat, log, mtxTab, nhmtx, notice, numberOfGlyphs, postScriptName, subFamilyName, TRACE_ENABLED, unicodeMappings, useAdvanced, useKerning |
Constructor Summary | |
---|---|
MergeCFFFonts()
|
Method Summary | |
---|---|
protected void |
createCFF()
|
protected void |
createCharStringData()
|
byte[] |
getMergedFontSubset()
|
static java.util.List<java.lang.Integer> |
getSids(org.apache.fontbox.cff.CFFCharset cSet)
|
static java.util.Map<java.lang.String,byte[]> |
getStrings(org.apache.fontbox.cff.CFFFont ff)
|
void |
readFont(java.io.InputStream is,
java.lang.String name,
FontContainer fontContainer,
java.util.Map<java.lang.Integer,java.lang.Integer> subsetGlyphs,
boolean cid)
|
protected void |
updateFixedOffsets(java.util.Map<java.lang.String,org.apache.fop.fonts.cff.CFFDataReader.DICTEntry> topDICT,
org.apache.fop.render.pdf.pdfbox.OTFSubSetFile.Offsets offsets)
|
protected void |
writeCharsetTable(boolean cidFont,
boolean afterstringindex)
|
protected void |
writeEncoding()
|
protected void |
writeStringIndex()
|
Methods inherited from class org.apache.fop.render.pdf.pdfbox.OTFSubSetFile |
---|
createNewRef, updateCIDOffsets, updateOffset, updateOffset, updateOffsets, writeCIDCount, writeIndex, writeIndex, writePrivateDict, writeTopDICT |
Methods inherited from class org.apache.fop.fonts.truetype.OTFSubSetWriter |
---|
concatArray, getFontSubset, writeByte, writeBytes, writeCard16, writeThreeByteNumber, writeULong |
Methods inherited from class org.apache.fop.fonts.truetype.OTFFile |
---|
getCFFData, initializeFont, isType1, readName, updateBBoxAndOffset |
Methods inherited from class org.apache.fop.fonts.truetype.OpenFont |
---|
checkTTC, convertTTFUnit2PDFUnit, createCMaps, determineAscDesc, getAnsiKerning, getBBox, getBBoxRaw, getBoundingBoxes, getCapHeight, getCharSetName, getCharWidth, getCharWidthRaw, getCMaps, getCopyrightNotice, getDirectoryEntry, getEmbedFontName, getFamilyNames, getFirstChar, getFlags, getFontBBox, getFullName, getGDEF, getGPOS, getGSUB, getItalicAngle, getKerning, getLastChar, getLowerCaseAscent, getLowerCaseDescent, getMtx, getNumGlyphs, getPadSize, getPostScriptName, getStemV, getStrikeoutPosition, getStrikeoutThickness, getSubFamilyName, getTTCnames, getUnderlinePosition, getUnderlineThickness, getWeightClass, getWidths, getXHeight, guessVerticalMetricsFromGlyphBBox, handleCharacterSpacing, hasAdvancedTable, initAnsiWidths, isCFF, isEmbeddable, main, printStuff, readCMAP, readDirTabs, readFont, readFont, readFont, readFontHeader, readHorizontalHeader, readHorizontalMetrics, readKerning, readOS2, readPCLT, readPostScript, seekTab, stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<java.util.Map<java.lang.Integer,java.lang.Integer>> subsetGlyphsList
Constructor Detail |
---|
public MergeCFFFonts() throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void readFont(java.io.InputStream is, java.lang.String name, FontContainer fontContainer, java.util.Map<java.lang.Integer,java.lang.Integer> subsetGlyphs, boolean cid) throws java.io.IOException
readFont
in interface MergeFonts
java.io.IOException
public static java.util.List<java.lang.Integer> getSids(org.apache.fontbox.cff.CFFCharset cSet)
public static java.util.Map<java.lang.String,byte[]> getStrings(org.apache.fontbox.cff.CFFFont ff) throws java.io.IOException
java.io.IOException
public byte[] getMergedFontSubset() throws java.io.IOException
getMergedFontSubset
in interface MergeFonts
java.io.IOException
protected void createCFF() throws java.io.IOException
java.io.IOException
protected void writeEncoding() throws java.io.IOException
java.io.IOException
protected void writeStringIndex() throws java.io.IOException
java.io.IOException
protected void createCharStringData() throws java.io.IOException
java.io.IOException
protected void writeCharsetTable(boolean cidFont, boolean afterstringindex) throws java.io.IOException
java.io.IOException
protected void updateFixedOffsets(java.util.Map<java.lang.String,org.apache.fop.fonts.cff.CFFDataReader.DICTEntry> topDICT, org.apache.fop.render.pdf.pdfbox.OTFSubSetFile.Offsets offsets) throws java.io.IOException
updateFixedOffsets
in class OTFSubSetFile
java.io.IOException
|
fop-pdf-images 2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |