From 484997d220f5977a16c7bf5009107b741f566918 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Fri, 11 May 2018 22:27:47 +0900 Subject: [PATCH] Fix the emboldening logic. (#1575649) --- fontconfig-fix-embolden-logic.patch | 31 +++++++++++++++++++++++++++++ fontconfig.spec | 6 +++++- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 fontconfig-fix-embolden-logic.patch diff --git a/fontconfig-fix-embolden-logic.patch b/fontconfig-fix-embolden-logic.patch new file mode 100644 index 0000000..766b7be --- /dev/null +++ b/fontconfig-fix-embolden-logic.patch @@ -0,0 +1,31 @@ +From 454923709a1a1e480554c400e053aea9a1ba951a Mon Sep 17 00:00:00 2001 +From: Akira TAGOH +Date: Thu, 10 May 2018 22:01:29 +0900 +Subject: [PATCH] Change the emboldening logic again + +enable emboldening when request was >= bold and font was <= medium + +https://bugs.freedesktop.org/show_bug.cgi?id=106460 +--- + conf.d/90-synthetic.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/conf.d/90-synthetic.conf b/conf.d/90-synthetic.conf +index e344e4a..6b929dd 100644 +--- a/conf.d/90-synthetic.conf ++++ b/conf.d/90-synthetic.conf +@@ -42,9 +42,9 @@ + --> + + +- ++ + +- regular ++ medium + + + +-- +2.17.0 + diff --git a/fontconfig.spec b/fontconfig.spec index ed52930..1c8a112 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -3,7 +3,7 @@ Summary: Font configuration and customization library Name: fontconfig Version: 2.13.0 -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 @@ -20,6 +20,7 @@ Patch1: %{name}-required-freetype-version.patch Patch2: %{name}-const-name-in-range.patch Patch3: %{name}-implicit-object-for-const-name.patch Patch4: %{name}-locale.patch +Patch5: %{name}-fix-embolden-logic.patch BuildRequires: expat-devel BuildRequires: freetype-devel >= %{freetype_version} @@ -163,6 +164,9 @@ HOME=/root /usr/bin/fc-cache -s %doc fontconfig-devel.txt fontconfig-devel %changelog +* Fri May 11 2018 Akira TAGOH - 2.13.0-4 +- Fix the emboldening logic. (#1575649) + * Thu Mar 15 2018 Akira TAGOH - 2.13.0-3 - Another fix to accept the const names in param. - Fix locale issue.