[Fontconfig-bugs] [Bug 59438] Fix <alias> inside <match>
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 24 02:58:45 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=59438
--- Comment #4 from Akira TAGOH <akira at tagoh.org> ---
Okay, here is another proposal:
http://cgit.freedesktop.org/~tagoh/fontconfig/commit/?h=bz59438-2
the test case in comment#1 in question would introduces the warning in this
case and no more make the empty match pattern:
$ FC_DEBUG=1028 ./fc-match/fc-match
...
Fontconfig warning: "/home/tagoh/.config/fontconfig/conf.d/000-bz59438.conf",
line 7: No <test> nor <edit> elements in <match>
...
Loading config file
/home/tagoh/.config/fontconfig/conf.d/000-bz59438.conf
Add Subst match
pattern any family Equal(ignore blanks) "sans-serif"
edit
Edit family AppendLast "foo";
...
This doesn't prevent <alias> inside <match> exactly though.
(In reply to comment #3)
> Or we can make it valid to have alias in match. Otherwise, lets just close
> this. Having a way to enable DTD verification (envvar and cmdline arg to
> fc-* tools) in libxml is useful.
Sure. but I suppose that feature isn't available in expat. it may be a good
opportunity to switch the default parser to libxml though, as we had Bug#34266
in bz, we need to polish a bit for libxml support perhaps. there seems some
distros enabling it by default, it's not used in Fedora. so I'm not sure how
better it works on. maybe I should try...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20130124/c969a8c6/attachment.html>
More information about the Fontconfig-bugs
mailing list