From 47c4d66aaafcc1267f308f1990ebf3519e7f6c00 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Mon, 20 Aug 2007 13:45:25 +0000 Subject: mrxvt: change default fonts and allow more smaller fonts --- packages/mrxvt/files/font-defaults.patch | 25 +++++++++++++++++++++++++ packages/mrxvt/mrxvt_0.5.2.bb | 5 +++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 packages/mrxvt/files/font-defaults.patch (limited to 'packages/mrxvt') diff --git a/packages/mrxvt/files/font-defaults.patch b/packages/mrxvt/files/font-defaults.patch new file mode 100644 index 0000000000..3412305d99 --- /dev/null +++ b/packages/mrxvt/files/font-defaults.patch @@ -0,0 +1,25 @@ +Index: mrxvt-0.5.2/src/feature.h +=================================================================== +--- mrxvt-0.5.2.orig/src/feature.h ++++ mrxvt-0.5.2/src/feature.h +@@ -474,15 +474,15 @@ + #define DEFAULT_MIN_VISIBLE_TABS (6) + + /* Minimum Xft font size (pixel) */ +-#define MIN_XFT_FONT_SIZE (8) ++#define MIN_XFT_FONT_SIZE (2) + + /* Default Xft font name and size */ +-#define DEFAULT_XFT_FONT_SIZE (12) +-#define DEFAULT_XFT_FONT_NAME "Monospace" ++#define DEFAULT_XFT_FONT_SIZE (6) ++#define DEFAULT_XFT_FONT_NAME "Vera Sans Mono" + + /* Default Xft propotional font name and size (used for menubar / tabs) */ +-#define DEFAULT_XFT_PFONT_SIZE (10) +-#define DEFAULT_XFT_PFONT_NAME "Sans" ++#define DEFAULT_XFT_PFONT_SIZE (8) ++#define DEFAULT_XFT_PFONT_NAME "Vera Sans" + + /* Default cursor blinking time (ms) */ + #define MIN_BLINK_TIME (100) diff --git a/packages/mrxvt/mrxvt_0.5.2.bb b/packages/mrxvt/mrxvt_0.5.2.bb index 9b1b4a4c24..c1811cb167 100644 --- a/packages/mrxvt/mrxvt_0.5.2.bb +++ b/packages/mrxvt/mrxvt_0.5.2.bb @@ -4,11 +4,12 @@ AUTHOR = "Jimmy Zhou " LICENSE = "GPL" SECTION = "x11/applications" DEPENDS = "freetype fontconfig libxft virtual/libx11" -PR = "r1" +PR = "r2" SRC_URI = "${SOURCEFORGE_MIRROR}/materm/mrxvt-${PV}.tar.gz \ ${SOURCEFORGE_MIRROR}/materm/no_debug_x.patch;pnum=0;patch=1 \ - file://fix-compile.patch;patch=1" + file://fix-compile.patch;patch=1 \ + file://font-defaults.patch;patch=1" inherit autotools -- cgit v1.2.3