mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 12:01:10 +08:00
This commit is contained in:
1 parent
21bd592358
commit
bec13d523f
47 files changed
+1455
-539
No files matched your search
+2
-2
@@ -72,10 +72,10 @@ type fontUsageReferences struct {
|
||||
patterns map[*Pattern]bool
|
||||
}
|
||||
|
||||
// Fonts 获取OFD声明的字体列表
|
||||
// Fonts 获取OFD声明的字体列表,不加载注解或签名
|
||||
// 返回: []Font 字体列表, error 错误信息
|
||||
func (r *Reader) Fonts() ([]Font, error) {
|
||||
doc, err := r.Doc()
|
||||
doc, err := r.docStructure()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user