📄 truetypefontunicode.html
字号:
tables</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/HashMap.html">HashMap</A> <B>tables</B></PRE>
<DL>
<DD>Contains the location of the several tables. The key is the name of the table and the value is an <CODE>int[2]</CODE> where position 0 is the offset from the start of the file and position 1 is the length of the table.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="rf"><!-- --></A><H3>
rf</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/RandomAccessFileOrArray.html">RandomAccessFileOrArray</A> <B>rf</B></PRE>
<DL>
<DD>The file in use.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="fileName"><!-- --></A><H3>
fileName</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>fileName</B></PRE>
<DL>
<DD>The file name.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="cff"><!-- --></A><H3>
cff</H3>
<PRE>
protected boolean <B>cff</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="cffOffset"><!-- --></A><H3>
cffOffset</H3>
<PRE>
protected int <B>cffOffset</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="cffLength"><!-- --></A><H3>
cffLength</H3>
<PRE>
protected int <B>cffLength</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="directoryOffset"><!-- --></A><H3>
directoryOffset</H3>
<PRE>
protected int <B>directoryOffset</B></PRE>
<DL>
<DD>The offset from the start of the file to the table directory. It is 0 for TTF and may vary for TTC depending on the chosen font.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="ttcIndex"><!-- --></A><H3>
ttcIndex</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>ttcIndex</B></PRE>
<DL>
<DD>The index for the TTC font. It is an empty <CODE>String</CODE> for a TTF file.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="style"><!-- --></A><H3>
style</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>style</B></PRE>
<DL>
<DD>The style modifier
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="head"><!-- --></A><H3>
head</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/TrueTypeFont.FontHeader.html">TrueTypeFont.FontHeader</A> <B>head</B></PRE>
<DL>
<DD>The content of table 'head'.
<P>
<DL>
</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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -