From 6fe076976b760dcfcbbcab58f2c602980bab4a56 Mon Sep 17 00:00:00 2001 From: Ivan Polyakov Date: Thu, 10 Feb 2022 20:40:22 +0300 Subject: [PATCH] ligatures patch --- config.mk | 8 ++++---- manifest.scm | 1 + patches.def.h | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/config.mk b/config.mk index 1308770..096ff32 100644 --- a/config.mk +++ b/config.mk @@ -19,10 +19,10 @@ PKG_CONFIG = pkg-config #XCURSOR = -lXcursor # Uncomment the lines below for the ligatures patch / LIGATURES_PATCH -#LIGATURES_C = hb.c -#LIGATURES_H = hb.h -#LIGATURES_INC = `$(PKG_CONFIG) --cflags harfbuzz` -#LIGATURES_LIBS = `$(PKG_CONFIG) --libs harfbuzz` +LIGATURES_C = hb.c +LIGATURES_H = hb.h +LIGATURES_INC = `$(PKG_CONFIG) --cflags harfbuzz` +LIGATURES_LIBS = `$(PKG_CONFIG) --libs harfbuzz` # Uncomment this for the SIXEL patch / SIXEL_PATCH #SIXEL_C = sixel.c sixel_hls.c diff --git a/manifest.scm b/manifest.scm index deec587..7799af5 100644 --- a/manifest.scm +++ b/manifest.scm @@ -8,4 +8,5 @@ "gcc-toolchain" "libxft" "libx11" + "harfbuzz" "make")) diff --git a/patches.def.h b/patches.def.h index 36dc788..94817c2 100644 --- a/patches.def.h +++ b/patches.def.h @@ -215,7 +215,7 @@ * https://github.com/cog1to/st-ligatures * https://st.suckless.org/patches/ligatures/ */ -#define LIGATURES_PATCH 0 +#define LIGATURES_PATCH 1 /* This patch makes st ignore terminal color attributes by forcing display of the default * foreground and background colors only - making for a monochrome look. Idea ref.