On Apr 14, 2:26 pm, Vinayakam Murugan <
mvinaya...@gmail.com> wrote:
> I need to bundle specific ttf fonts along with my QML application. Do let
> me know if this is possible and any pointers on how this can be done.
I just did something like this to overcome the - still lingering -
Samsung font bug.
I added fonts to the "/asset" folder of the project (I'm using
Eclipse). Then I added Java code to copy the font files to the
external storage during the first run. Afterwards they are easily
accessible from Qt.
It should be possible to use QFontDatabase::addApplicationFont(<ttf
file>), but in my case the point was to *replace* the system font
folder; so I hacked "qandroidplatformintegration.cpp" to try the
custom folder first.
Josh