nx-libs icon indicating copy to clipboard operation
nx-libs copied to clipboard

font path in manpage not updated

Open uli42 opened this issue 3 years ago • 2 comments

from #1039: man nxagent says 'The default font path is default_font_path' which seems broken.

uli42 avatar Feb 28 '22 16:02 uli42

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)

uli42 avatar Feb 28 '22 17:02 uli42

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.

uli42 avatar Feb 28 '22 17:02 uli42