New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The GuiComponent class is slow to load #144

Closed
TheRamenChef opened this Issue Jul 12, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@TheRamenChef
Copy link
Collaborator

TheRamenChef commented Jul 12, 2018

On my machine, the game I'm developing takes 2 seconds to display the first screen. I've been aware of this issue for a while now, and I've finally managed to pinpoint the cause as the static initializer for GuiComponent. It calls GraphicsEnvironment.getAvailableFontFamilyNames, which is very slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment