mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
1 parent
151ddb0a20
commit
d97c6f4e6f
60 files changed
+570
-262
No files matched your search
@@ -129,7 +129,7 @@ func (r *Reader) fontCleanupCandidate(ctx context.Context, name string) (bool, e
|
||||
} else if file, ok := r.packageFile(name); ok {
|
||||
size = file.UncompressedSize64
|
||||
}
|
||||
candidate, err := fontCleanupDirectory(imageInput{ReadCloser: input, context: ctx}, size)
|
||||
candidate, err := fontCleanupDirectory(imageInput{ReadCloser: input, ctx: ctx}, size)
|
||||
if err == io.EOF || err == io.ErrUnexpectedEOF {
|
||||
err = nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user