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
When use this library, i have the 2 following error:
Error 1:
error: no suitable method found for generateData(int,String
,boolean,PixmapPacker)
FreeTypeFontGenerator.FreeTypeBitmapFontData fontData = generato
r.generateData(fontSize, FreeTypeFontGenerator.DEFAULT_CHARS, false, packer);
^
method FreeTypeFontGenerator.generateData(int) is not applicable
(actual and formal argument lists differ in length)
method FreeTypeFontGenerator.generateData(FreeTypeFontParameter) is not appl
icable
(actual and formal argument lists differ in length)
method FreeTypeFontGenerator.generateData(FreeTypeFontParameter,FreeTypeBitm
apFontData) is not applicable
(actual and formal argument lists differ in length)
Error2:
no suitable constructor found for BitmapFont(FreeTy
peBitmapFontData,TextureRegion[],boolean)
BitmapFont font = new BitmapFont(fontData, texRegions, false);
^
constructor BitmapFont.BitmapFont(FileHandle,TextureRegion,boolean) is not a
pplicable
(argument mismatch; FreeTypeBitmapFontData cannot be converted to FileHand
le)
constructor BitmapFont.BitmapFont(FileHandle,FileHandle,boolean) is not appl
icable
(argument mismatch; FreeTypeBitmapFontData cannot be converted to FileHand
le)
constructor BitmapFont.BitmapFont(BitmapFontData,TextureRegion,boolean) is n
ot applicable
(argument mismatch; TextureRegion[] cannot be converted to TextureRegion)
constructor BitmapFont.BitmapFont(BitmapFontData,Array<TextureRegion>,boolea
n) is not applicable
(argument mismatch; TextureRegion[] cannot be converted to Array<TextureRe
gion>)
The text was updated successfully, but these errors were encountered:
bangive
changed the title
Error
library seems outdated lead to error
Jan 4, 2016
Timbals
pushed a commit
to Timbals/gdx-smart-font
that referenced
this issue
Jan 15, 2016
When use this library, i have the 2 following error:
Error 1:
Error2:
The text was updated successfully, but these errors were encountered: