freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] improved tracing support


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] improved tracing support
Date: Fri, 17 Aug 2018 16:31:46 -0400

>>> ttload:2:   tt_face_load_font_dir: 0x20aa9d0
>>> ttload:2:   -- Number of tables:         23
>>> ttload:2:   -- Format version:   0x00010000
>> 
>> It is ok, but a little bit redundant.
> 
> What exactly do you mean with `redundant'?  Sometimes, the tracing
> output of `any:7' can be overwhelmingly large.

Can we have this only for “any” then? Is this what you suggest?

>> __func__ is also useful in C99.  Imagine how many function names we
>> could hide.  That would require C99 for tracing.
> 
> Well, yes, but we would lose a lot of tracing information for older
> compilers that don't support `__func__'

Not too many people debug Freetype on old compilers. Maybe, no one.

>> I see a lot of 0x%X, which can be shortened to %#X, crazy of me to
>> even mention.
> 
> Since this is a standard `printf' feature it could be changed any
> time.


Consider it done.


reply via email to

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