ArcticaProject / nx-libs

nx-libs
Other
119 stars 39 forks source link

font path in manpage not updated #1041

Open uli42 opened 2 years ago

uli42 commented 2 years ago

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

uli42 commented 2 years ago

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 commented 2 years ago

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.