summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/mrxvt/files/font-defaults.patch25
-rw-r--r--packages/mrxvt/mrxvt_0.5.2.bb5
2 files changed, 28 insertions, 2 deletions
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 <jimmyzhou@users.sf.net>"
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