freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Logging library proposal


From: Werner LEMBERG
Subject: Re: [ft-devel] Logging library proposal
Date: Wed, 23 Jan 2019 07:53:38 +0100 (CET)

>> > I mean that even if a GSoC student working on adding some
>> > functionality to Freetype (and who apparently was new to
>> > Freetype) never complained about the logging functionality then
>> > the logging code is not a problem at all.
>> 
>> Well, as far as I can see, it's exactly as Armin described the
>> situation: people insert `printf' statements for debugging.  And
>> the final code usually missed important debugging calls...
> 
> How does that justify adding new logging library or changing the
> current logger code?  That sounds more like current tracing
> statements should be improved.

Indeed, these are two different things.  What I tried to point out was
that students normally don't reach the level of understanding the
FreeType code so that they are wondering how and where to add proper
tracing statements.

Regarding justification of adding a logging library I can only say
that it sounds like a good idea to me.  There are chances that the
GSoC project gets finished successfully (this is, the student did his
or her job well) but the code will be rejected later on because it
doesn't work as expected.  This might happen, but even then revisiting
the whole debugging stuff is a good thing: for example, it would also
be *very* helpful to get a better structure into the debugging output
(whatever such a structure would look like) to make it more readable –
and more consistent between the various font drivers.


    Werner

reply via email to

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