relocatable pango?



Hi everyone,

LilyPond uses Pango. For our MacOS .app bundle, I would like to use Pango in a cleaner way. Currently, we have a python wrapper that rewrites the pangorc and pango.modules file for each run. This is necessary because on MacOS X, users are free to drag and drop .app bundles where they want.

So, I would like to make Pango relocatable, i.e. allow the install directories for modules and config files to be changed in between runs. I suspect that it would also make our windows32 installer more simple.

The most efficient way of accomplishing this seems to be expanding environment variables in

char **pango_split_file_list (const char *str)

and somewhere in the config file parser, eg. in pango_scan_string().


Owen, what do you think? Would such a patch stand a chance of being included?

--
 Han-Wen Nienhuys - hanwen xs4all nl - http://www.xs4all.nl/~hanwen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]