mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 13:56:32 +08:00
1 parent
71a3a4ee79
commit
61cfb79f25
15 files changed
+2694
-55
No files matched your search
@@ -109,6 +109,15 @@ func scanEditorFontFiles(ctx context.Context, reader *Reader, index int, inspect
|
||||
return nil
|
||||
}
|
||||
if slices.Contains([]string{"CustomTags", "Extensions", "ExtendData", "Data"}, node.name.Local) {
|
||||
if node.matchesOFD("CustomTags") {
|
||||
safe, err := richTextTagsFontSafe(ctx, reader, index)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if safe {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
scan.unsafe = true
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user