Wrong monospace font selected by TortoiseHg
Preconditions
On a Debian system the Monospace font is associated with the font DejaVu Sans Mono:
$ fc-match monospace
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
This makes GTK applications, like the text editor Pluma, and Qt applications, like the text editor TEA, use the font DejaVu Sans Mono when Monospace is selected.
TortoiseHg version 6.3.1 with Mercurial-6.3.2, Python-3.11.2, PyQt-5.15.9, Qt-5.15.8 is installed.
What does the user do?
- Launches TortoiseHg and opens File -> Settings -> Fonts
- Sets Diff Font to "Monospace, 9pt" and closes the settings window
- Clicks on a row in the list of commits.
What happens?
The font used for the diff is Courier
What should happen?
The font used for the diff is DejaVu Sans Mono