[Pkg-tcltk-devel] Bug#780003: Bug#780003: tk8.6: antialiasing in wish8.5/8.6 make gitk unreadable dark background

Sergei Golovan sgolovan at nes.ru
Sun Mar 8 06:01:43 UTC 2015


Hi David,

On Sun, Mar 8, 2015 at 2:25 AM, David Fries <David at fries.net> wrote:
>
> Debian jessie no longer packages tk8.4, and 8.5/8.6 versions of tk
> enable antialiasing some of the time, which is causing text to be
> nearly unreadable especially with a dark background.  This is with
> gitk and a dark background using the courier font for the diff area.

Tk doesn't render font glyphs by itself and doesn't enable or disable
antialiasing. Starting from 8.5 it uses Xft for rendering and its
global settings. So, you can disable fonts antialiasing in fontconfig
settings and enjoy almost the same fonts view as it was with 8.4.
Personally, I always switch off AA for low-resolution displays
(attached is my gitk screenshot using Tk 8.6).

Or is it gitk (and Tk applications) only which displays fonts so poorly?

As for the additional vertical space I can't say much at the moment.
Tk takes font metrics from Xft, but I can't say if there was any other
changes with respect to the text rendering.

Cheers!
-- 
Sergei Golovan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gitk.png
Type: image/png
Size: 32179 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-tcltk-devel/attachments/20150308/65b28bfa/attachment-0001.png>


More information about the Pkg-tcltk-devel mailing list