Skip to content

Commit f358a32

Browse files
author
reffy-bot
committed
Update of ED report from new reffy run
Using reffy commit 19.1.7.
1 parent f4e7a15 commit f358a32

15 files changed

+1763
-1549
lines changed

ed/algorithms/IFT.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
]
9999
},
100100
{
101-
"html": "The following selection criteria minimizes round trips and must be used by the client when selecting a single partial or full invalidation patch in step 8\nof <a data-link-type=\"abstract-op\" href=\"https://w3c.github.io/IFT/Overview.html#abstract-opdef-extend-an-incremental-font-subset\" id=\"ref-for-abstract-opdef-extend-an-incremental-font-subset②\">Extend an Incremental Font Subset</a>:",
101+
"html": "<span class=\"conform\" id=\"conform-required-selection-criteria\">The following selection criteria minimizes round trips and must be used by the client when selecting a single partial or full invalidation patch in step 8\nof <a data-link-type=\"abstract-op\" href=\"https://w3c.github.io/IFT/Overview.html#abstract-opdef-extend-an-incremental-font-subset\" id=\"ref-for-abstract-opdef-extend-an-incremental-font-subset②\">Extend an Incremental Font Subset</a></span>:",
102102
"rationale": "if",
103103
"steps": [
104104
{
@@ -336,7 +336,7 @@
336336
"html": "<p>Decode the brotli encoded data in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyph-keyed-patch-brotlistream\" id=\"ref-for-glyph-keyed-patch-brotlistream①\">brotliStream</a> following <a href=\"https://www.rfc-editor.org/rfc/rfc7932#section-10\"><cite>Brotli Compressed Data Format</cite> § 10 Decoding Algorithm</a>. The\ndecoded data is a <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches\" id=\"ref-for-glyphpatches②\">GlyphPatches</a> table. If the decoded data is larger than <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyph-keyed-patch-maxuncompressedlength\" id=\"ref-for-glyph-keyed-patch-maxuncompressedlength\">maxUncompressedLength</a> return an\nerror</p>"
337337
},
338338
{
339-
"html": "<p>For each <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/otff#table-directory\">font table</a> listed in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-tables\" id=\"ref-for-glyphpatches-tables②\">tables</a>, with index <code>i</code>:</p>\n <ul>\n <li data-md=\"\">\n <p>Using the corresponding table in <var>base font subset</var>, synthesize\na new table where the data for each glyph is replaced with the data corresponding to that glyph index\nfrom <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-glyphdata\" id=\"ref-for-glyphpatches-glyphdata\">glyphData</a> if present, otherwise copied from the corresponding table in <var>base font subset</var> for\nthat glyph index.</p>\n </li><li data-md=\"\">\n <p>The patch glyph data for a glyph index is located by finding <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-glyphids\" id=\"ref-for-glyphpatches-glyphids①\">glyphIds[j]</a> equal to the glyph index. The\noffset to the associated glyph data is <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-glyphdataoffsets\" id=\"ref-for-glyphpatches-glyphdataoffsets①\">glyphDataOffsets[i * glyphCount + j]</a>. The length\nof the associated glyph data is <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-glyphdataoffsets\" id=\"ref-for-glyphpatches-glyphdataoffsets②\">glyphDataOffsets[i * glyphCount + j + 1]</a> minus <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-glyphdataoffsets\" id=\"ref-for-glyphpatches-glyphdataoffsets③\">glyphDataOffsets[i * glyphCount + j]</a>.</p>\n </li><li data-md=\"\">\n <p>The specific process for synthesizing the new table, depends on the specified format of the <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/otff#table-directory\">table</a>. Any non-glyph associated data should be copied from the table in <var>base font subset</var>. Tables of the type <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/glyf#\">glyf</a>, <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/gvar#\">gvar</a>, <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/cff#\">CFF</a>, or <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/cff2#\">CFF2</a> are supported. Entries for tables\nof any other types must be ignored. When updating <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/glyf#\">glyf</a> the <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/loca#\">loca</a> table must be updated as\nwell. No other tables in the font can be modified as a result of this step. Notably this means that a patch cannot add glyphs\nwith indices beyond the numGlyphs specified in <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/maxp#\">maxp</a>.</p>\n <p><a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/cff#\">CFF</a>, <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/cff2#\">CFF2</a>, and <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/gvar#\">gvar</a> have variable sized offsets to per glyph data. If\nnecessary when synthesizing a new table the offset sizes can be increased as needed. For <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/glyf#\">glyf</a>/<a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/loca#\">loca</a> offset sizes cannot be changed because the offset size is specified in the <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/head#\">head</a> table. If during synthesis an offset\nis generated which exceeds the maximum possible offset value (after increasing offset size if possible), then patch application has\nfailed. Return an error.</p>\n </li><li data-md=\"\">\n <p>If <var>base font subset</var> does not have a matching table, return an error.</p>\n </li><li data-md=\"\">\n <p>Insert the synthesized table into <var>extended font subset</var>.</p>\n </li></ul>"
339+
"html": "<p>For each <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/otff#table-directory\">font table</a> listed in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-tables\" id=\"ref-for-glyphpatches-tables②\">tables</a>, with index <code>i</code>:</p>\n <ul>\n <li data-md=\"\">\n <p>Using the corresponding table in <var>base font subset</var>, synthesize\na new table where the data for each glyph is replaced with the data corresponding to that glyph index\nfrom <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-glyphdata\" id=\"ref-for-glyphpatches-glyphdata\">glyphData</a> if present, otherwise copied from the corresponding table in <var>base font subset</var> for\nthat glyph index.</p>\n </li><li data-md=\"\">\n <p>The patch glyph data for a glyph index is located by finding <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-glyphids\" id=\"ref-for-glyphpatches-glyphids①\">glyphIds[j]</a> equal to the glyph index. The\noffset to the associated glyph data is <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-glyphdataoffsets\" id=\"ref-for-glyphpatches-glyphdataoffsets①\">glyphDataOffsets[i * glyphCount + j]</a>. The length\nof the associated glyph data is <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-glyphdataoffsets\" id=\"ref-for-glyphpatches-glyphdataoffsets②\">glyphDataOffsets[i * glyphCount + j + 1]</a> minus <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyphpatches-glyphdataoffsets\" id=\"ref-for-glyphpatches-glyphdataoffsets③\">glyphDataOffsets[i * glyphCount + j]</a>.</p>\n </li><li data-md=\"\">\n <p>The specific process for synthesizing the new table, depends on the specified format of the <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/otff#table-directory\">table</a>. Any non-glyph associated data should be copied from the table in <var>base font subset</var>. Tables of the type <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/glyf#\">glyf</a>, <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/gvar#\">gvar</a>, <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/cff#\">CFF</a>, or <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/cff2#\">CFF2</a> are supported. <span class=\"conform\" id=\"conform-table-entries-ignore-others\">Entries for tables\nof any other types must be ignored.</span> <span class=\"conform\" id=\"conform-updating-glyf-updates-loca\">When updating <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/glyf#\">glyf</a> the <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/loca#\">loca</a> table must be updated as\nwell.</span> No other tables in the font can be modified as a result of this step. Notably this means that a patch cannot add glyphs\nwith indices beyond the numGlyphs specified in <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/maxp#\">maxp</a>.</p>\n <p><a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/cff#\">CFF</a>, <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/cff2#\">CFF2</a>, and <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/gvar#\">gvar</a> have variable sized offsets to per glyph data. If\nnecessary when synthesizing a new table the offset sizes can be increased as needed. For <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/glyf#\">glyf</a>/<a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/loca#\">loca</a> offset sizes cannot be changed because the offset size is specified in the <a href=\"https://learn.microsoft.com/en-us/typography/opentype/spec/head#\">head</a> table. If during synthesis an offset\nis generated which exceeds the maximum possible offset value (after increasing offset size if possible), then patch application has\nfailed. Return an error.</p>\n </li><li data-md=\"\">\n <p>If <var>base font subset</var> does not have a matching table, return an error.</p>\n </li><li data-md=\"\">\n <p>Insert the synthesized table into <var>extended font subset</var>.</p>\n </li></ul>"
340340
},
341341
{
342342
"html": "<p>Locate the <a href=\"https://w3c.github.io/IFT/Overview.html#patch-map-table\">§ 5.3 Patch Map Table</a> which has the same <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyph-keyed-patch-compatibilityid\" id=\"ref-for-glyph-keyed-patch-compatibilityid①\">compatibilityId</a> as <var>compatibility id</var>. If it is a\nformat 1 patch map then, invoke <a data-link-type=\"abstract-op\" href=\"https://w3c.github.io/IFT/Overview.html#abstract-opdef-remove-entries-from-format-1-patch-map\" id=\"ref-for-abstract-opdef-remove-entries-from-format-1-patch-map\">Remove Entries from Format 1 Patch Map</a> with the patch map table and <var>patch URL string</var> as an\ninput. Otherwise if it is a format 2 patch map then, invoke <a data-link-type=\"abstract-op\" href=\"https://w3c.github.io/IFT/Overview.html#abstract-opdef-remove-entries-from-format-2-patch-map\" id=\"ref-for-abstract-opdef-remove-entries-from-format-2-patch-map\">Remove Entries from Format 2 Patch Map</a> with the patch map table and <var>patch URL string</var> as an input. Copy the modified patch map table into <var>extended font subset</var>.</p>"

0 commit comments

Comments
 (0)