natiny_font_get_fallback

C
NatinyFont natiny_font_get_fallback(NatinyFont font);

Returns the font asked for the glyphs this one lacks.

Parameters

Name Type Description
font NatinyFont Font handle from natiny_font_create

Returns

Type Description
NatinyFont Direct fallback font handle, or 0 if none is active or font is invalid

Example

C
NatinyFont fallback = natiny_font_get_fallback(font);

Notes

  • Returns 0 if the configured fallback was destroyed.
  • Returns only the direct fallback, not the final font in a fallback chain.