import fontconfig-2.13.1-4.el8
This commit is contained in:
parent
8a4bf7b6d2
commit
e036976d4e
25
SOURCES/fontconfig-fix-fcvalidate.patch
Normal file
25
SOURCES/fontconfig-fix-fcvalidate.patch
Normal 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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user