version 1.48, 2015/03/30 21:46:47
|
version 1.49, 2015/04/02 19:17:44
|
Line 41
|
Line 41
|
|
|
width="72" height="48"> </a> </p>
|
width="72" height="48"> </a> </p>
|
<h1 style="clear:both" id="title">WOFF File Format 2.0 </h1>
|
<h1 style="clear:both" id="title">WOFF File Format 2.0 </h1>
|
<h2 id="W3C-doctype">W3C Editors Draft 26 March 2015 </h2>
|
<h2 id="W3C-doctype">W3C Editors Draft 2 April 2015 </h2>
|
<dl>
|
<dl>
|
<dt>This version:</dt>
|
<dt>This version:</dt>
|
<!--<dd> <a href="http://www.w3.org/TR/2014/WD-woff20-20140321/">
|
<!--<dd> <a href="http://www.w3.org/TR/2014/WD-woff20-20140321/">
|
Line 667
|
Line 667
|
<p>Editor's note: Do we need to add the conformance requirement for UA regarding table transforms?</p>
|
<p>Editor's note: Do we need to add the conformance requirement for UA regarding table transforms?</p>
|
</div>
|
</div>
|
|
|
<p>The WOFF 2.0 transformations applied to certain tables are desinged to reduce and/or
|
<p>The WOFF 2.0 transformations applied to certain tables are designed to reduce and/or
|
eliminate the built-in redundancies of the SFNT format and restructure the font data
|
eliminate the built-in redundancies of the SFNT format and restructure the font data
|
stream for more efficient entropy encoding. As a result, the reconstructed font data
|
stream for more efficient entropy encoding. As a result, the reconstructed font data
|
will retain the exact functionality of the input font file, but due to certain possible
|
will retain the exact functionality of the input font file, but due to certain possible
|
encoding variations (such as e.g. various levels of optimization of outline point
|
encoding variations (such as e.g. various levels of optimization of outline point
|
coordinates in the 'glyf' table, or difference in offset calculations of the 'loca' table)
|
coordinates in the 'glyf' table, and/or difference in offset calculations of the 'loca'
|
different WOFF2 decoders may produce an output file that will not be a bitwise match to the
|
table) different WOFF2 decoders may produce an output file that will not be a bitwise
|
input font file. These differences will invalidate the 'DSIG' table, if one is present and,
|
match to the input font file. The font tables of the input font file may also be subjected
|
therefore, the compliant WOFF2 encoder <span class="conform at" id="conform-mustRemoveDSIG">
|
to reordering operations, which may take place either as a part of the encoding process
|
MUST remove the DSIG table from an input font data</span>, prior to applying transformations
|
or the tables can be reordered by a decoder to comply with the recommended table order
|
and entropy coding steps.</p>
|
defined by the [<cite><a href="#ref-OFF">OFF</a></cite>] specification – as a result,
|
|
even if the content of the font data tables is not affected, the table offsets may change.
|
|
These differences between encoded and decoded font data structures will invalidate
|
|
the 'DSIG' table, if one is present; therefore, the compliant WOFF2 encoder
|
|
<span class="conform at" id="conform-mustRemoveDSIG">MUST remove the DSIG table from an input
|
|
font data</span>, prior to applying transformations and entropy coding steps.</p>
|
|
|
<p>The WOFF 2.0 encoders <span class="conform at" id="conform-mustSetBit11">MUST also set
|
<p>The WOFF 2.0 encoders <span class="conform at" id="conform-mustSetBit11">MUST also set
|
bit 11 of the 'flags' field of the <span class=tt>head</span> table</span>
|
bit 11 of the 'flags' field of the <span class=tt>head</span> table</span>
|
Line 1787
|
Line 1792
|
<li>Added new appendix A with the draft text of top-level media type registration for a new 'font' type.</li>
|
<li>Added new appendix A with the draft text of top-level media type registration for a new 'font' type.</li>
|
<li>Added this "Changes" appendix.</li>
|
<li>Added this "Changes" appendix.</li>
|
</ul>
|
</ul>
|
<p>A <a href="http://dev.w3.org/cvsweb/webfonts/WOFF2/spec/Overview.html.diff?r1=1.14;r2=1.48;f=h">color-coded diff</a>
|
<p>A <a href="http://dev.w3.org/cvsweb/webfonts/WOFF2/spec/Overview.html.diff?r1=1.14;r2=1.49;f=h">color-coded diff</a>
|
between the editros draft used to prepare the First Public Working Draft and the editors draft used to prepare
|
between the editros draft used to prepare the First Public Working Draft and the editors draft used to prepare
|
the Last Call Working Draft (this document) is available.</p>
|
the Last Call Working Draft (this document) is available.</p>
|
<br/>
|
<br/>
|