loboris / ESP32_TFT_library

Full featured TFT library for ESP32 with demo application
553 stars 219 forks source link

opaque mode is not fully opaque #9

Open jkearins opened 6 years ago

jkearins commented 6 years ago

There is a problemed code in the following function:

static int printProportionalChar(int x, int y) {
    ...
    if ((font_buffered_char) && (!font_transparent)) {
        <problemed code>
    }
    ...
}

By default

font_transparent=0; //means 'no transparency' or simply 'opaque'
font_buffered_char=1;

So we go directly to the problemed code which prints a symbol on screen. The symbol is really opaque. But there is 1 pixel space between symbols. This space is leaved transparent. To temporarily avoid the problem, I set

font_buffered_char=0;

But buffered mode seems to be much faster. Please pay attention on this code to make 1-pixel space opaque too.

loboris commented 6 years ago

Thank you for reporting this. I'll try to fix it soon.