Function

HarfBuzz-0.0HarfBuzzfont_set_ppemSince 0.9.2

  • Sets the horizontal and vertical pixels-per-em (PPEM) of a font.

    These values are used for pixel-size-specific adjustment to shaping and draw results, though for the most part they are unused and can be left unset.

    Parameters

    • font: font_t

      HarfBuzz.font_t to work upon

    • x_ppem: number

      Horizontal ppem value to assign

    • y_ppem: number

      Vertical ppem value to assign

    Returns void

    0.9.2