gitk: Match ttk fonts to gitk fonts
commit6cb73c84e1dcf1d04f24b6e7915e5606bf69a5fd
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 8 Dec 2015 07:05:50 +0000 (8 08:05 +0100)
committerPaul Mackerras <paulus@samba.org>
Sat, 12 Dec 2015 02:43:52 +0000 (12 13:43 +1100)
treed196f70471454c2938f6e981d2502219306b431d
parentd70c034a7596192fd1842fa6871a720928f3b3fe
gitk: Match ttk fonts to gitk fonts

The fonts set in setoptions aren't consistently picked up by ttk, which
uses its own predefined fonts. This is noticeable when switching
between using and not using ttk with custom fonts or in HiDPI settings
(where the default TTK fonts do _not_ respect tk sclaing).

Fix by mapping the ttk fontset to the one used by gitk internally.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk