いったいどのようにしてカスタムフロントを作成しますか?例からほぼまっすぐ:
BitmapTextureAtlas font_texture = new BitmapTextureAtlas(this.getTextureManager(), 256, 256, TextureOptions.BILINEAR);
mFont = FontFactory.createFromAsset(font_texture, this, "comic.ttf", 18f, true, Color.WHITE);
しかし、私はこのエラーを受け取ります:
The method createFromAsset(FontManager, ITexture, AssetManager, String, float, boolean, int) in the type FontFactory is not applicable for the arguments (BitmapTextureAtlas, TestGFX5Activity, String, float, boolean, Color)
私は多くの異なる組み合わせを試しましたが、何も機能しません。フォント「comic.ttf」、サイズ18、白が必要です。これを実行してエラーが発生しないようにするにはどうすればよいですか?