Skip to content

Commit

Permalink
Update of ED report from new reffy run
Browse files Browse the repository at this point in the history
Using reffy commit 16.1.1.
  • Loading branch information
reffy-bot committed Jul 23, 2024
1 parent 9d8dbac commit 0123b79
Show file tree
Hide file tree
Showing 19 changed files with 2,175 additions and 3,253 deletions.
4 changes: 2 additions & 2 deletions ed/algorithms/IFT.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@
"html": "<p>Check that the <var>patch map</var> has <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-format\" id=\"ref-for-format-1-patch-map-format\">format</a> equal to 1 and is valid according to the requirements in <a href=\"https://w3c.github.io/IFT/Overview.html#patch-map-format-1\">§ 5.2.1 Patch Map Table: Format 1</a>. If it is not return an error.</p>"
},
{
"html": "<p>For each unique <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyph-map-entryindex\" id=\"ref-for-glyph-map-entryindex\">entryIndex</a>:</p>\n <ul>\n <li data-md=\"\">\n <p>If the bit for <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap\">appliedEntriesBitMap</a> is set to 1, skip this <var>entry index</var>.</p>\n </li><li data-md=\"\">\n <p>Collect the set of glyph indices that map to the <var>entry index</var>.</p>\n </li><li data-md=\"\">\n <p>Convert the set of glyph indices to a set of unicode code points using the code point to glyph mapping in the <a href=\"https://docs.microsoft.com/en-us/typography/opentype/spec/cmap#\">cmap</a> table of <var>font subset</var>. Ignore any glyph indices that are not mapped by <a href=\"https://docs.microsoft.com/en-us/typography/opentype/spec/cmap#\">cmap</a>.</p>\n </li><li data-md=\"\">\n <p>Convert <var>entry index</var> into a URI by applying <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-uritemplate\" id=\"ref-for-format-1-patch-map-uritemplate\">uriTemplate</a> following <a href=\"https://w3c.github.io/IFT/Overview.html#uri-templates\">§ 5.2.3 URI Templates</a>.</p>\n </li><li data-md=\"\">\n <p>Add an <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#patch-map-entries\" id=\"ref-for-patch-map-entries⑥\">entry</a> to <var>entry list</var> whose subset definition contains only the unicode code point set and\nmaps to the generated URI, the patch encoding specified by <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-patchencoding\" id=\"ref-for-format-1-patch-map-patchencoding\">patchEncoding</a>, and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-compatibilityid\" id=\"ref-for-format-1-patch-map-compatibilityid\">compatibilityId</a>.</p>\n </li></ul>"
"html": "<p>For each unique <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#glyph-map-entryindex\" id=\"ref-for-glyph-map-entryindex\">entryIndex</a>:</p>\n <ul>\n <li data-md=\"\">\n <p>If <var>entry index</var> is 0 then, this is a special entry used to mark glyphs which are already in the font. Skip this index\nand do not build an entry for it.</p>\n </li><li data-md=\"\">\n <p>If the <var>entry index</var> is larger than <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-maxentryindex\" id=\"ref-for-format-1-patch-map-maxentryindex⑤\">maxEntryIndex</a> this table is invalid,\nreturn an error.</p>\n </li><li data-md=\"\">\n <p>If the bit for <var>entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap\">appliedEntriesBitMap</a> is set to 1, skip this <var>entry index</var>.</p>\n </li><li data-md=\"\">\n <p>Collect the set of glyph indices that map to the <var>entry index</var>.</p>\n </li><li data-md=\"\">\n <p>Convert the set of glyph indices to a set of unicode code points using the code point to glyph mapping in the <a href=\"https://docs.microsoft.com/en-us/typography/opentype/spec/cmap#\">cmap</a> table of <var>font subset</var>. Ignore any glyph indices that are not mapped by <a href=\"https://docs.microsoft.com/en-us/typography/opentype/spec/cmap#\">cmap</a>.\nMultiple code points may map to the same glyph id. All code points associated with a glyph should be included.</p>\n </li><li data-md=\"\">\n <p>Convert <var>entry index</var> into a URI by applying <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-uritemplate\" id=\"ref-for-format-1-patch-map-uritemplate\">uriTemplate</a> following <a href=\"https://w3c.github.io/IFT/Overview.html#uri-templates\">§ 5.2.3 URI Templates</a>.</p>\n </li><li data-md=\"\">\n <p>Add an <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#patch-map-entries\" id=\"ref-for-patch-map-entries⑥\">entry</a> to <var>entry list</var> whose subset definition contains only the unicode code point set and\nmaps to the generated URI, the patch encoding specified by <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-patchencoding\" id=\"ref-for-format-1-patch-map-patchencoding\">patchEncoding</a>, and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-compatibilityid\" id=\"ref-for-format-1-patch-map-compatibilityid\">compatibilityId</a>.</p>\n </li></ul>"
},
{
"html": "<p>For each <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord\" id=\"ref-for-featurerecord①\">FeatureRecord</a> and associated <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord\" id=\"ref-for-entrymaprecord②\">EntryMapRecord</a> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#feature-map-featurerecords\" id=\"ref-for-feature-map-featurerecords①\">featureRecords</a> and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#feature-map-entrymaprecords\" id=\"ref-for-feature-map-entrymaprecords\">entryMapRecords</a>:</p>\n <ul>\n <li data-md=\"\">\n <p>For each <var>entry index</var> between <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord-firstentryindex\" id=\"ref-for-entrymaprecord-firstentryindex\">firstEntryIndex</a> (inclusive) and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord-lastentryindex\" id=\"ref-for-entrymaprecord-lastentryindex\">lastEntryIndex</a> (inclusive), find the set of unicode codepoints associated with that entry index using the same process as in step 2b through\n2c.</p>\n <ul>\n <li data-md=\"\">\n <p>Compute <var>mapped entry index</var> = <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-firstentryindex\" id=\"ref-for-featurerecord-firstentryindex\">FeatureRecord::firstEntryIndex</a> + <var>entry index</var> - <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord-firstentryindex\" id=\"ref-for-entrymaprecord-firstentryindex①\">EntryMapRecord::firstEntryIndex</a>.</p>\n </li><li data-md=\"\">\n <p>Convert <var>mapped entry index</var> into a URI by applying <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-uritemplate\" id=\"ref-for-format-1-patch-map-uritemplate①\">uriTemplate</a> following <a href=\"https://w3c.github.io/IFT/Overview.html#uri-templates\">§ 5.2.3 URI Templates</a>.</p>\n </li><li data-md=\"\">\n <p>If the bit for <var>mapped entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap①\">appliedEntriesBitMap</a> is set to 1, skip this <var>entry index</var>.</p>\n </li><li data-md=\"\">\n <p>Add an <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#patch-map-entries\" id=\"ref-for-patch-map-entries⑦\">entry</a> to <var>entry list</var> whose subset definition contains the unicode code point set and\na feature tag set containing only <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-featuretag\" id=\"ref-for-featurerecord-featuretag①\">featureTag</a>. The entry maps to the generated URI, the patch encoding\nspecified by <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-patchencoding\" id=\"ref-for-format-1-patch-map-patchencoding①\">patchEncoding</a>, and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-compatibilityid\" id=\"ref-for-format-1-patch-map-compatibilityid①\">compatibilityId</a>.</p>\n </li></ul>\n </li></ul>"
"html": "<p>If <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-featuremapoffset\" id=\"ref-for-format-1-patch-map-featuremapoffset\">featureMapOffset</a> is not null then, for each <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord\" id=\"ref-for-featurerecord①\">FeatureRecord</a> and associated <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord\" id=\"ref-for-entrymaprecord②\">EntryMapRecord</a> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#feature-map-featurerecords\" id=\"ref-for-feature-map-featurerecords①\">featureRecords</a> and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#feature-map-entrymaprecords\" id=\"ref-for-feature-map-entrymaprecords\">entryMapRecords</a>:</p>\n <ul>\n <li data-md=\"\">\n <p>For each <var>entry index</var> between <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord-firstentryindex\" id=\"ref-for-entrymaprecord-firstentryindex\">EntryMapRecord::firstEntryIndex</a> (inclusive) and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord-lastentryindex\" id=\"ref-for-entrymaprecord-lastentryindex\">EntryMapRecord::lastEntryIndex</a> (inclusive):</p>\n <ul>\n <li data-md=\"\">\n <p>Find the set of unicode code points associated with <var>entry index</var> that was computed in step 2. If <var>entry index</var> was not processed in step 2 this table is invalid, return an error.</p>\n </li><li data-md=\"\">\n <p>Compute <var>mapped entry index</var> = <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-firstnewentryindex\" id=\"ref-for-featurerecord-firstnewentryindex\">FeatureRecord::firstNewEntryIndex</a> + <var>entry index</var> - <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#entrymaprecord-firstentryindex\" id=\"ref-for-entrymaprecord-firstentryindex①\">EntryMapRecord::firstEntryIndex</a>.</p>\n </li><li data-md=\"\">\n <p>If the computed <var>mapped entry index</var> is larger than <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-maxentryindex\" id=\"ref-for-format-1-patch-map-maxentryindex⑥\">maxEntryIndex</a> this table is invalid,\nreturn an error.</p>\n </li><li data-md=\"\">\n <p>Convert <var>mapped entry index</var> into a URI by applying <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-uritemplate\" id=\"ref-for-format-1-patch-map-uritemplate①\">uriTemplate</a> following <a href=\"https://w3c.github.io/IFT/Overview.html#uri-templates\">§ 5.2.3 URI Templates</a>.</p>\n </li><li data-md=\"\">\n <p>If the bit for <var>mapped entry index</var> in <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-appliedentriesbitmap\" id=\"ref-for-format-1-patch-map-appliedentriesbitmap①\">appliedEntriesBitMap</a> is set to 1, skip this <var>entry index</var>.</p>\n </li><li data-md=\"\">\n <p>Add an <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#patch-map-entries\" id=\"ref-for-patch-map-entries⑦\">entry</a> to <var>entry list</var> whose subset definition contains the unicode code point set and\na feature tag set containing only <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-featuretag\" id=\"ref-for-featurerecord-featuretag①\">featureTag</a>. The entry maps to the generated URI, the patch encoding\nspecified by <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-patchencoding\" id=\"ref-for-format-1-patch-map-patchencoding①\">patchEncoding</a>, and <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#format-1-patch-map-compatibilityid\" id=\"ref-for-format-1-patch-map-compatibilityid①\">compatibilityId</a>. If there is an existing <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#patch-map-entries\" id=\"ref-for-patch-map-entries⑧\">entry</a> in <var>entry list</var> which has the same patch URI as the generated URI then\ninstead add <a data-link-type=\"dfn\" href=\"https://w3c.github.io/IFT/Overview.html#featurerecord-featuretag\" id=\"ref-for-featurerecord-featuretag②\">featureTag</a> and the computed unicode code point set to the existing entry’s subset definition.</p>\n </li></ul>\n </li></ul>"
},
{
"html": "<p>Return <var>entry list</var>.</p>"
Expand Down
Loading

0 comments on commit 0123b79

Please sign in to comment.