http://bugs.winehq.org/show_bug.cgi?id=25717
--- Comment #49 from Rafał Mużyło galtgendo@o2.pl 2011-02-16 16:19:10 CST --- Created an attachment (id=33317) --> (http://bugs.winehq.org/attachment.cgi?id=33317) patch for FontSubstitute problem
Seems that my reply to Dmitry's question got stuck in moderation, so attaching the patch here, so it doesn't get lost.
What I'm doing in this patch, wine is already doing, if substitutes are added in b->c, a->b order. The problem lies in that substitutions can't really be serialized, reverse checks are needed.