You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
from what i can tell im not missing anything from the example, outside of the fact that im using kotlin.
Im getting this error message in my browser when FreeType is initialized:
Ive used gdx-liftoff to generate my project and the teavm module has the neccessary extension to work with freetype.
Im using my generator like this:
val params = FreeTypeFontGenerator.FreeTypeFontParameter().apply {
this.size = size
borderColor = com.badlogic.gdx.graphics.Color.BLACK
borderWidth = 2F
}
val font: BitmapFont
FreeTypeFontGenerator(Gdx.files.internal("font.ttf")).apply {
font = generateFont(params)
dispose()
}
But i doubt that that is the issue, as it crashes even without the generator, when im manually calling FreeType.initFreeType();
Id be very thankfull if you could point me in the right direction here :)
The text was updated successfully, but these errors were encountered:
Hello,
from what i can tell im not missing anything from the example, outside of the fact that im using kotlin.
Im getting this error message in my browser when FreeType is initialized:
Ive used gdx-liftoff to generate my project and the teavm module has the neccessary extension to work with freetype.
Im using my generator like this:
But i doubt that that is the issue, as it crashes even without the generator, when im manually calling FreeType.initFreeType();
Id be very thankfull if you could point me in the right direction here :)
The text was updated successfully, but these errors were encountered: