Getting glyph count is just as good anything you can thing, if a font doesn't have a glyph it is either empty or corrupted, there no valid use case for such AFAICU<br><br>On Wednesday, May 29, 2019, Eli Zaretskii <<a href="mailto:eliz@gnu.org">eliz@gnu.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Last time I asked a similar question, I was told to use<br>
hb_face_get_glyph_count.  But eventually I need to know that an<br>
hb_font_t I create from the face is valid and can be used for<br>
shaping.  What are the best practices for doing that?<br>
<br>
Or maybe the shaper will return 'false' when given an invalid font,<br>
and all I need is to test the return value of the shaper?<br>
<br>
TIA<br>
______________________________<wbr>_________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org">HarfBuzz@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/harfbuzz" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/harfbuzz</a></blockquote>