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

Michael Sulyaev msulyaev at renderx.com
Sat Nov 25 23:42:07 PST 2006

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, mailto:msulyaev at renderx.com
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html

More information about the Xep-support mailing list