Re: GNU DDD and hidpi
Michael Eager <[email protected]> Wed, 13 Dec 2023 08:51:39 -0800
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Message-ID | <[email protected]> |
On 12/13/23 07:57, Joe Nelson wrote: >> 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 You can change the font size in the DDD Preferences>Fonts. Set size to 180. -- Michael Eager