Blackberry Suporetd Telugu Font
-
12-12-2019 - |
Domanda
Sto controllando questa condizione per caricare un font:
if (FontManager.getInstance().load("/res/gautami.ttf", "MyFont", FontManager.APPLICATION_FONT) == FontManager.SUCCESS)
try {
FontFamily typeface = FontFamily.forName("MyFont");
Font myFont = typeface.getFont(Font.PLAIN, 50);
helloWorld.setFont(myFont);
}
.
Il mio codice non entra nel loop.
Anche ho provato: Vemana2000, Pothana, Abteluhu, Akaher ecc ...
Sto ricevendo NullPointerException
Soluzione
Le dimensioni del file dei font devono essere inferiori a 60kb
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow