From b78d4b1e58a6c358b4c5034549deba7dea59934c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 21 Sep 2022 13:27:12 -0600 Subject: [PATCH] [color] Fix documentation re UPEM vs PPEM Fixes https://github.com/harfbuzz/harfbuzz/issues/3826 --- src/hb-ot-color.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-color.cc b/src/hb-ot-color.cc index a9ae01368..696ca3e17 100644 --- a/src/hb-ot-color.cc +++ b/src/hb-ot-color.cc @@ -295,8 +295,8 @@ hb_ot_color_has_png (hb_face_t *face) * @glyph: a glyph index * * 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 - * object. If UPEM is unset, the blob returned will be the largest PNG available. + * as input. To get an optimally sized PNG blob, the PPEM values must be set on the @font + * 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. *