mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
f71000befd
commit
6a9d2a12eb
3 files changed
+157
-10
No files matched your search
@@ -620,6 +620,9 @@ func (e *Editor) writeSource(writer io.Writer, fonts map[string][]byte, progress
|
||||
return 0, err
|
||||
}
|
||||
}
|
||||
if err := e.compactVersionFonts(ctx, parts, removed); err != nil {
|
||||
return 0, err
|
||||
}
|
||||
if len(parts) != 0 || len(removed) != 0 || e.output != nil && e.output.options.Mode != CompressionUnchanged && !e.output.protected {
|
||||
name := "OFD.xml"
|
||||
if file, ok := reader.packageFile(name); ok {
|
||||
|
||||
Reference in new issue
Block a user