mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-08-30 12:12:40 +08:00
feat(字体定义): 补充字体结构定义
This commit is contained in:
@@ -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