diff --git a/META-INF/plugin.xml b/META-INF/plugin.xml
index 4551e460..f8ea6072 100644
--- a/META-INF/plugin.xml
+++ b/META-INF/plugin.xml
@@ -1,6 +1,6 @@
PlantUML integration
- 2.25.1
+ 2.25.2
Eugene Steinberg
@@ -11,7 +11,8 @@
2.25
- - PlantUml library upgrade to v1.2020.8
+ - PlantUml library upgrade to v1.2020.9
+ - Fixed scaling on multiple monitors with different DPI
- Setting for PLANTUML_LIMIT_SIZE
- Setting for plantuml.include.path
diff --git a/lib/plantuml.1.2020.8.jar b/lib/plantuml.1.2020.9.jar
similarity index 86%
rename from lib/plantuml.1.2020.8.jar
rename to lib/plantuml.1.2020.9.jar
index 46eaeed7..392b3a6f 100644
Binary files a/lib/plantuml.1.2020.8.jar and b/lib/plantuml.1.2020.9.jar differ
diff --git a/src/org/plantuml/idea/util/Utils.java b/src/org/plantuml/idea/util/Utils.java
index 83023d6d..06b78cca 100644
--- a/src/org/plantuml/idea/util/Utils.java
+++ b/src/org/plantuml/idea/util/Utils.java
@@ -6,7 +6,6 @@
import net.sourceforge.plantuml.FileSystem;
import net.sourceforge.plantuml.SourceStringReader;
import net.sourceforge.plantuml.preproc.Defines;
-import net.sourceforge.plantuml.preproc.ImportedFiles;
import org.apache.commons.lang.StringUtils;
import org.jetbrains.annotations.NotNull;
import org.plantuml.idea.lang.PlantIUmlFileType;
@@ -14,7 +13,6 @@
import org.plantuml.idea.lang.settings.PlantUmlSettings;
import java.io.File;
-import java.lang.reflect.Field;
import java.util.Collections;
import java.util.List;
@@ -51,16 +49,6 @@ public static void setPlantUmlDir(@NotNull File baseDir) {
}
System.setProperty("plantuml.include.path", sb.toString());
-
- try {
- Field include_path = ImportedFiles.class.getDeclaredField("INCLUDE_PATH");
- include_path.setAccessible(true);
- List o = (List) include_path.get(null);
- o.clear();
- o.addAll(FileSystem.getPath("plantuml.include.path", true));
- } catch (Throwable e) {
- LOG.debug(e);
- }
}
public static void resetPlantUmlDir() {