View Single Post
Old 12-08-2018, 06:59 AM   #7
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by pazos View Post
Nickel probably uses a defined list of fonts at buildtime and register them with http://doc.qt.io/archives/qt-4.8/qfo...pplicationFont. For sideload content they scan a given directory with http://doc.qt.io/archives/qt-4.8/qdiriterator.html and try to load as many (valid) ttf/otf fonts as present in that folder.

So adding new fonts to the same folder won't work as expected.
Quote:
Originally Posted by NiLuJe View Post
Sidenote: current FW have moved to Qt 5.2 (or so, the relevant part is Qt5 here ;p), but this should still hold true, even if in spirit only .
Then, the process should be: make a fake program with Qt5.2 and desired fonts inside, take the hard coded fonts, rename with kobo's one name and exchange.
Isn't it?
Good luck.
jcn363 is offline   Reply With Quote