[Fontconfig] [PATCH] Introducing comparison of filetypes using stringcompare. Matching filetypes should have the highest possible precedence, as they are unique to the cache.

Jesper L. Nielsen jln at locatel.dk
Wed Apr 29 12:07:19 PDT 2009


Hi all.

I needed to be able to do matches on filenames. I've deliberately made
matching filenames weigh extremely high in the score, since an accurate
filename match is unique to the cache (but it's up for debate).

Anyway, just wanted to share the work back. Hope it's useful.

Comments welcome.

/Jesper
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Introducing-comparison-of-filetypes-using-stringcomp.patch
Type: application/octet-stream
Size: 2126 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20090429/83811a30/attachment.obj 


More information about the Fontconfig mailing list