e8f856
From c336b8471877371f0190ba06f7547c54e2b890ba Mon Sep 17 00:00:00 2001
e8f856
From: Akira TAGOH <akira@tagoh.org>
e8f856
Date: Thu, 9 May 2019 07:10:11 +0000
e8f856
Subject: [PATCH] fc-validate: returns an error code when missing some glyphs
e8f856
e8f856
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/154
e8f856
---
e8f856
 fc-validate/fc-validate.c | 1 +
e8f856
 1 file changed, 1 insertion(+)
e8f856
e8f856
diff --git a/fc-validate/fc-validate.c b/fc-validate/fc-validate.c
e8f856
index 2ceee20..327ae63 100644
e8f856
--- a/fc-validate/fc-validate.c
e8f856
+++ b/fc-validate/fc-validate.c
e8f856
@@ -197,6 +197,7 @@ main (int argc, char **argv)
e8f856
 		{
e8f856
 		    FcChar32 ucs4, pos, map[FC_CHARSET_MAP_SIZE];
e8f856
 
e8f856
+		    err = 1;
e8f856
 		    printf (_("%s:%d Missing %d glyph(s) to satisfy the coverage for %s language\n"),
e8f856
 			    argv[i], index, count, lang);
e8f856
 
e8f856
-- 
e8f856
2.31.1
e8f856