fontSetPpem

fnvoid fontSetPpem(harfbuzz.font.Font font, uint xPpem, uint yPpem)

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#hb_font_t to work upon
xPpemHorizontal ppem value to assign
yPpemVertical ppem value to assign