[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] CVS Build Problem
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] CVS Build Problem |
Date: |
Tue, 26 Apr 2005 10:13:14 +0200 (CEST) |
> It appears that groff doesn't pass the command line font directories
> on directly but rather sets an environment variable
> ($GROFF_FONT_PATH).
This is correct.
> That variable does seem to be set correctly for both grn and troff,
> but they don't seem to be paying any attention to it.
Strange. The function font::load_desc (in font.cpp) calls
font::open_file (in fontfile.cpp) which in turn calls
font_path.open_file, where font_path is a search_path which explicitly
uses $GROFF_FONT_PATH. Looking into searchpatch.cpp you can see that
search_path::search_path loads the contents of GROFF_FONT_PATH with
getenv. Please insert some code there to print the value of
GROFF_FONT_PATH to stderr.
All mentioned files are in src/libs/libgroff.
Werner
Re: [Groff] CVS Build Problem, Werner LEMBERG, 2005/04/24