📄 cfffontsubset.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CreateNonCIDPrivate(int, com.lowagie.text.pdf.CFFFont.OffsetItem)">CreateNonCIDPrivate</A></B>(int Font, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A> Subr)</CODE><BR> The function creates a private dict for a font that was not CID All the keys are copied as is except for the subrs key</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#CreateNonCIDSubrs(int, com.lowagie.text.pdf.CFFFont.IndexBaseItem, com.lowagie.text.pdf.CFFFont.OffsetItem)">CreateNonCIDSubrs</A></B>(int Font, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.IndexBaseItem.html" title="class in com.lowagie.text.pdf">CFFFont.IndexBaseItem</A> PrivateBase, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A> Subrs)</CODE><BR> the function marks the beginning of the subrs index and adds the subsetted subrs index to the output list.</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#EmptyStack()">EmptyStack</A></B>()</CODE><BR> Empty the Type2 Stack</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#HandelStack()">HandelStack</A></B>()</CODE><BR> Function Checks how the current operator effects the run time stack after being run An operator may increase or decrease the stack size</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#PopStack()">PopStack</A></B>()</CODE><BR> Pop one element from the stack</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#Process(java.lang.String)">Process</A></B>(<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> fontName)</CODE><BR> The Process function extracts one font out of the CFF file and returns a subset version of the original.</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#PushStack()">PushStack</A></B>()</CODE><BR> Add an item to the stack</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#ReadASubr(int, int, int, int, java.util.HashMap, java.util.ArrayList, int[])">ReadASubr</A></B>(int begin, int end, int GBias, int LBias, <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, int[] LSubrsOffsets)</CODE><BR> The function reads a subrs (glyph info) between begin and end.</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#ReadCommand()">ReadCommand</A></B>()</CODE><BR> The function reads the next command after the file pointer is set</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#ReadFDArray(int)">ReadFDArray</A></B>(int Font)</CODE><BR> Read the FDArray count, offsize and 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#readFDSelect(int)">readFDSelect</A></B>(int Font)</CODE><BR> Read the FDSelect of the font and compute the array and its length</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#Reconstruct(int)">Reconstruct</A></B>(int Font)</CODE><BR> Function reconstructs the FDArray, PrivateDict and LSubr for CID fonts</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#ReconstructFDArray(int, com.lowagie.text.pdf.CFFFont.OffsetItem[])">ReconstructFDArray</A></B>(int Font, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A>[] fdPrivate)</CODE><BR> Function subsets the FDArray and builds the new one with new offsets</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#ReconstructPrivateDict(int, com.lowagie.text.pdf.CFFFont.OffsetItem[], com.lowagie.text.pdf.CFFFont.IndexBaseItem[], com.lowagie.text.pdf.CFFFont.OffsetItem[])">ReconstructPrivateDict</A></B>(int Font, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A>[] fdPrivate, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.IndexBaseItem.html" title="class in com.lowagie.text.pdf">CFFFont.IndexBaseItem</A>[] fdPrivateBase, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A>[] fdSubrs)</CODE><BR> Function Adds the new private dicts (only for the FDs used) to the list</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/CFFFontSubset.html#ReconstructPrivateSubrs(int, com.lowagie.text.pdf.CFFFont.IndexBaseItem[], com.lowagie.text.pdf.CFFFont.OffsetItem[])">ReconstructPrivateSubrs</A></B>(int Font, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.IndexBaseItem.html" title="class in com.lowagie.text.pdf">CFFFont.IndexBaseItem</A>[] fdPrivateBase, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.OffsetItem.html" title="class in com.lowagie.text.pdf">CFFFont.OffsetItem</A>[] fdSubrs)</CODE><BR> Function Adds the new LSubrs dicts (only for the FDs used) to the list</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#StackOpp()">StackOpp</A></B>()</CODE><BR> Function checks the key and return the change to the stack after the operator</TD></TR></TABLE> <A NAME="methods_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>Methods 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#exists(java.lang.String)">exists</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getCard16()">getCard16</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getCard8()">getCard8</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getCID(java.lang.String)">getCID</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getDictItem()">getDictItem</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getEntireIndexRange(int)">getEntireIndexRange</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getIndex(int)">getIndex</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getInt()">getInt</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getNames()">getNames</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getOffset(int)">getOffset</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getPosition()">getPosition</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getShort()">getShort</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#getString(char)">getString</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#isCID(java.lang.String)">isCID</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#ReadEncoding(int)">ReadEncoding</A>, <A HREF="../../../../com/lowagie/text/pdf/CFFFont.html#seek(int)">seek</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="SubrsFunctions"><!-- --></A><H3>SubrsFunctions</H3><PRE>static final <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>[] <B>SubrsFunctions</B></PRE><DL><DD>The Strings in this array represent Type1/Type2 operator names<P><DL></DL></DL><HR><A NAME="SubrsEscapeFuncs"><!-- --></A><H3>SubrsEscapeFuncs</H3><PRE>static final <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>[] <B>SubrsEscapeFuncs</B></PRE><DL><DD>The Strings in this array represent Type1/Type2 escape operator names<P><DL></DL></DL><HR><A NAME="GlyphsUsed"><!-- --></A><H3>GlyphsUsed</H3><PRE><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> <B>GlyphsUsed</B></PRE><DL><DD>A HashMap containing the glyphs used in the text after being converted to glyph number by the CMap<P><DL></DL></DL><HR><A NAME="glyphsInList"><!-- --></A><H3>glyphsInList</H3><PRE><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> <B>glyphsInList</B></PRE><DL><DD>The GlyphsUsed keys as an ArrayList<P><DL></DL></DL><HR><A NAME="FDArrayUsed"><!-- --></A><H3>FDArrayUsed</H3><PRE><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> <B>FDArrayUsed</B></PRE><DL><DD>A HashMap for keeping the FDArrays being used by the font<P><DL></DL></DL><HR><A NAME="hSubrsUsed"><!-- --></A><H3>hSubrsUsed</H3><PRE><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>[] <B>hSubrsUsed</B></PRE><DL><DD>A HashMaps array for keeping the subroutines used in each FontDict<P><DL></DL></DL><HR><A NAME="lSubrsUsed"><!-- --></A><H3>lSubrsUsed</H3><PRE><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>[] <B>lSubrsUsed</B></PRE><DL><DD>The SubroutinesUsed HashMaps as ArrayLists<P><DL></DL></DL><HR><A NAME="hGSubrsUsed"><!-- --></A><H3>hGSubrsUsed</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -