Fixed: #2332 Imported fonts by class name not available in texts

This commit is contained in:
Jindra Petřík
2024-10-13 20:43:18 +02:00
parent fd5d0cb2f2
commit cf585c51fb
8 changed files with 64 additions and 21 deletions
@@ -4311,7 +4311,7 @@ public class XFLConverter {
for (TEXTRECORD rec : textRecords) {
if (rec.styleFlagsHasFont) {
FontTag ft = swf.getFont(rec.fontId);
FontTag ft = rec.getFont(swf);
if (ft != null && ft.isSmall()) {
fontRenderingMode = "bitmap";
break;