?? truetypefontsubset.html
字號:
protected int <B>tableGlyphOffset</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="newLocaTable"><!-- --></A><H3>
newLocaTable</H3>
<PRE>
protected int[] <B>newLocaTable</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="newLocaTableOut"><!-- --></A><H3>
newLocaTableOut</H3>
<PRE>
protected byte[] <B>newLocaTableOut</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="newGlyfTable"><!-- --></A><H3>
newGlyfTable</H3>
<PRE>
protected byte[] <B>newGlyfTable</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="glyfTableRealSize"><!-- --></A><H3>
glyfTableRealSize</H3>
<PRE>
protected int <B>glyfTableRealSize</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="locaTableRealSize"><!-- --></A><H3>
locaTableRealSize</H3>
<PRE>
protected int <B>locaTableRealSize</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="outFont"><!-- --></A><H3>
outFont</H3>
<PRE>
protected byte[] <B>outFont</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="fontPtr"><!-- --></A><H3>
fontPtr</H3>
<PRE>
protected int <B>fontPtr</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="directoryOffset"><!-- --></A><H3>
directoryOffset</H3>
<PRE>
protected int <B>directoryOffset</B></PRE>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="TrueTypeFontSubSet(java.lang.String, com.lowagie.text.pdf.RandomAccessFileOrArray, java.util.HashMap, int, boolean)"><!-- --></A><H3>
TrueTypeFontSubSet</H3>
<PRE>
<B>TrueTypeFontSubSet</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> fileName, <A HREF="../../../../com/lowagie/text/pdf/RandomAccessFileOrArray.html">RandomAccessFileOrArray</A> rf, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/HashMap.html">HashMap</A> glyphsUsed, int directoryOffset, boolean includeCmap)</PRE>
<DL>
<DD>Creates a new TrueTypeFontSubSet
<P>
<DT><B>Parameters:</B><DD><CODE>directoryOffset</CODE> - The offset from the start of the file to the table directory<DD><CODE>fileName</CODE> - the file name of the font<DD><CODE>glyphsUsed</CODE> - the glyphs used<DD><CODE>includeCmap</CODE> - <CODE>true</CODE> if the table cmap is to be included in the generated font</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="process()"><!-- --></A><H3>
process</H3>
<PRE>
byte[] <B>process</B>() throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>, <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD>Does the actual work of subsetting the font.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the subset font<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE> - on error<DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE> - on error</DL>
</DD>
</DL>
<HR>
<A NAME="assembleFont()"><!-- --></A><H3>
assembleFont</H3>
<PRE>
protected void <B>assembleFont</B>() throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>, <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createTableDirectory()"><!-- --></A><H3>
createTableDirectory</H3>
<PRE>
protected void <B>createTableDirectory</B>() throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>, <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="readLoca()"><!-- --></A><H3>
readLoca</H3>
<PRE>
protected void <B>readLoca</B>() throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>, <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createNewGlyphTables()"><!-- --></A><H3>
createNewGlyphTables</H3>
<PRE>
protected void <B>createNewGlyphTables</B>() throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="locaTobytes()"><!-- --></A><H3>
locaTobytes</H3>
<PRE>
protected void <B>locaTobytes</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="flatGlyphs()"><!-- --></A><H3>
flatGlyphs</H3>
<PRE>
protected void <B>flatGlyphs</B>() throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>, <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="checkGlyphComposite(int)"><!-- --></A><H3>
checkGlyphComposite</H3>
<PRE>
protected void <B>checkGlyphComposite</B>(int glyph) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="readStandardString(int)"><!-- --></A><H3>
readStandardString</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>readStandardString</B>(int length) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>Reads a <CODE>String</CODE> from the font file as bytes using the Cp1252 encoding.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>length</CODE> - the length of bytes to read<DT><B>Returns:</B><DD>the <CODE>String</CODE> read<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE> - the font file could not be read</DL>
</DD>
</DL>
<HR>
<A NAME="writeFontShort(int)"><!-- --></A><H3>
writeFontShort</H3>
<PRE>
protected void <B>writeFontShort</B>(int n)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="writeFontInt(int)"><!-- --></A><H3>
writeFontInt</H3>
<PRE>
protected void <B>writeFontInt</B>(int n)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="writeFontString(java.lang.String)"><!-- --></A><H3>
writeFontString</H3>
<PRE>
protected void <B>writeFontString</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> s)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="calculateChecksum(byte[])"><!-- --></A><H3>
calculateChecksum</H3>
<PRE>
protected int <B>calculateChecksum</B>(byte[] b)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/lowagie/text/pdf/TrueTypeFont.WindowsMetrics.html"><B>PREV CLASS</B></A>
<A HREF="../../../../com/lowagie/text/pdf/TrueTypeFontUnicode.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="TrueTypeFontSubSet.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -