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

📄 fontdetails.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<DL><DD>The indirect reference to this font<P><DL></DL></DL><HR><A NAME="fontName"><!-- --></A><H3>fontName</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A> <B>fontName</B></PRE><DL><DD>The font name that appears in the document body stream<P><DL></DL></DL><HR><A NAME="baseFont"><!-- --></A><H3>baseFont</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/BaseFont.html" title="class in com.lowagie.text.pdf">BaseFont</A> <B>baseFont</B></PRE><DL><DD>The font<P><DL></DL></DL><HR><A NAME="ttu"><!-- --></A><H3>ttu</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/TrueTypeFontUnicode.html" title="class in com.lowagie.text.pdf">TrueTypeFontUnicode</A> <B>ttu</B></PRE><DL><DD>The font if its an instance of <CODE>TrueTypeFontUnicode</CODE><P><DL></DL></DL><HR><A NAME="cjkFont"><!-- --></A><H3>cjkFont</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/CJKFont.html" title="class in com.lowagie.text.pdf">CJKFont</A> <B>cjkFont</B></PRE><DL><DL></DL></DL><HR><A NAME="shortTag"><!-- --></A><H3>shortTag</H3><PRE>byte[] <B>shortTag</B></PRE><DL><DD>The array used with single byte encodings<P><DL></DL></DL><HR><A NAME="longTag"><!-- --></A><H3>longTag</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>longTag</B></PRE><DL><DD>The map used with double byte encodings. The key is Integer(glyph) and the value is int[]{glyph, width, Unicode code}<P><DL></DL></DL><HR><A NAME="cjkTag"><!-- --></A><H3>cjkTag</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/IntHashtable.html" title="class in com.lowagie.text.pdf">IntHashtable</A> <B>cjkTag</B></PRE><DL><DL></DL></DL><HR><A NAME="fontType"><!-- --></A><H3>fontType</H3><PRE>int <B>fontType</B></PRE><DL><DD>The font type<P><DL></DL></DL><HR><A NAME="symbolic"><!-- --></A><H3>symbolic</H3><PRE>boolean <B>symbolic</B></PRE><DL><DD><CODE>true</CODE> if the font is symbolic<P><DL></DL></DL><HR><A NAME="subset"><!-- --></A><H3>subset</H3><PRE>protected boolean <B>subset</B></PRE><DL><DD>Indicates if all the glyphs and widths for that particular encoding should be included in the document.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="FontDetails(com.lowagie.text.pdf.PdfName, com.lowagie.text.pdf.PdfIndirectReference, com.lowagie.text.pdf.BaseFont)"><!-- --></A><H3>FontDetails</H3><PRE><B>FontDetails</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A>&nbsp;fontName,            <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html" title="class in com.lowagie.text.pdf">PdfIndirectReference</A>&nbsp;indirectReference,            <A HREF="../../../../com/lowagie/text/pdf/BaseFont.html" title="class in com.lowagie.text.pdf">BaseFont</A>&nbsp;baseFont)</PRE><DL><DD>Each font used in a document has an instance of this class. This class stores the characters used in the document and other specifics unique to the current working document.<P><DL><DT><B>Parameters:</B><DD><CODE>fontName</CODE> - the font name<DD><CODE>indirectReference</CODE> - the indirect reference to the font<DD><CODE>baseFont</CODE> - the <CODE>BaseFont</CODE></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getIndirectReference()"><!-- --></A><H3>getIndirectReference</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html" title="class in com.lowagie.text.pdf">PdfIndirectReference</A> <B>getIndirectReference</B>()</PRE><DL><DD>Gets the indirect reference to this font.<P><DD><DL><DT><B>Returns:</B><DD>the indirect reference to this font</DL></DD></DL><HR><A NAME="getFontName()"><!-- --></A><H3>getFontName</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A> <B>getFontName</B>()</PRE><DL><DD>Gets the font name as it appears in the document body.<P><DD><DL><DT><B>Returns:</B><DD>the font name</DL></DD></DL><HR><A NAME="getBaseFont()"><!-- --></A><H3>getBaseFont</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/BaseFont.html" title="class in com.lowagie.text.pdf">BaseFont</A> <B>getBaseFont</B>()</PRE><DL><DD>Gets the <CODE>BaseFont</CODE> of this font.<P><DD><DL><DT><B>Returns:</B><DD>the <CODE>BaseFont</CODE> of this font</DL></DD></DL><HR><A NAME="convertToBytes(java.lang.String)"><!-- --></A><H3>convertToBytes</H3><PRE>byte[] <B>convertToBytes</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>&nbsp;text)</PRE><DL><DD>Converts the text into bytes to be placed in the document. The conversion is done according to the font and the encoding and the characters used are stored.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to convert<DT><B>Returns:</B><DD>the conversion</DL></DD></DL><HR><A NAME="writeFont(com.lowagie.text.pdf.PdfWriter)"><!-- --></A><H3>writeFont</H3><PRE>void <B>writeFont</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer)</PRE><DL><DD>Writes the font definition to the document.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <CODE>PdfWriter</CODE> of this document</DL></DD></DL><HR><A NAME="isSubset()"><!-- --></A><H3>isSubset</H3><PRE>public boolean <B>isSubset</B>()</PRE><DL><DD>Indicates if all the glyphs and widths for that particular encoding should be included in the document.<P><DD><DL><DT><B>Returns:</B><DD><CODE>false</CODE> to include all the glyphs and widths.</DL></DD></DL><HR><A NAME="setSubset(boolean)"><!-- --></A><H3>setSubset</H3><PRE>public void <B>setSubset</B>(boolean&nbsp;subset)</PRE><DL><DD>Indicates if all the glyphs and widths for that particular encoding should be included in the document. Set to <CODE>false</CODE> to include all.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>subset</CODE> - new value of property subset</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../com/lowagie/text/pdf/FdfWriter.Wrt.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/lowagie/text/pdf/FontMapper.html" title="interface in com.lowagie.text.pdf"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?com/lowagie/text/pdf/FontDetails.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="FontDetails.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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