diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-11-19 18:13:04 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-11-19 18:13:04 +0000 |
| commit | 29be3ac8baadeb10ee827147b67a798348be6b9b (patch) | |
| tree | c376a50c03277a5af5ca62ca6c22e6086b1cb7e6 /lib/docx | |
| parent | a55dee628eafdfd11c82cda0682ceebb3adbbfc1 (diff) | |
Set font on runs
Diffstat (limited to 'lib/docx')
| -rw-r--r-- | lib/docx/body-reader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/docx/body-reader.js b/lib/docx/body-reader.js index 30f8bc9..6bc1934 100644 --- a/lib/docx/body-reader.js +++ b/lib/docx/body-reader.js @@ -42,7 +42,7 @@ function BodyReader(options) { if (verticalAlignmentElement) { properties.verticalAlignment = verticalAlignmentElement.attributes["w:val"]; } - + properties.font = element.firstOrEmpty("w:rFonts").attributes["w:ascii"]; properties.isBold = readBooleanElement(element.first("w:b")); properties.isUnderline = readBooleanElement(element.first("w:u")); properties.isItalic = readBooleanElement(element.first("w:i")); |
