Function

HarfBuzz-0.0HarfBuzzot_color_glyph_reference_pngSince 2.1.0

  • Fetches the PNG image for a glyph. This function takes a font object, not a face object, as input. To get an optimally sized PNG blob, the PPEM values must be set on the font object. If PPEM is unset, the blob returned will be the largest PNG available.

    If the glyph has no PNG image, the singleton empty blob is returned.

    Parameters

    Returns blob_t

    An HarfBuzz.blob_t containing the PNG image for the glyph, if available

    2.1.0