Trying to load a Font from resources throws a BufferUnderflowException
I am trying to load a Selawik font from my project's resources with following code:
but it results in an exception:
Does anyone have any clue why? The font appears to be a valid TrueType font, but Java still refuses to load it...
3 Replies
⌛
This post has been reserved for your question.
Hey @Defective! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
Post Closed
This post has been closed by <@1014466568484294656>.