<div dir="ltr"><div dir="ltr">Hi Keith,<div><br></div><div>Good to hear from you.</div><div><div><div dir="ltr" class="gmail_signature"><br></div></div></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 8, 2024 at 8:28 AM Keith Packard <<a href="mailto:keithp@keithp.com">keithp@keithp.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Dominik Röttsches <<a href="mailto:drott@chromium.org" target="_blank">drott@chromium.org</a>><br>
Date: Fri, 06 Sep 2024 18:11:05 +0300<br>
<br>> * Do you see dependencies other than indexing that require FreeType?<br>
> (FreeType specific API functions [3] would need to be compiled out in<br>
> the Fontations build).<br>
<br>
Many fonts lie about their code point coverage, so fontconfig has to<br>
examine each glyph outline to see if they generate any ink.</blockquote><div><br></div><div>Umm. As part of significantly speeding up fontconfig we removed that logic in 2017. See:</div><div><br></div><div> <a href="https://bugs.freedesktop.org/show_bug.cgi?id=64766#c47">https://bugs.freedesktop.org/show_bug.cgi?id=64766#c47</a></div><div><br></div><div>As noted there by Khaled, the check was actually problematic for a style of font design that would want to include eg. a-acute in the cmap, but decompose it via GSUB. Such fonts used to have to include a non-empty outline for a-acute. Not with this change.</div><div><br></div><div>So, there's water under that bridge for better or worse. I don't remember we ever receiving a complaint or bug report about it.</div><div><br></div><div> b</div></div></div>