mirror of
https://github.com/ZeroHawkeye/wordZero.git
synced 2025-10-16 04:40:42 +08:00
修改高亮,文本字体使用中文名称
This commit is contained in:
@@ -17,6 +17,7 @@ func main() {
|
||||
{FontFamily: "Calibri", FontSize: 16, Bold: true, Italic: true},
|
||||
{FontFamily: "Calibri", FontSize: 16, Underline: true},
|
||||
{FontFamily: "Calibri", FontSize: 16, Strike: true},
|
||||
{FontFamily: "微软雅黑", FontSize: 18, Highlight: "yellow"},
|
||||
}
|
||||
|
||||
texts := []string{
|
||||
@@ -26,6 +27,7 @@ func main() {
|
||||
"这是粗体斜体文本",
|
||||
"这是下划线文本",
|
||||
"这是删除线文本",
|
||||
"这是高亮文本",
|
||||
}
|
||||
|
||||
for i, text := range texts {
|
||||
|
Reference in New Issue
Block a user