I have a C application the relies on Motif 2.2 (OpenMotif I believe) for its user interface. Problems are that:
- the fonts are ugly
- sometimes (depending on CentOS version) they don't display bold/italic in the default user interface
- also the list of available fonts in a font selection popup is severely limited with respect to the fonts installed in the OS
- also the list of available fonts in a font selection popup is different whether the program is running from a remote X session (ssh -X) or locally in a KDE window manager.
I've been reading pages such as https://www.freebsd.org/doc/handbook/x-fonts.html but I can't make heads or tails of this behavior.
In other words, how can I:
- have the full list of fonts available in my program (both via remote X session and local window manager execution)
- have consistent bold/italic behavior
- have better looking font (aliasing maybe), but that's a minor point.