Skip to content

Commit d2301d9

Browse files
opengraphicaConnum
authored andcommitted
Add more exposed variables to the docs
1 parent a9c8ad5 commit d2301d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ A Font represents a loaded OpenType font file. It contains a set of glyphs and m
182182
* `unitsPerEm`: X/Y coordinates in fonts are stored as integers. This value determines the size of the grid. Common values are `2048` and `4096`.
183183
* `ascender`: Distance from baseline of highest ascender. In font units, not pixels.
184184
* `descender`: Distance from baseline of lowest descender. In font units, not pixels.
185+
* `vertTypoAscender`: Similar to "ascender", except this is used when glyphs are drawn vertically. In font units, not pixels.
186+
* `vertTypoDescender`: Similar to "descender", except this is used when glyphs are drawn vertically. In font units, not pixels.
185187

186188
#### `Font.getPath(text, x, y, fontSize, options)`
187189
Create a Path that represents the given text.

0 commit comments

Comments
 (0)