fontSetPtem

fnvoid fontSetPtem(harfbuzz.font.Font font, float ptem)

Sets the "point size" of a font. Set to zero to unset. Used in CoreText to implement optical sizing.

<note>

Note

There are 72 points in an inch.</note>

Parameters

font#hb_font_t to work upon
ptemfont size in points.