aboutsummaryrefslogtreecommitdiff
path: root/lib/documents.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-11-19 18:13:04 +0000
committerMichael Williamson <mike@zwobble.org>2016-11-19 18:13:04 +0000
commit29be3ac8baadeb10ee827147b67a798348be6b9b (patch)
treec376a50c03277a5af5ca62ca6c22e6086b1cb7e6 /lib/documents.js
parenta55dee628eafdfd11c82cda0682ceebb3adbbfc1 (diff)
Set font on 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 428dc09..fc45627 100644
--- a/lib/documents.js
+++ b/lib/documents.js
@@ -52,7 +52,8 @@ function Run(children, properties) {
isUnderline: properties.isUnderline,
isItalic: properties.isItalic,
isStrikethrough: properties.isStrikethrough,
- verticalAlignment: properties.verticalAlignment || verticalAlignment.baseline
+ verticalAlignment: properties.verticalAlignment || verticalAlignment.baseline,
+ font: properties.font || null
};
}