diff --git a/core/src/processing/core/PFont.java b/core/src/processing/core/PFont.java index c76e63a04..33ca7eb40 100644 --- a/core/src/processing/core/PFont.java +++ b/core/src/processing/core/PFont.java @@ -894,15 +894,19 @@ public class PFont implements PConstants { /** - * Make an internal list of all installed fonts. This can take a while with - * a lot of fonts installed, but running it on a separate thread may not - * help much. As of the commit that's adding this note, loadFonts() will - * only be called by PFont.list() and when loading a font by name, both of - * which are occasions when we'd need to block until this was finished - * anyway. It's also possible that running getAllFonts() on a non-EDT thread - * could cause graphics system issues. Further, the first fonts are usually - * loaded at the beginning of a sketch, meaning that sketch startup time - * will still be affected, even with threading (and blocking) in place. + * Make an internal list of all installed fonts. + * + * This can take a while with a lot of fonts installed, but running it on + * a separate thread may not help much. As of the commit that's adding this + * note, loadFonts() will only be called by PFont.list() and when loading a + * font by name, both of which are occasions when we'd need to block until + * this was finished anyway. It's also possible that running getAllFonts() + * on a non-EDT thread could cause graphics system issues. Further, the first + * fonts are usually loaded at the beginning of a sketch, meaning that sketch + * startup time will still be affected, even with threading in place. + * + * Where we're getting killed on font performance is due to this bug: + * https://bugs.openjdk.java.net/browse/JDK-8179209 */ static public void loadFonts() { if (fonts == null) { diff --git a/todo.txt b/todo.txt index 50d86b831..1d964a64b 100755 --- a/todo.txt +++ b/todo.txt @@ -9,6 +9,10 @@ X update to Java 8u202 X "Sketch disappeared" infinite pop up dialogs X https://github.com/processing/processing/pull/4808 X https://github.com/processing/processing/issues/4805 +X text("test", 10, 10); is still slow with lots of fonts +X https://bugs.openjdk.java.net/browse/JDK-8179209 +X added a note to the Known Issues section in the Changes wiki +_ update the about screen to 2019 fixed earlier X Could not initialize class com.sun.jna.Native on startup (Windows)