Skip to content

Commit

Permalink
Correcting a typo in the README: weight -> height
Browse files Browse the repository at this point in the history
Signed-off-by: Vsevolod Volkov <[email protected]>
  • Loading branch information
Vsevolod Volkov committed Apr 10, 2023
1 parent 0575fe3 commit ac9199e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ac9199e

Please sign in to comment.