From bc52fcc3908b90269823dd1a8aa07f28bc13161c Mon Sep 17 00:00:00 2001 From: liyuqian Date: Wed, 12 Dec 2018 10:29:02 -0800 Subject: [PATCH] Add .woff file to binary format (flutter/engine#7202) Fixes https://github.com/flutter/flutter/issues/25285 --- engine/src/flutter/tools/licenses/lib/filesystem.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/flutter/tools/licenses/lib/filesystem.dart b/engine/src/flutter/tools/licenses/lib/filesystem.dart index 49d4978e88..81f741d97d 100644 --- a/engine/src/flutter/tools/licenses/lib/filesystem.dart +++ b/engine/src/flutter/tools/licenses/lib/filesystem.dart @@ -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