Treat fonts as raw data, fixes #1662

This commit is contained in:
Matt Insko 2017-11-16 09:35:16 -05:00
parent f7a872cf22
commit 5e1a47a827

View File

@ -62,6 +62,10 @@ public class ResFileDecoder {
decode(inDir, inFileName, outDir, outFileName, "raw");
return;
}
if (typeName.equals("font") && !".xml".equals(ext)) {
decode(inDir, inFileName, outDir, outFileName, "raw");
return;
}
if (typeName.equals("drawable") || typeName.equals("mipmap")) {
if (inFileName.toLowerCase().endsWith(".9" + ext)) {
outFileName = outResName + ".9" + ext;