:doc: doc and demo for "Font for eastAsia"

This commit is contained in:
wangfengming
2020-06-07 12:39:17 +08:00
parent 8a3c8d4664
commit 596761d78d
2 changed files with 47 additions and 1 deletions

View File

@ -26,7 +26,7 @@ const name = new TextRun({
- `emphasisMark({type="dot"})`: Set the emphasis mark style
- `color(color)`: Set the text color, using 6 hex characters for RRGGBB (no leading `#`)
- `size(halfPts)`: Set the font size, measured in half-points
- `font(name)`: Set the run's font
- `font(name)` or `font({ascii, cs, eastAsia, hAnsi, hint})`: Set the run's font
- `style(name)`: Apply a named run style
- `characterSpacing(value)`: Set the character spacing adjustment (in TWIPs)