mirror of
https://github.com/revanced/Apktool.git
synced 2025-06-12 13:17:43 +02:00
Treat fonts as raw data, fixes #1662
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user