Chris Dennis <cgden...@btinternet.com> writes:

> Unfortunately the name of the font really is "Nimbus Sans L" -- it's
> the fact that font names can contain spaces that causes the problem,
> and means that I can't use ([^ ]+) to match the font name.

Aaah, I understand.

Then it may be that POSIX regexps are too inflexible for that job.

Perhaps you could use something like SRFI-13's `string-tokenize' to
split the string into individual words, and then write your own
processor to determine which words are part of the font name, and which
words are font hints.

Thanks,
Ludo'.



Reply via email to