src_compile() { use debug && append-flags -DFT_DEBUG_LEVEL_TRACE ... } The above compile-time flag enables run-time tracing through environment variables, e.g. export FT2_DEBUG="any:2 memory:5 io:4" in a bash terminal, in and freetype2 will show a great deal of debug information in the term, which can often be useful. Please consider this addition. Reproducible: Always Steps to Reproduce: 1. 2. 3.
why only trace and not the other flags ?
Unfortunately, I reported this bug so long ago (1 year and 4 months) that I can't even remember the circumstances surrounding my need to use freetype in a debug or trace mode.
i'm going to close this bug. if anyone does have a need for this, feel free to speak up.
Not only is the freetype issue ancient history, I think Gentoo has deprecated the 'debug' USE flag anyway.