HTMLEditor font selector slowness
John C. Turnbull
ozemale at ozemail.com.au
Thu Sep 12 00:22:06 PDT 2013
Just a quick note about HTMLEditor. I find that the font selector takes a
very long time to load the list of fonts the first time it is clicked on and
while it is loading the entire app locks-up.
I realise that it needs to render each font name using the actual font
itself (so it probably has to instantiate each Font object) but similar
drop-downs in Word for example do exactly the same thing and load almost
Is there some reason why opening the drop-down font list take so long the
first time it is clicked? Could this be optimised some way by just loading
enough fonts to fill about 2 "pages" of fonts and then loading the rest in a
I am working with JDK8 b106 but the same thing happens with JDK7 as well.
More information about the openjfx-dev