Custom font in Blackberry 10
2 answers
According to BlackBerry, custom fonts can only be added using an OpenGL project. There is a sample SDK related project (sdkdir \ target_10_0_9_2318 \ qnx6 \ usr \ share \ samples \ ndk \ GoodCitizen).
In the main.c file, change the path of the font sent to the bbutil_load_font function to your font file.
+1
source to share
We can add custom fonts to QML. below is an example for this:
http://developer.blackberry.com/native/reference/cascades/bb__cascades__fontfacerule.html Download the font file (ttf) you need and which can be packaged in assets folder.
Adding a custom font in C ++ is not supported at this time.
0
source to share