Le 2013-04-02 16:37, David Durieux a écrit :
Le 2013-04-02 16:31, Kevin Roy a écrit :
On 2 April 2013 16:19, David Durieux <[email protected]>
wrote:
Little more hard, because fonts in MacOSX not always in same
folders (and
can be in many folders), so on this system, need use locate command
to
search fonts and open them with perl modules (like Font::TTF) to be
able to
extract real name, supplier and version.
So it's a little more complexe than get file name.
The collect manager can get filename, registry key and (AFAIR)
abstract
commands so you could extend it. I think it will become a pain to
maintain
inventory code for fonts along with softwares ...
Code is not really hard, with perl module Font::TTF, is only some
lines (for MacOSX and Linux) ;)
Will be ready tomorrow + unit tests (hihi guillaume :) )
David
++
Is it a problem to add dependencies to these 2 perl modules :
* IO::String
* Font::TTF
David
++
_______________________________________________
Fusioninventory-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-devel