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

📄 enumeratettc.html

📁 java编程java编程java编程java编程java编程java编程java编程
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</DL>
</DL>
<HR>

<A NAME="hhea"><!-- --></A><H3>
hhea</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/TrueTypeFont.HorizontalHeader.html">TrueTypeFont.HorizontalHeader</A> <B>hhea</B></PRE>
<DL>
<DD>The content of table 'hhea'.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="os_2"><!-- --></A><H3>
os_2</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/TrueTypeFont.WindowsMetrics.html">TrueTypeFont.WindowsMetrics</A> <B>os_2</B></PRE>
<DL>
<DD>The content of table 'OS/2'.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="GlyphWidths"><!-- --></A><H3>
GlyphWidths</H3>
<PRE>
protected int[] <B>GlyphWidths</B></PRE>
<DL>
<DD>The width of the glyphs. This is essentially the content of table 'hmtx' normalized to 1000 units.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cmap10"><!-- --></A><H3>
cmap10</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/HashMap.html">HashMap</A> <B>cmap10</B></PRE>
<DL>
<DD>The map containing the code information for the table 'cmap', encoding 1.0. The key is the code and the value is an <CODE>int[2]</CODE> where position 0 is the glyph number and position 1 is the glyph width normalized to 1000 units.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="cmap31"><!-- --></A><H3>
cmap31</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/HashMap.html">HashMap</A> <B>cmap31</B></PRE>
<DL>
<DD>The map containing the code information for the table 'cmap', encoding 3.1 in Unicode. <P> The key is the code and the value is an <CODE>int</CODE>[2] where position 0 is the glyph number and position 1 is the glyph width normalized to 1000 units.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="kerning"><!-- --></A><H3>
kerning</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/HashMap.html">HashMap</A> <B>kerning</B></PRE>
<DL>
<DD>The map containig the kerning information. It represents the content of table 'kern'. The key is an <CODE>Integer</CODE> where the top 16 bits are the Unicode for the first character and the lower 16 bits are the Unicode for the second character. The value is the amount of kerning in normalized 1000 units as an <CODE>Integer</CODE>. This value is usually negative.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="fontName"><!-- --></A><H3>
fontName</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>fontName</B></PRE>
<DL>
<DD>The font name. This name is usually extracted from the table 'name' with the 'Name ID' 6.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="fullName"><!-- --></A><H3>
fullName</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>[][] <B>fullName</B></PRE>
<DL>
<DD>The full name of the font
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="familyName"><!-- --></A><H3>
familyName</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>[][] <B>familyName</B></PRE>
<DL>
<DD>The family name of the font
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="italicAngle"><!-- --></A><H3>
italicAngle</H3>
<PRE>
protected double <B>italicAngle</B></PRE>
<DL>
<DD>The italic angle. It is usually extracted from the 'post' table or in it's absence with the code: <P> <PRE> -Math.atan2(hhea.caretSlopeRun, hhea.caretSlopeRise) * 180 / Math.PI </PRE>
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="isFixedPitch"><!-- --></A><H3>
isFixedPitch</H3>
<PRE>
protected boolean <B>isFixedPitch</B></PRE>
<DL>
<DD><CODE>true</CODE> if all the glyphs have the same width.
<P>
<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="EnumerateTTC(java.lang.String)"><!-- --></A><H3>
EnumerateTTC</H3>
<PRE>
<B>EnumerateTTC</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;ttcFile)       throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A>,              <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
</DL>
<HR>

<A NAME="EnumerateTTC(byte[])"><!-- --></A><H3>
EnumerateTTC</H3>
<PRE>
<B>EnumerateTTC</B>(byte[]&nbsp;ttcArray)       throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A>,              <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
</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="findNames()"><!-- --></A><H3>
findNames</H3>
<PRE>
void <B>findNames</B>()         throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A>,                <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="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE><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="getNames()"><!-- --></A><H3>
getNames</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>[] <B>getNames</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getTTCName(java.lang.String)"><!-- --></A><H3>
getTTCName</H3>
<PRE>
protected static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>getTTCName</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;name)</PRE>
<DL>
<DD>Gets the name from a composed TTC file name. If I have for input "myfont.ttc,2" the return will be "myfont.ttc".
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the full name<DT><B>Returns:</B><DD>the simple file name</DL>
</DD>
</DL>
<HR>

<A NAME="fillTables()"><!-- --></A><H3>
fillTables</H3>
<PRE>
void <B>fillTables</B>()          throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A>,                 <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>Reads the tables 'head', 'hhea', 'OS/2' and 'post' filling several variables.
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE> - the font is invalid<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="getBaseFont()"><!-- --></A><H3>
getBaseFont</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>getBaseFont</B>()             throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A>,                    <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>Gets the Postscript font name.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the Postscript font name<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE> - the font is invalid<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="getNames(int)"><!-- --></A><H3>

⌨️ 快捷键说明

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