[gcompris-devel] Font handling

Bruno Coudoin bruno.coudoin at gcompris.net
Tue Sep 23 22:16:07 UTC 2014


Le 18/09/2014 12:13, Johnny Jazeix a écrit :
>
> Yes and no :). You need to specify in the source code the font names
> you want to add. I didn't find how to get all the filenames inside a
> rcc but if it is possible, we can add all the fonts in a rcc file
> dynamically (just tell in the source code to read fonts.rcc and add
> the font names to the list).
>
> For now, I added them in the core directory so we load them from the
> core.rcc file. Do you prefer another external rcc ?
>
>
Hi,

What you did is good enough for now but it is possible to register an 
rcc file and use a QDir to list files in a directory in it.

Bruno.




More information about the Gcompris-devel mailing list