mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
ca24bdf217
a/hwdata-0.342-noarch-1.txz: Upgraded. a/pam-1.5.1-x86_64-1.txz: Upgraded. ap/sqlite-3.34.0-x86_64-1.txz: Upgraded. l/libarchive-3.5.0-x86_64-1.txz: Upgraded. x/fontconfig-2.13.92-x86_64-1.txz: Upgraded. I'm pretty sure there was a good reason to switch to 2.13.92 on the devel release path, but I'm not sure the same can be said about 2.13.93. We'll stick with this one for now until there's a stable release or another good reason to bump it. x/xorg-server-1.20.10-x86_64-1.txz: Upgraded. x/xorg-server-xephyr-1.20.10-x86_64-1.txz: Upgraded. x/xorg-server-xnest-1.20.10-x86_64-1.txz: Upgraded. x/xorg-server-xvfb-1.20.10-x86_64-1.txz: Upgraded. x/xorg-server-xwayland-1.20.10-x86_64-1.txz: Upgraded. xap/gnuplot-5.4.1-x86_64-1.txz: Upgraded.
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From cb1036a7c7f1cb79fa799b1db368c86b018ec368 Mon Sep 17 00:00:00 2001
|
|
From: Akira TAGOH <akira@tagoh.org>
|
|
Date: Fri, 9 Aug 2019 12:22:08 +0000
|
|
Subject: [PATCH] Affect FC_FONT_HAS_HINT property to score on matcher
|
|
|
|
---
|
|
src/fcmatch.c | 1 +
|
|
src/fcobjs.h | 2 +-
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/fcmatch.c b/src/fcmatch.c
|
|
index c3d2b8ad..78bcf7b4 100644
|
|
--- a/src/fcmatch.c
|
|
+++ b/src/fcmatch.c
|
|
@@ -342,6 +342,7 @@ typedef enum _FcMatcherPriority {
|
|
PRI1(SLANT),
|
|
PRI1(WEIGHT),
|
|
PRI1(WIDTH),
|
|
+ PRI1(FONT_HAS_HINT),
|
|
PRI1(DECORATIVE),
|
|
PRI1(ANTIALIAS),
|
|
PRI1(RASTERIZER),
|
|
diff --git a/src/fcobjs.h b/src/fcobjs.h
|
|
index 7bb97d09..dd4a6ec3 100644
|
|
--- a/src/fcobjs.h
|
|
+++ b/src/fcobjs.h
|
|
@@ -72,5 +72,5 @@ FC_OBJECT (COLOR, FcTypeBool, FcCompareBool)
|
|
FC_OBJECT (SYMBOL, FcTypeBool, FcCompareBool)
|
|
FC_OBJECT (FONT_VARIATIONS, FcTypeString, NULL)
|
|
FC_OBJECT (VARIABLE, FcTypeBool, FcCompareBool)
|
|
-FC_OBJECT (FONT_HAS_HINT, FcTypeBool, NULL)
|
|
+FC_OBJECT (FONT_HAS_HINT, FcTypeBool, FcCompareBool)
|
|
/* ^-------------- Add new objects here. */
|
|
--
|
|
2.22.0
|
|
|