mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add .woff file to binary format (#7202)
Fixes https://github.com/flutter/flutter/issues/25285
This commit is contained in:
parent
2bd75ae8ba
commit
793a08bbfd
@ -186,6 +186,7 @@ FileType identifyFile(String name, Reader reader) {
|
||||
case '.ttf': return FileType.binary; // TrueType Font
|
||||
case '.ttcf': // (mac)
|
||||
case '.ttc': return FileType.binary; // TrueType Collection (windows)
|
||||
case '.woff': return FileType.binary; // Web Open Font Format
|
||||
case '.otf': return FileType.binary; // OpenType Font
|
||||
// Graphics formats
|
||||
case '.gif': return FileType.binary; // GIF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user