Fixed #2004 Freezing when a shape has nonimage character set as fill

This commit is contained in:
Jindra Petřík
2023-04-09 16:16:47 +02:00
parent bbde6c0d13
commit 9a23497c80
42 changed files with 86 additions and 60 deletions

View File

@@ -5444,7 +5444,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
jpegTablesTag = imageTag.getSwf().getJtt();
}
Set<Integer> needed = new LinkedHashSet<>();
imageTag.getNeededCharacters(needed);
imageTag.getNeededCharacters(needed, swf);
List<CharacterTag> neededCopies = new ArrayList<>();
for (int n : needed) {