mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 15:06:46 +08:00
feat(字体定义): 补充字体结构定义
This commit is contained in:
1 parent
e2760f0814
commit
3cdcc37580
1 file changed
+5
@@ -36,6 +36,11 @@ type Font struct {
|
|||||||
ID string `xml:"ID,attr"`
|
ID string `xml:"ID,attr"`
|
||||||
FontName string `xml:"FontName,attr"`
|
FontName string `xml:"FontName,attr"`
|
||||||
FamilyName string `xml:"FamilyName,attr"`
|
FamilyName string `xml:"FamilyName,attr"`
|
||||||
|
Charset string `xml:"Charset,attr"`
|
||||||
|
Italic bool `xml:"Italic,attr"`
|
||||||
|
Bold bool `xml:"Bold,attr"`
|
||||||
|
Serif bool `xml:"Serif,attr"`
|
||||||
|
FixedWidth bool `xml:"FixedWidth,attr"`
|
||||||
FontFile string `xml:"FontFile"`
|
FontFile string `xml:"FontFile"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user