import fontconfig-2.13.1-4.el8

This commit is contained in:
CentOS Sources 2021-10-06 09:55:48 -04:00 committed by Stepan Oksanichenko
parent de25a08d41
commit 5381686a89
2 changed files with 31 additions and 1 deletions

View File

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

View File

@ -5,7 +5,7 @@
Summary: Font configuration and customization library
Name: fontconfig
Version: 2.13.1
Release: 3%{?dist}
Release: 4%{?dist}
# src/ftglue.[ch] is in Public Domain
# src/fccache.c contains Public Domain code
# fc-case/CaseFolding.txt is in the UCD
@ -21,6 +21,7 @@ Patch1: %{name}-required-freetype-version.patch
Patch2: %{name}-stop-cleanup-uuid.patch
Patch3: %{name}-use-rachana.patch
Patch4: %{name}-test-delay.patch
Patch5: %{name}-fix-fcvalidate.patch
BuildRequires: expat-devel
BuildRequires: freetype-devel >= %{freetype_version}
@ -165,6 +166,10 @@ HOME=/root /usr/bin/fc-cache -s
%doc fontconfig-devel.txt fontconfig-devel
%changelog
* Mon Aug 16 2021 Akira TAGOH <tagoh@redhat.com> - 2.13.1-4
- Return the error code when fc-validate detects missing glyphs.
Resolves: rhbz#1972037
* Fri Nov 30 2018 Akira TAGOH <tagoh@redhat.com> - 2.13.1-3
- Stop cleaning up .uuid file even when a directory is empty.
resolves: rhbz#1653171