From 6da4b80e5f303bf40c295c4888ba3dc48bd28f4b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 22 Dec 2021 21:51:03 -0700 Subject: [PATCH] [hb-ot-var] Specify normalized 2.14 docs Fixes https://github.com/harfbuzz/harfbuzz/issues/3345 --- src/hb-ot-var.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-ot-var.cc b/src/hb-ot-var.cc index 6b42b45cd..0376e26b4 100644 --- a/src/hb-ot-var.cc +++ b/src/hb-ot-var.cc @@ -303,6 +303,9 @@ hb_ot_var_normalize_variations (hb_face_t *face, * values for the axis are mapped to the interval [-1,1], with the default * axis value mapped to 0. * + * The normalized values have 14 bits of fixed-point sub-integer precision as per + * OpenType specification. + * * Any additional scaling defined in the face's `avar` table is also * applied, as described at https://docs.microsoft.com/en-us/typography/opentype/spec/avar *