// FreeType sets FT_Bitmap::buffer to NULL when the bitmap is empty (e.g. for ' ')\r
// JNICheck is on by default on emulators and might have a point anyway...\r
// So let's avoid this and just return a dummy non-null non-zero buffer\r
- return ByteBuffer.allocate(1);\r
+ return BufferUtils.newByteBuffer(1);\r
return getBuffer(address);\r
}\r
\r
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;\r
import com.badlogic.gdx.tests.ProjectiveTextureTest;\r
import com.badlogic.gdx.tests.TextureDownloadTest;\r
+import com.badlogic.gdx.tests.extensions.FreeTypeTest;\r
+import com.badlogic.gdx.tests.extensions.InternationalFontsTest;\r
import com.badlogic.gdx.tests.gwt.GwtTestWrapper;\r
import com.badlogic.gdx.tests.utils.GdxTest;\r
import com.badlogic.gdx.utils.SharedLibraryLoader;\r
new SharedLibraryLoader("../../extensions/gdx-image/libs/gdx-image-natives.jar").load("gdx-image");\r
new SharedLibraryLoader("../../extensions/gdx-freetype/libs/gdx-freetype-natives.jar").load("gdx-freetype");\r
\r
- GdxTest test = new GwtTestWrapper();\r
+ GdxTest test = new InternationalFontsTest();\r
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();\r
config.width = 640;\r
config.height = 640;\r