aboutsummaryrefslogtreecommitdiff
path: root/lib/documents.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2020-04-12 14:51:59 +0100
committerMichael Williamson <mike@zwobble.org>2020-04-12 14:51:59 +0100
commit74118f20abb76972854f2723d0beea52f8c7f677 (patch)
tree39ddd471da5bff7ec6e576ee57b40d083565940c /lib/documents.js
parentdd8b8291facb24be3e73ab17be56d43f33f40780 (diff)
Read font size for runs
Diffstat (limited to 'lib/documents.js')
-rw-r--r--lib/documents.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/documents.js b/lib/documents.js
index 518db6e..df48beb 100644
--- a/lib/documents.js
+++ b/lib/documents.js
@@ -61,7 +61,8 @@ function Run(children, properties) {
isStrikethrough: properties.isStrikethrough,
isSmallCaps: properties.isSmallCaps,
verticalAlignment: properties.verticalAlignment || verticalAlignment.baseline,
- font: properties.font || null
+ font: properties.font || null,
+ fontSize: properties.fontSize || null
};
}