summaryrefslogtreecommitdiff
path: root/shape.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2019-05-24 09:48:14 +0800
committerGitHub <noreply@github.com>2019-05-24 09:48:14 +0800
commit623375780586cbd323dc899e17d7235ac610505f (patch)
tree25a44aa230fa674960dd5aa45b857b0a45e0c85b /shape.go
parentf91f548614a7182ce66d55d10ed311e9b7e08a2a (diff)
parentb1c9884f6d186bd1bfb4fc1d34061856345b8530 (diff)
Merge pull request #391 from mlh758/390-change-default-font
Add the ability to change the default font
Diffstat (limited to 'shape.go')
-rw-r--r--shape.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/shape.go b/shape.go
index c90963c..7dc7021 100644
--- a/shape.go
+++ b/shape.go
@@ -381,7 +381,7 @@ func (f *File) addDrawingShape(sheet, drawingXML, cell string, formatSet *format
Bold: false,
Italic: false,
Underline: "none",
- Family: "Calibri",
+ Family: f.GetDefaultFont(),
Size: 11,
Color: "#000000",
},