v0.7.5b: slightly renamed pixel_font and added many currency symbols
This commit is contained in:
parent
ccd5a108e9
commit
0f52c38e7a
BIN
android/src/main/assets/pixel_font.ttf
Normal file
BIN
android/src/main/assets/pixel_font.ttf
Normal file
Binary file not shown.
Binary file not shown.
|
@ -212,8 +212,9 @@ public class AndroidPlatformSupport extends PlatformSupport {
|
|||
if (systemfont){
|
||||
basicFontGenerator = new FreeTypeFontGenerator(Gdx.files.absolute("/system/fonts/DroidSans.ttf"));
|
||||
} else {
|
||||
//FIXME need to add currency symbols
|
||||
basicFontGenerator = new FreeTypeFontGenerator(Gdx.files.internal("pixelfont.ttf"));
|
||||
//FIXME should probably add more latin/cyrillic glyphs to this
|
||||
//and go over translations
|
||||
basicFontGenerator = new FreeTypeFontGenerator(Gdx.files.internal("pixel_font.ttf"));
|
||||
}
|
||||
|
||||
//android 7.0+. Finally back to normalcy, everything nicely in one .ttc
|
||||
|
|
|
@ -98,7 +98,7 @@ public class WndAndroidTextInput extends Window {
|
|||
textInput = new EditText((AndroidApplication)Gdx.app);
|
||||
textInput.setText( initialValue );
|
||||
if (!SPDSettings.systemFont()){
|
||||
textInput.setTypeface( Typeface.createFromAsset(AndroidLauncher.instance.getAssets(), "pixelfont.ttf") );
|
||||
textInput.setTypeface( Typeface.createFromAsset(AndroidLauncher.instance.getAssets(), "pixel_font.ttf") );
|
||||
}
|
||||
textInput.setFilters(new InputFilter[]{new InputFilter.LengthFilter(maxLength)});
|
||||
textInput.setInputType( InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_CAP_SENTENCES );
|
||||
|
|
Loading…
Reference in New Issue
Block a user