fontconfig: Branch 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


 src/fcxml.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9133e799b57b96ef3bbf4787d1911f34d5cf6f14
Author: Jan Tojnar <jtojnar@xxxxxxxxx>
Date:   Thu Aug 13 18:36:42 2020 +0200

    Turn unknown attributes into warning
    As far as I can tell, fontconfig can recover from encountering an unknown attribute.
    And unknown elements already print a warning instead of an error, so let's make this a warning too.

diff --git a/src/fcxml.c b/src/fcxml.c
index c21090a..3b44368 100644
--- a/src/fcxml.c
+++ b/src/fcxml.c
@@ -1210,7 +1210,7 @@ FcPStackPop (FcConfigParse *parse)
 	    if (attrs[0][0])
-		FcConfigMessage (parse, FcSevereError, "invalid attribute '%s'", attrs[0]);
+		FcConfigMessage (parse, FcSevereWarning, "invalid attribute '%s'", attrs[0]);
 	    attrs += 2;
Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux