[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU DDD and hidpi
From: |
Joe Nelson |
Subject: |
Re: GNU DDD and hidpi |
Date: |
Wed, 13 Dec 2023 09:57:32 -0600 |
> I am using debian 12 and hidpi, gnu ddd icon and text fonts are very
> small, I have tweaked the Gtk and QT apps look normal. Is there any
> guide to tune DDD to look normal, I am not familiar with openmotif's
> fonts configuration.
Hi Yuan, I've had good results by switching the Motif rendering table
[0] to use FreeType (XFT) fonts.
Here's an example from my system (which happens to have the Inconsolata
XFT font installed):
Ddd*renderTable: rt
Ddd*rt*fontType: FONT_IS_XFT
Ddd*rt*fontName: Inconsolata
Ddd*rt*fontSize: 8
The change applies to all UI areas of the program except the data
display window.
FWIW, I also like to use a dark mode:
Ddd*XmText.background: black
Ddd*XmText.foreground: white
Ddd*XmTextField.background: black
Ddd*XmTextField.foreground: white
Ddd*XmList.background: black
Ddd*XmList.foreground: white
Ddd*graph_edit.background: #333333
Ddd*graph_edit.edgeColor: red
Ddd*graph_edit.nodeColor: white
Ddd*graph_edit.gridColor: white
0: https://www.ist.co.uk/motif/books/vol6A/ch-24.fm.html