Last time I asked a similar question, I was told to use hb_face_get_glyph_count. But eventually I need to know that an hb_font_t I create from the face is valid and can be used for shaping. What are the best practices for doing that?
Or maybe the shaper will return 'false' when given an invalid font, and all I need is to test the return value of the shaper? TIA _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz