Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font path in manpage not updated #1041

Open
uli42 opened this issue Feb 28, 2022 · 2 comments
Open

font path in manpage not updated #1041

uli42 opened this issue Feb 28, 2022 · 2 comments

Comments

@uli42
Copy link
Member

uli42 commented Feb 28, 2022

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

@uli42
Copy link
Member Author

uli42 commented Feb 28, 2022

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
Copy link
Member Author

uli42 commented Feb 28, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant