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

📄 ebsc.htm

📁 TrueType字库标准文档
💻 HTM
字号:
<HTML>
<HEAD>
<TITLE>The 'EBSC' 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=530 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>EBSC - Embedded Bitmap Scaling
Table</H2>
<P>
The 'EBSC' table provides a mechanism for
describing embedded bitmaps which are created by scaling other
embedded bitmaps. While this is the sort of thing that outline
font technologies were invented to avoid, there are cases (small
sizes of Kanji, for example) where scaling a bitmap produces a
more legible font than scan-converting an outline. For this reason
the 'EBSC' table allows a font to define a bitmap strike as a
scaled version of another strike.
<P>
The 'EBSC' table begins with a header containing the table version
and number of strikes.

<BR>&nbsp;<BR><FONT SIZE=5>ebscHeader</FONT>
<TABLE WIDTH=530 BGCOLOR="#F0F0F0">
<THEAD>
<TR>
<TH BGCOLOR="#C0C0C0">Type</TH><TH BGCOLOR="#C0C0C0">Name</TH><TH BGCOLOR="#C0C0C0">Description</TH></TR>
</THEAD><TBODY>
<TR>
<TD VALIGN=TOP>FIXED</TD><TD VALIGN=TOP>version</TD><TD VALIGN=TOP>initially defined as 0x00020000</TD></TR>
<TR>
<TD VALIGN=TOP>ULONG</TD><TD VALIGN=TOP>numSizes</TD><TD>&nbsp;</TD></TR>
</TABLE>&nbsp;&nbsp;
<P>
The ebscHeader is followed immediately by
the bitmapScaleTable array. The numSizes in the ebscHeader indicates
the number of bitmapScaleTables in the array. Each strike is defined
by one bitmapScaleTable. 

<BR>&nbsp;<BR><FONT SIZE=5>bitmapScaleTable</FONT>
<TABLE WIDTH=530 BGCOLOR="#F0F0F0">
<THEAD>
<TR>
<TH BGCOLOR="#C0C0C0">Type</TH><TH BGCOLOR="#C0C0C0">Name</TH><TH BGCOLOR="#C0C0C0">Description</TH></TR>
</THEAD><TBODY>
<TR>
<TD VALIGN=TOP>sbitLineMetrics</TD><TD VALIGN=TOP>hori</TD><TD VALIGN=TOP>line metrics</TD></TR>
<TR>
<TD VALIGN=TOP>sbitLineMetrics</TD><TD VALIGN=TOP>vert</TD><TD VALIGN=TOP>line metrics</TD></TR>
<TR>
<TD VALIGN=TOP>BYTE</TD><TD VALIGN=TOP>ppemX</TD><TD VALIGN=TOP>target horizontal pixels per Em</TD></TR>
<TR>
<TD VALIGN=TOP>BYTE</TD><TD VALIGN=TOP>ppemY</TD><TD VALIGN=TOP>target vertical pixels per Em</TD></TR>
<TR>
<TD VALIGN=TOP>BYTE</TD><TD VALIGN=TOP>substitutePpemX</TD><TD VALIGN=TOP>use bitmaps of this size</TD></TR>
<TR>
<TD VALIGN=TOP>BYTE</TD><TD VALIGN=TOP>substitutePpemY</TD><TD VALIGN=TOP>use bitmaps of this size</TD></TR>
</TABLE>&nbsp;&nbsp;
<P>
The line metrics have the same meaning as
those in the bitmapSizeTable, and refer to font wide metrics after
scaling. The ppemX and ppemY values describe the size of the font
after scaling. The substitutePpemX and substitutePpemY values
describe the size of a strike that exists as an sbit in the 'EBLC'
and 'EBDT', and that will be scaled up or down to generate the
new strike.
<P>
Notice that scaling in the x direction is independent of scaling
in the y direction, and their scaling values may differ. A square
aspect-ratio strike could be scaled to a non-square aspect ratio.
Glyph metrics are scaled by the same factor as the pixels per
Em (in the appropriate direction), and are rounded to the nearest
integer pixel.

&nbsp;<br>&nbsp;<br>
<FONT FACE="Arial, Helvetica" SIZE=1>
Microsoft Typography Web Site <A HREF="/truetype/otspec/CPYRIGHT.htm">&copy; 1996 Microsoft Corporation</A>
<BR>
Comments to the Microsoft Typography group: <A HREF="mailto:ttwsite@microsoft.com">ttwsite@microsoft.com</A>
<BR>
<A HREF="/truetype/default.htm">Home</a> | <a href="/truetype/creators.htm"> Information for Developers</a>
&nbsp;<BR>
Last updated 05 September 1996

</FONT>
</TD></TR>
</TABLE>
</BODY>
</HTML>

⌨️ 快捷键说明

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