📄 cfffontsubset.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/LinkedList.html?is-external=true" title="class or interface in java.util">LinkedList</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#OutputList">OutputList</A></B></CODE><BR> The linked list for generating the new font stream</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#SubrsEscapeFuncs">SubrsEscapeFuncs</A></B></CODE><BR> The Strings in this array represent Type1/Type2 escape operator names</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#SubrsFunctions">SubrsFunctions</A></B></CODE><BR> The Strings in this array represent Type1/Type2 operator names</TD></TR></TABLE> <A NAME="fields_inherited_from_class_com.lowagie.text.pdf.CFFFont"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Fields inherited from class com.lowagie.text.pdf.<A HREF="../../../../com/lowagie/text/pdf/CFFFont.html" title="class in com.lowagie.text.pdf">CFFFont</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#arg_count">arg_count</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#args">args</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#buf">buf</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#fonts">fonts</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#gsubrIndexOffset">gsubrIndexOffset</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#gsubrOffsets">gsubrOffsets</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#key">key</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#nameIndexOffset">nameIndexOffset</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#nameOffsets">nameOffsets</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#nextIndexOffset">nextIndexOffset</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#operatorNames">operatorNames</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#standardStrings">standardStrings</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#stringIndexOffset">stringIndexOffset</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#stringOffsets">stringOffsets</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#topdictIndexOffset">topdictIndexOffset</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#topdictOffsets">topdictOffsets</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CFFFontSubset(com.lowagie.text.pdf.RandomAccessFileOrArray, java.util.HashMap)">CFFFontSubset</A></B>(<A HREF="../../../../com/lowagie/text/pdf/RandomAccessFileOrArray.html" title="class in com.lowagie.text.pdf">RandomAccessFileOrArray</A> rf, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A> GlyphsUsed)</CODE><BR> C'tor for CFFFontSubset</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#AssembleIndex(int[], byte[])">AssembleIndex</A></B>(int[] NewOffsets, byte[] NewObjects)</CODE><BR> Function creates the new index, inserting the count,offsetsize,offset array and object array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#BuildFDArrayUsed(int)">BuildFDArrayUsed</A></B>(int Font)</CODE><BR> Function reads the FDSelect and builds the FDArrayUsed HashMap According to the glyphs used</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#BuildFDSubrsOffsets(int, int)">BuildFDSubrsOffsets</A></B>(int Font, int FD)</CODE><BR> The function finds for the FD array processed the local subr offset and its offset array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#BuildGSubrsUsed(int)">BuildGSubrsUsed</A></B>(int Font)</CODE><BR> Function scans the Glsubr used ArrayList to find recursive calls to Gsubrs and adds to Hashmap & ArrayList</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#BuildIndexHeader(int, int, int)">BuildIndexHeader</A></B>(int Count, int Offsize, int First)</CODE><BR> Function Build the header of an index</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#BuildNewCharString(int)">BuildNewCharString</A></B>(int FontIndex)</CODE><BR> Function uses BuildNewIndex to create the new index of the subset charstrings</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#BuildNewFile(int)">BuildNewFile</A></B>(int Font)</CODE><BR> The function builds the new output stream according to the subset process</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#BuildNewIndex(int[], java.util.HashMap)">BuildNewIndex</A></B>(int[] Offsets, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A> Used)</CODE><BR> Function builds the new offset array, object array and assembles the index.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#BuildNewLGSubrs(int)">BuildNewLGSubrs</A></B>(int Font)</CODE><BR> Function builds the new local & global subsrs indices.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#BuildSubrUsed(int, int, int, int[], java.util.HashMap, java.util.ArrayList)">BuildSubrUsed</A></B>(int Font, int FD, int SubrOffset, int[] SubrsOffsets, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A> hSubr, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> lSubr)</CODE><BR> Function uses ReadAsubr on the glyph used to build the LSubr & Gsubr HashMap.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CalcBias(int, int)">CalcBias</A></B>(int Offset, int Font)</CODE><BR> Function calcs bias according to the CharString type and the count of the subrs</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CalcHints(int, int, int, int, int[])">CalcHints</A></B>(int begin, int end, int LBias, int GBias, int[] LSubrsOffsets)</CODE><BR> The function reads the subroutine and returns the number of the hint in it.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CalcSubrOffsetSize(int, int)">CalcSubrOffsetSize</A></B>(int Offset, int Size)</CODE><BR> Calculates how many byte it took to write the offset for the subrs in a specific private dict.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CopyHeader()">CopyHeader</A></B>()</CODE><BR> Function Copies the header from the original fileto the output list</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CountCharset(int, int)">CountCharset</A></B>(int Offset, int NumofGlyphs)</CODE><BR> Calculates the length of the charset according to its format</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#countEntireIndexRange(int)">countEntireIndexRange</A></B>(int indexOffset)</CODE><BR> Function computes the size of an index</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CountRange(int, int)">CountRange</A></B>(int NumofGlyphs, int Type)</CODE><BR> Function calculates the number of ranges in the Charset</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CreateCharset(com.lowagie.text.pdf.CFFFont.OffsetItem, int)">CreateCharset</A></B>(<A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A> charsetRef, int nglyphs)</CODE><BR> Function creates new CharSet for non-CID fonts.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CreateFDArray(com.lowagie.text.pdf.CFFFont.OffsetItem, com.lowagie.text.pdf.CFFFont.OffsetItem, int)">CreateFDArray</A></B>(<A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A> fdarrayRef, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A> privateRef, int Font)</CODE><BR> Function creates new FDArray for non-CID fonts.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CreateFDSelect(com.lowagie.text.pdf.CFFFont.OffsetItem, int)">CreateFDSelect</A></B>(<A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A> fdselectRef, int nglyphs)</CODE><BR> Function creates new FDSelect for non-CID fonts.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CreateKeys(com.lowagie.text.pdf.CFFFont.OffsetItem, com.lowagie.text.pdf.CFFFont.OffsetItem, com.lowagie.text.pdf.CFFFont.OffsetItem, com.lowagie.text.pdf.CFFFont.OffsetItem)">CreateKeys</A></B>(<A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A> fdarrayRef, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A> fdselectRef, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A> charsetRef, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A> charstringsRef)</CODE><BR> Function adds the keys into the TopDict</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CreateNewStringIndex(int)">CreateNewStringIndex</A></B>(int Font)</CODE><BR> Function takes the original string item and adds the new strings to accommodate the CID rules</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -