I've to use custom font in my app. I tried to uncheck using android default font but it's not what I expected.
There is a method to use or embed custom font with the app ?
I've to use custom font in my app. I tried to uncheck using android default font but it's not what I expected.
There is a method to use or embed custom font with the app ?
I'd also like to know if this is possible![]()
As far as I know, Android (the OS, not just the exporter) doesn't support custom fonts. You will have to use a native Android font, or use active objects to make your own custom fonts.
I make Android apps and you can use custom fonts on Android. I'm not sure how you would be able to reference a custom font through MMF, but in a standard Java Android file structure, custom fonts would be placed in the /assets/fonts folder of the project.
Ok... if there is a way to build app from scratch with custom fonts, it's could be really nice to have this possibility too on mmf apk...
Any member of the staff know if it's already implemented and how we can do this ?
It's not a feature of the exporter currently, and as far as I know nobody figured it out during beta testing. I don't think anyone has looked at it in-depth though, I'm sure it's possible with a bit of code tweaking if you know what you're doing.
Perhaps a feature to add to the list for the future?
Sure because default font are not alway really nice especialy in a game context...
+1 on this, i didn't realize custom fonts wouldn't work, and my latest game look awful.. will be a lot of work or impossible to replace all the string objects, so i really wish for a way to include custom fonts with the android exporter, there are many examples on google and stackoverflow how to include it, so it should be possible to do through mmf.
Custom fonts are a pain on Android because you have to use a different type of text object if you're using a custom font, so unless CT change the string object to use that feature, or somebody programs an extension to use the other text object, then it's not likely. I just used text blitting when I ported MANOS and it made things a lot more stable anyways, and I've stuck to using text blitting for future projects![]()
Are you using an extension for that or doing it manually? as far as i could tell the character image and text blitter objects don't work on the android runtime.