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