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

📄 mmfx.htm

📁 TrueType字库标准文档
💻 HTM
字号:
<HTML>
<HEAD>
<TITLE>The 'MMFX' 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>MMFX</H2>
<p>This table stores multiple master metrics as self-delimiting
Type 2 font programs. The metric value of a particular instance
is found by interpreting the metric charstring at that instance yielding a
metric value on the Type 2 interpreter stack. The MMFX table consists of a header that contains a version number (version), initially set to 1.0 (0x00010000), and offsets to
the metric id table, ascent, descent, and lineGap metrics (id, ascent, descent,
and lineGap). The ascent, descent, and lineGap fields are the multiple master
equivalents of the single master metrics found in the hhea table. An empty
(missing) id table is indicated with a NULL offset.<BR>&nbsp;

<TABLE BGCOLOR="#F0F0F0"  WIDTH="50%" BORDER=0 CELLPADDING=3>
<THEAD><TR>
<TH BGCOLOR="#C0C0C0">Type</TH><TH BGCOLOR="#C0C0C0">Name</TH><TH BGCOLOR="#C0C0C0">    Description</TH></TR></THEAD>
<TBODY>
<TR><TD VALIGN=TOP>fixed32</TD><TD VALIGN=TOP> version</TD><TD NOWRAP=NOWRAP>Version of MMFX table--Initially 0x00010000</TD></TR>
<TR><TD VALIGN=TOP>Offset</TD><TD VALIGN=TOP>metricId</TD><TD NOWRAP=NOWRAP>Offset to metric id table--from beginning of MMFX table--May be NULL</TD></TR>
<TR><TD VALIGN=TOP>Offset</TD><TD VALIGN=TOP>ascent</TD><TD NOWRAP=NOWRAP>Offset to MM ascent metric--from beginning of MMFX table</TD></TR>
<TR><TD VALIGN=TOP>Offset</TD><TD VALIGN=TOP>descent</TD><TD NOWRAP=NOWRAP>Offset to MM descent metric--from beginning of MMFX table</TD></TR>
<TR><TD VALIGN=TOP>Offset</TD><TD VALIGN=TOP>lineGap</TD><TD NOWRAP=NOWRAP>Offset to MM lineGap metric--from beginning of MMFX table</TD></TR>
</TABLE>&nbsp;&nbsp;<P>

<H2>Metric Id Table</H2>
<p>The metric id table stores interpreted metrics that are accessed using metric ids specified in the GPOS, BASE, or GDEF tables. It consists of an id count (nIds), and offset size (offSize), and an array of offsets (offset). The offSize field may specify 2- or 4-byte offsets based on the maximum offset that is stored in the array.

<p>An id is used to index the offset array and thereby
locate the corresponding charstring which is interpreted to yield the required
metric.<BR>&nbsp;

<TABLE BGCOLOR="#F0F0F0"  WIDTH=480 BORDER=0 CELLPADDING=3>
<THEAD>
<TR><TH BGCOLOR="#C0C0C0">Type</TH><TH BGCOLOR="#C0C0C0">Name</TH><TH BGCOLOR="#C0C0C0">Description</TH></TR></THEAD>
<TBODY>
<TR><TD VALIGN=TOP>uint16</TD><TD VALIGN=TOP>nIds</TD><TD VALIGN=TOP>Number of id-indexed metrics</TD></TR>
<TR><TD VALIGN=TOP>uint16</TD><TD VALIGN=TOP>offSize</TD><TD VALIGN=TOP>Offset size (bytes)</TD></TR>
<TR><TD VALIGN=TOP>Offset</TD><TD VALIGN=TOP>offset[nIds]</TD><TD VALIGN=TOP>Offset array--from beginning of MMFX table</TD></TR>
</TABLE>&nbsp;&nbsp;<P>

The interpreted metric data follows the metric id
table.

<p>The API interface to the MMFX table requires the
device context and metric id parameters and returns X or Y fixed32 results.

&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></TABLE>
</BODY>
</HTML>


⌨️ 快捷键说明

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