From 51c5683fa742f871759310c3717656623a48e350 Mon Sep 17 00:00:00 2001 From: Vsevolod Volkov Date: Fri, 7 Apr 2023 19:57:26 +0300 Subject: [PATCH] Correcting a typo in the README: weight -> height Signed-off-by: Vsevolod Volkov --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c20f075..6908300d 100644 --- a/README.md +++ b/README.md @@ -189,7 +189,7 @@ You do not create glyph objects directly. They are created by various methods on * `bbox` - the glyph’s bounding box, i.e. the rectangle that encloses the glyph outline as tightly as possible. * `cbox` - the glyph’s control box. This is often the same as the bounding box, but is faster to compute. Because of the way bezier curves are defined, some of the control points can be outside of the bounding box. Where `bbox` takes this into account, `cbox` does not. Thus, `cbox` is less accurate, but faster to compute. See [here](http://www.freetype.org/freetype2/docs/glyphs/glyphs-6.html#section-2) for a more detailed description. * `width` - the glyph’s width. -* `weight` - the glyph’s height. +* `height` - the glyph’s height. * `advanceWidth` - the glyph’s advance width. * `advanceHeight` - the glyph’s advance height. * `leftBearing` - the glyph’s left side bearing.