Re: fontconfig fuzzy matching

[email protected] Tue, 02 Jul 2002 02:08:45 +0200
Newsgroups gmane.comp.xfree86.render
Organization Maskros Manufacturing
Message-ID <[email protected]>
Keith Packard <[email protected]> wrote:

> Can you get the spaces stuck back into the family name?  If so, then juse 
> use:

Not very likely, not without fragile heuristics.

> If this isn't possible, then we could extend the current family matching 
> algorithm to ignore white space, or at least families which differ only in 
> whitespace match better than familes which don't match at all.

I think that would be the best way. Also, it might be useful to consider
matching sub-strings (so Garamond would match AGaramond, or ITC Garamond,
for example), but that is really more a fonts.conf issue.

/tor