mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
Treat fonts as raw data, fixes #1662
This commit is contained in:
parent
f7a872cf22
commit
5e1a47a827
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user