faceGetUpem

fnuint faceGetUpem(harfbuzz.face.Face face)

Fetches the units-per-em (UPEM) value of the specified face object.

Typical UPEM values for fonts are 1000, or 2048, but any value in between 16 and 16,384 is allowed for OpenType fonts.

Parameters

faceA face object

Returns

The upem value of face