nx-libs
nx-libs copied to clipboard
font path in manpage not updated
from #1039: man nxagent says 'The default font path is default_font_path' which seems broken.
As the fontpath is a mix of a compile time path and some hardcoded paths, that are constructed and checked at runtime is not easy to update the manpage in correct fashion. Need to think about a proper solution. Probably it is easiest to add a command line option to nxagent that prints the final path and then exits. (see nx-11/programs/Xserver/hw/nxagent/Font.c)
In `nx-X11/programs/Xserver/Imakefile I found this:
EXTRAMANDEFS = -D__default_font_path__="`echo $(DEFAULTFONTPATH) | sed -e 's/,/, /g'`"
which seems not to be used by the makefile in hw/nxagent.
However, this is NOT the default font path of nx, it is rather the default path found on the compilation system without the hardcoded paths.