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

📄 pclt.htm

📁 TrueType字库标准文档
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<HTML>
<HEAD>
<TITLE>The 'PCLT' Table</TITLE>
<STYLE>
<!--
	BODY  {background: #FFFFFF; link: #000080}
	H1	{font-size: 24pt; color: #c60029}
	H2	{font-size: 18pt; color: black}
	H3    {font-size: 16pt; color: black}
	H4    {font-size: 14pt; color: black}
 CAPTION    {font-size: 16pt; font-weight: Bold}
	A:link {text-decoration: none}
-->
</STYLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000080">
<TABLE WIDTH=480 CELLPADDING=8 CELLSPACING=0 BORDER=0>

<TR><TD><IMG   WIDTH=100 HEIGHT=1 ALT="" SRC="/truetype/otspec/pixel.gif" BORDER=0></TD>
<TD><H1>Table Formats</H1></TD>
</TR>

<TR><TD></TD><TD ALIGN=TOP>
<H2>PCLT - PCL 5 Table</H2>
<P>
The 'PCLT' table is an optional table that is not used directly
by Microsoft Windows v3.1, but it is highly recommended that this
table be present in all TrueType font  files.  Extra information
on many of these fields can be found in the <CITE>HP PCL 5 Printer
Language Technical Reference Manual</CITE> available from Hewlett-Packard
Boise Printer Division.
<P>
The format for the table is:

<TABLE WIDTH=480 BGCOLOR="#F0F0F0">
<THEAD>
<TR>
<TH BGCOLOR="#C0C0C0">Type</TH><TH BGCOLOR="#C0C0C0">Name of Entry</TH></TR>
</THEAD><TBODY>
<TR>
<TD VALIGN=TOP>FIXED</TD><TD VALIGN=TOP>Version</TD></TR>
<TR>
<TD VALIGN=TOP>ULONG</TD><TD VALIGN=TOP>FontNumber</TD></TR>
<TR>
<TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>Pitch</TD></TR>
<TR>
<TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>xHeight</TD></TR>
<TR>
<TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>Style</TD></TR>
<TR>
<TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>TypeFamily</TD></TR>
<TR>
<TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>CapHeight</TD></TR>
<TR>
<TD VALIGN=TOP>USHORT</TD><TD VALIGN=TOP>SymbolSet</TD></TR>
<TR>
<TD VALIGN=TOP>CHAR</TD><TD VALIGN=TOP>Typeface[16]</TD></TR>
<TR>
<TD VALIGN=TOP>CHAR</TD><TD VALIGN=TOP>CharacterComplement[8]</TD></TR>
<TR>
<TD VALIGN=TOP>CHAR</TD><TD VALIGN=TOP>FileName[6]</TD></TR>
<TR>
<TD VALIGN=TOP>CHAR</TD><TD VALIGN=TOP>StrokeWeight</TD></TR>
<TR>
<TD VALIGN=TOP>CHAR</TD><TD VALIGN=TOP>WidthType</TD></TR>
<TR>
<TD VALIGN=TOP>BYTE</TD><TD VALIGN=TOP>SerifStyle</TD></TR>
<TR>
<TD VALIGN=TOP>BYTE</TD><TD VALIGN=TOP>Reserved (pad)</TD></TR>
</TABLE>&nbsp;&nbsp;<P>
<P>


<CITE>Version
</CITE>Table version
number 1.0 is represented as 0x00010000.


<CITE>FontNumber
</CITE>
This 32-bit number is segmented in two parts. The most significant
bit indicates native versus converted format. Only font vendors
should create fonts with this bit zeroed. The 7 next most significant
bits are assigned by Hewlett-Packard Boise Printer Division to
major font vendors. The least significant 24 bits are assigned
by the vendor. Font vendors should attempt to insure that each
of their fonts are marked with unique values.
<P>


<STRONG>Vendor codes:</STRONG>
<TABLE>
<TR>
<TD VALIGN=TOP>A</TD><TD VALIGN=TOP>Adobe Systems</TD></TR>
<TR>
<TD VALIGN=TOP>B</TD><TD VALIGN=TOP>Bitstream Inc.</TD></TR>
<TR>
<TD VALIGN=TOP>C</TD><TD VALIGN=TOP>Agfa Corporation</TD></TR>
<TR>
<TD VALIGN=TOP>H</TD><TD VALIGN=TOP>Bigelow &amp; Holmes</TD></TR>
<TR>
<TD VALIGN=TOP>L</TD><TD VALIGN=TOP>Linotype Company</TD></TR>
<TR>
<TD VALIGN=TOP>M</TD><TD VALIGN=TOP>Monotype Typography Ltd.</TD></TR>
</TABLE>&nbsp;&nbsp;<P>

<P>
<CITE>Pitch

</CITE>The width
of the space in FUnits (FUnits are described by the unitsPerEm
field of the 'head' table). Monospace fonts derive the width of
all characters from this field.

<CITE>xHeight
</CITE>
The height
of the optical line describing the height of the lowercase x in
FUnits. This might not be the same as the measured height of the
lowercase x.

<CITE>Style

</CITE>The most
significant 6 bits are reserved. The 5 next most significant bits
encode structure. The next 3 most significant bits encode appearance
width. The 2 least significant bits encode posture.
<P>

<STRONG>Structure</STRONG>
(bits 5-9)
<TABLE>
<TR>
<TD VALIGN=TOP>0</TD><TD VALIGN=TOP>Solid (normal, black)</TD></TR>
<TR>
<TD VALIGN=TOP>1</TD><TD VALIGN=TOP>Outline (hollow)</TD></TR>
<TR>
<TD VALIGN=TOP>2</TD><TD VALIGN=TOP>Inline (incised, engraved)</TD></TR>
<TR>
<TD VALIGN=TOP>3</TD><TD VALIGN=TOP>Contour, edged (antique, distressed)</TD></TR>
<TR>
<TD VALIGN=TOP>4</TD><TD VALIGN=TOP>Solid with shadow</TD></TR>
<TR>
<TD VALIGN=TOP>5</TD><TD VALIGN=TOP>Outline with shadow</TD></TR>
<TR>
<TD VALIGN=TOP>6</TD><TD VALIGN=TOP>Inline with shadow</TD></TR>
<TR>
<TD VALIGN=TOP>7</TD><TD VALIGN=TOP>Contour, or edged, with shadow</TD></TR>
<TR>
<TD VALIGN=TOP>8</TD><TD VALIGN=TOP>Pattern filled</TD></TR>
<TR>
<TD VALIGN=TOP>9</TD><TD VALIGN=TOP>Pattern filled #1 (when more than one pattern)</TD></TR>
<TR>
<TD VALIGN=TOP>10</TD><TD VALIGN=TOP>Pattern filled #2 (when more than two patterns)</TD></TR>
<TR>
<TD VALIGN=TOP>11</TD><TD VALIGN=TOP>Pattern filled #3 (when more than three patterns)</TD></TR>
<TR>
<TD VALIGN=TOP>12</TD><TD VALIGN=TOP>Pattern filled with shadow</TD></TR>
<TR>
<TD VALIGN=TOP>13</TD><TD VALIGN=TOP>Pattern filled with shadow #1 (when more than one pattern or shadow)</TD></TR>
<TR>
<TD VALIGN=TOP>14</TD><TD VALIGN=TOP>Pattern filled with shadow #2 (when more than two patterns or shadows)</TD></TR>
<TR>
<TD VALIGN=TOP>15</TD><TD VALIGN=TOP>Pattern filled with shadow #3 (when more than three patterns or shadows)</TD></TR>
<TR>
<TD VALIGN=TOP>16</TD><TD VALIGN=TOP>Inverse</TD></TR>
<TR>
<TD VALIGN=TOP>17</TD><TD VALIGN=TOP>Inverse with border</TD></TR>
<TR>
<TD VALIGN=TOP>18-31</TD><TD VALIGN=TOP>reserved</TD></TR>
</TABLE>&nbsp;&nbsp;<P>
<P>

<STRONG>Width</STRONG>
(bits 2-4)
<TABLE>
<TR>
<TD VALIGN=TOP>0</TD><TD VALIGN=TOP>normal</TD></TR>
<TR>
<TD VALIGN=TOP>1</TD><TD VALIGN=TOP>condensed</TD></TR>
<TR>
<TD VALIGN=TOP>2</TD><TD VALIGN=TOP>compressed, extra condensed</TD></TR>
<TR>
<TD VALIGN=TOP>3</TD><TD VALIGN=TOP>extra compressed</TD></TR>
<TR>
<TD VALIGN=TOP>4</TD><TD VALIGN=TOP>ultra compressed</TD></TR>
<TR>
<TD VALIGN=TOP>5</TD><TD VALIGN=TOP>reserved</TD></TR>
<TR>
<TD VALIGN=TOP>6</TD><TD VALIGN=TOP>expanded, extended</TD></TR>
<TR>
<TD VALIGN=TOP>7</TD><TD VALIGN=TOP>extra expanded, extra extended</TD></TR>
</TABLE>&nbsp;&nbsp;<P>
<STRONG>Posture</STRONG>
(bits 0-1)
<TABLE>
<TR>
<TD VALIGN=TOP>0</TD><TD VALIGN=TOP>upright</TD></TR>
<TR>
<TD VALIGN=TOP>1</TD><TD VALIGN=TOP>oblique, italic</TD></TR>
<TR>
<TD VALIGN=TOP>2</TD><TD VALIGN=TOP>alternate italic (backslanted, cursive, swash)</TD></TR>
<TR>
<TD VALIGN=TOP>3</TD><TD VALIGN=TOP>reserved</TD></TR>
</TABLE>&nbsp;&nbsp;<P>
<P>

<CITE>TypeFamily
</CITE>
The 4 most
significant bits are font vendor codes. The 12 least significant
bits are typeface family codes. Both are assigned by HP Boise
Division.
<P>

<STRONG>Vendor Codes</STRONG>
(bits 12-15)
<TABLE>
<TR>
<TD VALIGN=TOP>0</TD><TD VALIGN=TOP>reserved</TD></TR>
<TR>
<TD VALIGN=TOP>1</TD><TD VALIGN=TOP>Agfa Corporation</TD></TR>
<TR>
<TD VALIGN=TOP>2</TD><TD VALIGN=TOP>Bitstream Inc.</TD></TR>
<TR>
<TD VALIGN=TOP>3</TD><TD VALIGN=TOP>Linotype Company</TD></TR>
<TR>
<TD VALIGN=TOP>4</TD><TD VALIGN=TOP>Monotype Typography Ltd.</TD></TR>
<TR>
<TD VALIGN=TOP>5</TD><TD VALIGN=TOP>Adobe Systems</TD></TR>
<TR>
<TD VALIGN=TOP>6</TD><TD VALIGN=TOP>font repackagers</TD></TR>
<TR>
<TD VALIGN=TOP>7</TD><TD VALIGN=TOP>vendors of unique typefaces</TD></TR>
<TR>
<TD VALIGN=TOP>8-15</TD><TD VALIGN=TOP>reserved</TD></TR>
</TABLE>&nbsp;&nbsp;<P>
<P>
<CITE>CapHeight
</CITE>The height
of the optical line describing the top of the uppercase H in FUnits.
This might not be the same as the measured height of the uppercase
H.
<P>

<CITE>SymbolSet
</CITE>The most significant 11 bits are the value of the symbol set
&quot;number&quot; field. The value of the least significant 5
bits, when added to 64, is the ASCII value of the symbol set &quot;ID&quot;
field. Symbol set values are assigned by HP Boise Division. Unbound
fonts, or &quot;typefaces&quot; should have a symbol set value
of 0. See the <CITE>PCL 5 Printer Language Technical Reference Manual</CITE>
or the <CITE>PCL 5 Comparison Guide</CITE> for the most recent published
list of codes.
<P>

<STRONG>Examples</STRONG>
<TABLE>
<TR></TD>
<TD VALIGN=TOP></TD><TD VALIGN=TOP><STRONG>PCL</STRONG></TD><TD VALIGN=TOP><STRONG>decimal</STRONG></TD></TR>
<TR></TD>
<TD VALIGN=TOP>Windows 3.1 &quot;ANSI&quot;</TD>
<TD VALIGN=TOP>19U</TD><TD VALIGN=TOP>629</TD></TR>
<TR></TD>
<TD VALIGN=TOP>Windows 3.0 &quot;ANSI&quot;</TD>
<TD VALIGN=TOP>9U</TD><TD VALIGN=TOP>309</TD></TR>
<TR></TD>
<TD VALIGN=TOP>Adobe &quot;Symbol&quot;</TD>
<TD VALIGN=TOP>19M</TD><TD VALIGN=TOP>621</TD></TR>
<TR></TD>
<TD VALIGN=TOP>Macintosh</TD><TD VALIGN=TOP>12J</TD>
<TD VALIGN=TOP>394</TD></TR>
<TR></TD>
<TD VALIGN=TOP>PostScript ISO Latin 1</TD>
<TD VALIGN=TOP>11J</TD><TD VALIGN=TOP>362</TD></TR>
<TR></TD>
<TD VALIGN=TOP>PostScript Std. Encoding</TD>
<TD VALIGN=TOP>10J</TD><TD VALIGN=TOP>330</TD></TR>
<TR></TD>
<TD VALIGN=TOP>Code Page 1004</TD>
<TD VALIGN=TOP>9J</TD><TD VALIGN=TOP>298</TD></TR>
<TR></TD>
<TD VALIGN=TOP>DeskTop</TD><TD VALIGN=TOP>7J</TD>
<TD VALIGN=TOP>234</TD></TR>
</TABLE>&nbsp;&nbsp;<P>

<P>

<CITE>TypeFace<BR>
</CITE>This 16-byte
ASCII string appears in the &quot;font print&quot; of PCL printers.
Care should be taken to insure that the base string for all typefaces
of a family are consistent, and that the designators for bold,
italic, etc. are standardized.

<P>
<STRONG>Example</STRONG>:

⌨️ 快捷键说明

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