Re: [xep-support] General identifier in XEP configuration file for font paths

From: Michael Sulyaev <>
Date: Sat Nov 25 2006 - 23:42:07 PST

Thomas Schraitle wrote:
> I believe it works. Unfortunatly, I have to use different configuration
> files that share a lot of duplicate font-group entries. The only
> difference is a different xml:base attribute, for example (omitted config
> root element):
> ---[ xep-a.xml ]---
> xml:base="file:///usr/X11R6/lib/X11/fonts/truetype/"
> ---[ xep-b.xml ]---
> xml:base="file:///usr/share/fonts/truetype/"

Hi Tom,

The fonts location on a target system won't change once the system is
installed, so you may choose between different options during install
time of your software.
I would handle this with sed on a template configuration file, replacing
e.g. __SYSTEM_FONTS__ with '/usr/X11R6/lib/X11' or '/usr/share'.
What could be wrong with this approach?

Best regards,
  Michael Sulyaev,
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Sat Nov 25 23:52:30 2006

This archive was generated by hypermail 2.1.8 : Sat Nov 25 2006 - 23:52:31 PST