[color] Fix documentation re UPEM vs PPEM

Fixes https://github.com/harfbuzz/harfbuzz/issues/3826
This commit is contained in:
Behdad Esfahbod 2022-09-21 13:27:12 -06:00
parent 56c4670935
commit b78d4b1e58
1 changed files with 2 additions and 2 deletions

View File

@ -295,8 +295,8 @@ hb_ot_color_has_png (hb_face_t *face)
* @glyph: a glyph index * @glyph: a glyph index
* *
* Fetches the PNG image for a glyph. This function takes a font object, not a face object, * 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 UPEM value must be set on the @font * as input. To get an optimally sized PNG blob, the PPEM values must be set on the @font
* object. If UPEM is unset, the blob returned will be the largest PNG available. * 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. * If the glyph has no PNG image, the singleton empty blob is returned.
* *