[Fusioninventory-devel] Inventory fonts

David Durieux d.durieux at siprossii.com
Wed Apr 3 14:28:35 UTC 2013


Le 2013-04-03 16:08, Gonéri Le Bouder a écrit :
> On Tue, Apr 02, 2013 at 08:06:43PM +0200, Guillaume Rousse wrote:
>> Le 02/04/2013 17:54, David Durieux a écrit :
>
> As Kévin said, I think Collect
> ( 
> http://www.fusioninventory.org/documentation/dev/spec/api/rest-collect/ 
> )
> is the way to go. Espcially "findFile".

I have tried some minutes ago my code to get all files with .ttf and 
.otf parse them with Font::TTF (because compiled) to extract 
manufacturer, real name of font and version use less than 1 second.

With "findFile", it use more than 2 minutes (stopped before end of 
task) and so only to get files

David



More information about the Fusioninventory-devel mailing list