mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 17:40:48 +01:00
try that again
This commit is contained in:
@@ -904,10 +904,13 @@ public class Toolkit {
|
||||
}
|
||||
if (!fontFile.exists()) {
|
||||
String msg = "Could not find required fonts. ";
|
||||
if (hasNonAsciiChars(System.getProperty("java.home"))) {
|
||||
// This gets the JAVA_HOME for the *local* copy of the JRE installed with
|
||||
// Processing. If it's not using the local JRE, it may be because of this
|
||||
// launch4j bug: https://github.com/processing/processing/issues/3543
|
||||
if (hasNonAsciiChars(Base.getJavaHome().getAbsolutePath())) {
|
||||
msg += "Trying moving Processing to a location with only ASCII characters in the path.";
|
||||
} else {
|
||||
msg += "Please reinstall Processing from the original location.";
|
||||
msg += "Please reinstall Processing.";
|
||||
}
|
||||
Base.showError("Font Sadness", msg, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user