Issue loading custom font

后端 未结 3 1950
天涯浪人
天涯浪人 2021-01-23 02:16

I am attempting to load a font, in slick2d, which (in eclipse) is located at: \"resources\\fonts\\slkscr.ttf\" with the following code:

private void         


        
3条回答
  •  情歌与酒
    2021-01-23 02:41

    You're loading the font all wrong, you should look at the examples here Slick Wiki - True Type Fonts

提交回复
热议问题