[PATCH:util/cf] Use font-util 1.1 XORG_FONTROOTDIR to set FontDir in site.def
Yaakov (Cygwin/X)
yselkowitz at users.sourceforge.net
Thu Oct 15 10:25:30 PDT 2009
On 15/10/2009 11:58, Alan Coopersmith wrote:
> ---
> configure.ac | 6 ++++++
> site.def.in | 5 +++++
> 2 files changed, 11 insertions(+), 0 deletions(-)
I'll take a wild guess that my Cygwin patch prompted this.
1) To match the defaults in font-util, in X11.tmpl change:
#ifndef FontDir
#define FontDir $(LIBDIR)/fonts
#endif
#ifndef FontEncDir
#define FontEncDir $(LIBDIR)/fonts/encodings
#endif
to something like:
#ifndef FontDir
# ifdef ProjectRoot
# define FontDir Concat(ProjectRoot,/share/fonts/X11)
# else
# define FontDir /usr/share/fonts/X11
# endif
#endif
#ifndef FontEncDir
#define FontEncDir Concat(FontDir,/encodings)
#endif
2) Could you back out the FontDir and FontEncDir defs in cygwin.cf as
part of this?
Yaakov
Cygwin/X
More information about the xorg-devel
mailing list