freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] FreeType2 API popularity investigation


From: Behdad Esfahbod
Subject: Re: [ft-devel] FreeType2 API popularity investigation
Date: Tue, 04 Sep 2012 14:35:57 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20

Suzuki-san,

Care to summarize your findings?

Thanks,
behdad

On 09/04/2012 06:11 AM, suzuki toshiya wrote:
> Hi,
> 
> Just I did a preliminary investigation of FreeType2 API popularity.
> What I did was following:
> 
> 1) Get the catalogs of the binary packages of Linux distributions.
> 
> Debian: mirror site's 
> dists/{unstable,stable,testing}/{main,contrib,non-free}/binary-i386/Packages.bz2
> Fedora: mirror site's 
> linux/releases/[0-9][0-9]/Fedora/i386/os/repodata/XXX-primary.xml.gz
> 
> In my case, Debian sid and FedoraCore 17 were checked.
> 
> 2) Get the binary packages that the catalog shows the direct
> dependency from the binary package to libfreetype.so.6.
> 
> Parsing the catalog files are done by attached Ruby scripts
> (parseAptPackages.rb for Debian, parseYumPrimary.rb for Fedora)
> 
> 3) Extract the package content and execute "nm" on the binary
> executable, shared object, and archive files. Then pick the
> symbols looking like FreeType2. Scanning is done by attached
> shell scripts (mkDebListUsingFT.sh for .deb package,
> mkRpmListUsingFT.sh for .rpm package).
> 
> 4) Result
> Also I attached the list of package (pkglist), the list of
> APIs used by the packages (per-package counting) (usedfunc),
> and the frequency list (freqlist). The unit of the frequency is
> the number of the package (how many package uses the function),
> not the number of the reference (how many times the function
> is referred).
> 
> --
> 
> One of the interesting point is that the frequencies of
> FT_Init_FreeType() and FT_Done_FreeType() are different.
> I guess that some applications allocate FT_Library object
> but finishes without freeing it.
> 
> Regards,
> mpsuzuki
> 
> Werner LEMBERG wrote:
>>>  I think FreeType3 should have some distinction of APIs between the
>>> APIs bound to real single font file, and APIs not bound to.  Maybe I
>>> should investigate the existing software and make a list of referred
>>> APIs and their popularity.
>>
>> Please do so!
>>
>>
>>     Werner
> 
> 
> 
> _______________________________________________
> Freetype-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]