<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Since the SVG -&gt; OTF Font Converter was enabled, some SVG layout tests are failing."
   href="https://bugs.webkit.org/show_bug.cgi?id=156148#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Since the SVG -&gt; OTF Font Converter was enabled, some SVG layout tests are failing."
   href="https://bugs.webkit.org/show_bug.cgi?id=156148">bug 156148</a>
              from <span class="vcard"><a class="email" href="mailto:clopez&#64;igalia.com" title="Carlos Alberto Lopez Perez &lt;clopez&#64;igalia.com&gt;"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=156148#c4">comment #4</a>)
<span class="quote">&gt; 
&gt; Does GTK's text shaping engine support the 'kern' table if it exists?</span >

The documentation says this:

&quot;&quot;&quot;
Note that OpenType fonts (OTF) provide two distinct mechanisms for kerning, using the ‘kern’ and ‘GPOS’ tables, respectively, which are part of the OTF files. Older fonts only contain the former, while recent fonts contain both tables or even ‘GPOS’ data only. FreeType only supports kerning via the (rather simple) ‘kern’ table. For the interpretation of kerning data in the (highly sophisticated) ‘GPOS’ table you need a higher-level library like ICU or HarfBuzz since it can be context dependent (this is, the kerning may vary depending on the position within a text string, for example).
&quot;&quot;&quot; <a href="http://www.freetype.org/freetype2/docs/glyphs/glyphs-4.html">http://www.freetype.org/freetype2/docs/glyphs/glyphs-4.html</a>

And I see that there are two standards or versions for the 'kern' table:

&quot;&quot;&quot;
Apple has extended the definition of the 'kern' table to provide additional functionality. The Apple extensions are not supported on Windows. Fonts intended for cross-platform use or for the Windows platform in general should conform to the 'kern' table format specified here.
&quot;&quot;&quot; <a href="https://www.microsoft.com/typography/otspec/kern.htm">https://www.microsoft.com/typography/otspec/kern.htm</a>


I guess that you are using the Apple dialect for the 'kern' table in the OTF font generated???

How can I save the OTF font that is generated from the SVG one &lt;LayoutTests/svg/custom/resources/SVGFreeSans.svg&gt; to a file??? That way I can try to check what freetype's ftvalid/ftdump commands says about it.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>