Treat fonts as raw data, fixes
@@ -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;
