On Mon, 24 Nov 2008, Michael Gerbracht wrote:
I have a small follow up question: In principle I got pencil to work
now.
I would like to get rid of the text output when a draw file is produced.
In pencil_build I found a collection of printf statements which are easy
to comment out. I still get three lines:
rufl_init.c rufl_init 130: new font manager
rufl_init.c rufl_init 146: 32 faces, 12 families
rufl_init.c rufl_load_cache 1043: 32 charsets loaded
Inside rufl I cannot find the print statements, can you tell me where this
text is output?
Lines 130, 146, and 1043 of rufl_init.c :)
I expect they use the LOG() macro.
If you build RUfl with debug turned off (add -DNDEBUG to CFLAGS in the
Makefile), then they should be silenced.
As for Pencil, the only time it will print anything out is if you call
pencil_dump().
John.