summaryrefslogtreecommitdiff
path: root/thirdparty/harfbuzz/src/hb-style.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-02 10:48:37 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-02 10:48:37 +0200
commit9b0fbfa06dcfc5edab5d3a31ad5cb0d12c21bd4a (patch)
tree2719d3fb7b2d20275cadc5d434d745c0ce6d9697 /thirdparty/harfbuzz/src/hb-style.h
parentb7a852a05d3598771bc1b9456ed34c0f5d011652 (diff)
HarfBuzz: Update to version 4.0.0
Diffstat (limited to 'thirdparty/harfbuzz/src/hb-style.h')
-rw-r--r--thirdparty/harfbuzz/src/hb-style.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/thirdparty/harfbuzz/src/hb-style.h b/thirdparty/harfbuzz/src/hb-style.h
index 30a6f2b878..d17d2daa5f 100644
--- a/thirdparty/harfbuzz/src/hb-style.h
+++ b/thirdparty/harfbuzz/src/hb-style.h
@@ -43,8 +43,10 @@ HB_BEGIN_DECLS
* @HB_STYLE_TAG_SLANT_ANGLE: Used to vary between upright and slanted text. Values
* must be greater than -90 and less than +90. Values can be interpreted as
* the angle, in counter-clockwise degrees, of oblique slant from whatever the
- * designer considers to be upright for that font design.
+ * designer considers to be upright for that font design. Typical right-leaning
+ * Italic fonts have a negative slant angle (typically around -12)
* @HB_STYLE_TAG_SLANT_RATIO: same as @HB_STYLE_TAG_SLANT_ANGLE expression as ratio.
+ * Typical right-leaning Italic fonts have a positive slant ratio (typically around 0.2)
* @HB_STYLE_TAG_WIDTH: Used to vary width of text from narrower to wider.
* Non-zero. Values can be interpreted as a percentage of whatever the font
* designer considers “normal width” for that font design.