Menu

#49 How to use External Fonts

beta 1
accepted
nobody
2012-07-28
2011-05-30
No

When using QFontDialog, it only detects the droid family of fonts. I've tried using addApplicationFont to load fonts from the sdcard but it results in showing squares for all characters.

Upon further research there seems to be only one practical way of loading fonts without rooting.

http://code.google.com/p/fontvending-app/

The code is under apache license and there are several apps which use fontvending. There is also a client example demonstrating functionality.

I think somehow integrating this would be highly beneficial. I copied Arial.ttf to /sdcard/fonts/ and FBReader(it uses fontvending) recognized them just fine.

Discussion

  • BogDan Vatra

    BogDan Vatra - 2012-05-24
    • status: pending --> accepted
    • milestone: alpha 4 --> beta 1
     

Log in to post a comment.