mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-10 02:00:24 +08:00
fix: 修复Font设置 (#45)
* fix: 修复Font设置 * Update main.go * fix: 修复测试函数 --------- Co-authored-by: guoqiang <guoqiang@antiy.cn> Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
This commit is contained in:
@@ -37,7 +37,7 @@ func TestDrawingStructure(t *testing.T) {
|
||||
Shade("clear", "auto", "E7E6E6").
|
||||
AddTab().Bold().Underline("single").
|
||||
Highlight("yellow").Italic().
|
||||
Font("宋体", "宋体", "eastAsia")
|
||||
Font("宋体", "宋体", "宋体", "eastAsia")
|
||||
r, err := para1.AddAnchorDrawingFrom("testdata/fumiama.JPG")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user