Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Решение ошибки найдено....

The solution to the error was found....

У кого возникают ошибки типа;

У кого возникают ошибки типа;

com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load font, FreeType error code: 2

at com.badlogic.gdx.graphics.g2d.freetype.FreeType$Library.newMemoryFace(FreeType.java:123)

at com.badlogic.gdx.graphics.g2d.freetype.FreeType$Library.newFace(FreeType.java:109)

at com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.<init>(FreeTypeFontGenerator.java:95)

at com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.<init>(FreeTypeFontGenerator.java:86)

at com.majalis.screens.ScreenElements.getCustomFont(ScreenElements.java:70)

at com.majalis.screens.ScreenFactoryImpl.getEncounter(ScreenFactoryImpl.java:240)

at com.majalis.screens.ScreenFactoryImpl.getScreen(ScreenFactoryImpl.java:134)

at com.majalis.screens.AbstractScreen.switchScreen(AbstractScreen.java:141)

at com.majalis.screens.LoadScreen.switchFade(LoadScreen.java:46)

at com.majalis.screens.AbstractScreen.showScreen(AbstractScreen.java:114)

at com.majalis.screens.LoadScreen.render(LoadScreen.java:52)

at com.badlogic.gdx.Game.render(Game.java:46)

at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:233)

at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:128)

Смените шрифт в настройках и всё будет работать!

Change the font in the settings and everything will work!


===========================================================================================================================