diff options
-rw-r--r-- | x11-terms/st/files/50_cozette-font.diff | 13 | ||||
-rw-r--r-- | x11-terms/st/files/9999_custom-config.diff | 30 | ||||
-rw-r--r-- | x11-terms/st/st-9999.ebuild | 2 |
3 files changed, 14 insertions, 31 deletions
diff --git a/x11-terms/st/files/50_cozette-font.diff b/x11-terms/st/files/50_cozette-font.diff new file mode 100644 index 0000000..84b8bd5 --- /dev/null +++ b/x11-terms/st/files/50_cozette-font.diff @@ -0,0 +1,13 @@ +diff --git i/config.def.h w/config.def.h +index b832a90..75c9bb0 100644 +--- i/config.def.h ++++ w/config.def.h +@@ -5,7 +5,7 @@ + * + * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html + */ +-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; ++static char *font = "Cozette:size=20:antialias=false:autohint=false"; + + /* disable bold, italic and roman fonts globally */ + int disablebold = 0; diff --git a/x11-terms/st/files/9999_custom-config.diff b/x11-terms/st/files/9999_custom-config.diff deleted file mode 100644 index 5699226..0000000 --- a/x11-terms/st/files/9999_custom-config.diff +++ /dev/null @@ -1,30 +0,0 @@ -diff --git i/config.def.h w/config.def.h -index b832a90..29075f5 100644 ---- i/config.def.h -+++ w/config.def.h -@@ -5,12 +5,12 @@ - * - * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html - */ --static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; -+static char *font = "Cozette:size=20:antialias=false:autohint=false"; - - /* disable bold, italic and roman fonts globally */ --int disablebold = 0; --int disableitalic = 0; --int disableroman = 0; -+int disablebold = 1; -+int disableitalic = 1; -+int disableroman = 1; - - static int borderpx = 2; - -@@ -153,7 +153,7 @@ static unsigned int cursorshape = 2; - * Whether to use pixel geometry or cell geometry - */ - --static Geometry geometry = CellGeometry; -+static Geometry geometry = PixelGeometry; - - /* - * Default columns and rows numbers diff --git a/x11-terms/st/st-9999.ebuild b/x11-terms/st/st-9999.ebuild index 68a46d3..df79430 100644 --- a/x11-terms/st/st-9999.ebuild +++ b/x11-terms/st/st-9999.ebuild @@ -19,7 +19,7 @@ fi PATCHES=( "${FILESDIR}/01_disable-bold-italic-fonts-0.8.2.diff" "${FILESDIR}/02_any-geometry-0.8.1.diff" - "${FILESDIR}/9999_custom-config.diff" + "${FILESDIR}/50_cozette-font.diff" ) LICENSE="MIT" |