⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cfffontsubset.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
protected void <B>BuildNewCharString</B>(int&nbsp;FontIndex)                           throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Function uses BuildNewIndex to create the new index of the subset charstrings<P><DD><DL><DT><B>Parameters:</B><DD><CODE>FontIndex</CODE> - the font<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="BuildNewLGSubrs(int)"><!-- --></A><H3>BuildNewLGSubrs</H3><PRE>protected void <B>BuildNewLGSubrs</B>(int&nbsp;Font)                        throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Function builds the new local & global subsrs indices. IF CID then All of  the FD Array lsubrs will be subsetted.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>Font</CODE> - the font<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="BuildFDSubrsOffsets(int, int)"><!-- --></A><H3>BuildFDSubrsOffsets</H3><PRE>protected void <B>BuildFDSubrsOffsets</B>(int&nbsp;Font,                                   int&nbsp;FD)</PRE><DL><DD>The function finds for the FD array processed the local subr offset and its  offset array.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>Font</CODE> - the font<DD><CODE>FD</CODE> - The FDARRAY processed</DL></DD></DL><HR><A NAME="BuildSubrUsed(int, int, int, int[], java.util.HashMap, java.util.ArrayList)"><!-- --></A><H3>BuildSubrUsed</H3><PRE>protected void <B>BuildSubrUsed</B>(int&nbsp;Font,                             int&nbsp;FD,                             int&nbsp;SubrOffset,                             int[]&nbsp;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>&nbsp;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>&nbsp;lSubr)</PRE><DL><DD>Function uses ReadAsubr on the glyph used to build the LSubr & Gsubr HashMap. The HashMap (of the lsubr only) is then scanned recursively for Lsubr & Gsubrs calls.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>Font</CODE> - the font<DD><CODE>FD</CODE> - FD array processed. 0 indicates function was called by non CID font<DD><CODE>SubrOffset</CODE> - the offset to the subr index to calc the bias<DD><CODE>SubrsOffsets</CODE> - the offset array of the subr index<DD><CODE>hSubr</CODE> - HashMap of the subrs used<DD><CODE>lSubr</CODE> - ArrayList of the subrs used</DL></DD></DL><HR><A NAME="BuildGSubrsUsed(int)"><!-- --></A><H3>BuildGSubrsUsed</H3><PRE>protected void <B>BuildGSubrsUsed</B>(int&nbsp;Font)</PRE><DL><DD>Function scans the Glsubr used ArrayList to find recursive calls  to Gsubrs and adds to Hashmap & ArrayList<P><DD><DL><DT><B>Parameters:</B><DD><CODE>Font</CODE> - the font</DL></DD></DL><HR><A NAME="ReadASubr(int, int, int, int, java.util.HashMap, java.util.ArrayList, int[])"><!-- --></A><H3>ReadASubr</H3><PRE>protected void <B>ReadASubr</B>(int&nbsp;begin,                         int&nbsp;end,                         int&nbsp;GBias,                         int&nbsp;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>&nbsp;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>&nbsp;lSubr,                         int[]&nbsp;LSubrsOffsets)</PRE><DL><DD>The function reads a subrs (glyph info) between begin and end. Adds calls to a Lsubr to the hSubr and lSubrs. Adds calls to a Gsubr to the hGSubr and lGSubrs.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>begin</CODE> - the start point of the subr<DD><CODE>end</CODE> - the end point of the subr<DD><CODE>GBias</CODE> - the bias of the Global Subrs<DD><CODE>LBias</CODE> - the bias of the Local Subrs<DD><CODE>hSubr</CODE> - the HashMap for the lSubrs<DD><CODE>lSubr</CODE> - the ArrayList for the lSubrs</DL></DD></DL><HR><A NAME="HandelStack()"><!-- --></A><H3>HandelStack</H3><PRE>protected void <B>HandelStack</B>()</PRE><DL><DD>Function Checks how the current operator effects the run time stack after being run  An operator may increase or decrease the stack size<P><DD><DL></DL></DD></DL><HR><A NAME="StackOpp()"><!-- --></A><H3>StackOpp</H3><PRE>protected int <B>StackOpp</B>()</PRE><DL><DD>Function checks the key and return the change to the stack after the operator<P><DD><DL><DT><B>Returns:</B><DD>The change in the stack. 2-> flush the stack</DL></DD></DL><HR><A NAME="EmptyStack()"><!-- --></A><H3>EmptyStack</H3><PRE>protected void <B>EmptyStack</B>()</PRE><DL><DD>Empty the Type2 Stack<P><DD><DL></DL></DD></DL><HR><A NAME="PopStack()"><!-- --></A><H3>PopStack</H3><PRE>protected void <B>PopStack</B>()</PRE><DL><DD>Pop one element from the stack<P><DD><DL></DL></DD></DL><HR><A NAME="PushStack()"><!-- --></A><H3>PushStack</H3><PRE>protected void <B>PushStack</B>()</PRE><DL><DD>Add an item to the stack<P><DD><DL></DL></DD></DL><HR><A NAME="ReadCommand()"><!-- --></A><H3>ReadCommand</H3><PRE>protected void <B>ReadCommand</B>()</PRE><DL><DD>The function reads the next command after the file pointer is set<P><DD><DL></DL></DD></DL><HR><A NAME="CalcHints(int, int, int, int, int[])"><!-- --></A><H3>CalcHints</H3><PRE>protected int <B>CalcHints</B>(int&nbsp;begin,                        int&nbsp;end,                        int&nbsp;LBias,                        int&nbsp;GBias,                        int[]&nbsp;LSubrsOffsets)</PRE><DL><DD>The function reads the subroutine and returns the number of the hint in it. If a call to another subroutine is found the function calls recursively.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>begin</CODE> - the start point of the subr<DD><CODE>end</CODE> - the end point of the subr<DD><CODE>LBias</CODE> - the bias of the Local Subrs<DD><CODE>GBias</CODE> - the bias of the Global Subrs<DD><CODE>LSubrsOffsets</CODE> - The Offsets array of the subroutines<DT><B>Returns:</B><DD>The number of hints in the subroutine read.</DL></DD></DL><HR><A NAME="BuildNewIndex(int[], java.util.HashMap)"><!-- --></A><H3>BuildNewIndex</H3><PRE>protected byte[] <B>BuildNewIndex</B>(int[]&nbsp;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>&nbsp;Used)                        throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Function builds the new offset array, object array and assembles the index. used for creating the glyph and subrs subsetted index<P><DD><DL><DT><B>Parameters:</B><DD><CODE>Offsets</CODE> - the offset array of the original index<DD><CODE>Used</CODE> - the hashmap of the used objects<DT><B>Returns:</B><DD>the new index subset version<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="AssembleIndex(int[], byte[])"><!-- --></A><H3>AssembleIndex</H3><PRE>protected byte[] <B>AssembleIndex</B>(int[]&nbsp;NewOffsets,                               byte[]&nbsp;NewObjects)</PRE><DL><DD>Function creates the new index, inserting the count,offsetsize,offset array and object array.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>NewOffsets</CODE> - the subsetted offset array<DD><CODE>NewObjects</CODE> - the subsetted object array<DT><B>Returns:</B><DD>the new index created</DL></DD></DL><HR><A NAME="BuildNewFile(int)"><!-- --></A><H3>BuildNewFile</H3><PRE>protected byte[] <B>BuildNewFile</B>(int&nbsp;Font)</PRE><DL><DD>The function builds the new output stream according to the subset process<P><DD><DL><DT><B>Parameters:</B><DD><CODE>Font</CODE> - the font<DT><B>Returns:</B><DD>the subsetted font stream</DL></DD></DL><HR><A NAME="CopyHeader()"><!-- --></A><H3>CopyHeader</H3><PRE>protected void <B>CopyHeader</B>()</PRE><DL><DD>Function Copies the header from the original fileto the output list<P><DD><DL></DL></DD></DL><HR><A NAME="BuildIndexHeader(int, int, int)"><!-- --></A><H3>BuildIndexHeader</H3><PRE>protected void <B>BuildIndexHeader</B>(int&nbsp;Count,    

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -