From 2ec95b3f72d821f28456b564d30d393334ffdda9 Mon Sep 17 00:00:00 2001 From: Yuqian Li Date: Wed, 12 Dec 2018 09:42:22 -0800 Subject: [PATCH] Add .woff file to binary format Fixes https://github.com/flutter/flutter/issues/25285 --- tools/licenses/lib/filesystem.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/licenses/lib/filesystem.dart b/tools/licenses/lib/filesystem.dart index 49d4978e88b3b..81f741d97dd8b 100644 --- a/tools/licenses/lib/filesystem.dart +++ b/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