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: Werner LEMBERG
Subject: Re: [ft-devel] improved tracing support
Date: Sat, 18 Aug 2018 07:37:56 +0200 (CEST)

>>>> 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?

No, I always want this.  However, adding an option to disable prefixes
is easy, e.g.,

  FT2_DEBUG="any:3 memory:7 stream:5 noprefix"

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

Maybe, I don't know.  Since it's trivial to support older compilers
(but without the new feature) I don't see a reason to suddenly enforce
C99.

>>> 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.

Thanks!


    Werner

reply via email to

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