[Fusioninventory-devel] Inventory fonts

Gonéri Le Bouder goneri at rulezlan.org
Wed Apr 3 14:37:18 UTC 2013


On Wed, Apr 03, 2013 at 04:28:35PM +0200, David Durieux wrote:
> 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.
Good for you.
 
> With "findFile", it use more than 2 minutes (stopped before end of task) and
> so only to get files
That's not the point.
 - findFile aims to be generic exactily to avoid situation like this one
   where everyone start a new module as soon as a new need arise
 - findFile specification has been started a last 12 months ago and I got
   zero feedback from you during these 12 months
 - performance can be improved by depending on "locate" and friends.

Best regards,
--
    Gonéri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/fusioninventory-devel/attachments/20130403/4e65e01e/attachment.pgp>


More information about the Fusioninventory-devel mailing list