diff options
author | Michael Lauer <mickey@vanille-media.de> | 2007-08-20 13:45:25 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2007-08-20 13:45:25 +0000 |
commit | 47c4d66aaafcc1267f308f1990ebf3519e7f6c00 (patch) | |
tree | d962ce5464b94030e2c5129ec8f7e71378907be3 | |
parent | 102f5c14b7ee31475970262f77fbe03afac6ce00 (diff) |
mrxvt: change default fonts and allow more smaller fonts
-rw-r--r-- | packages/mrxvt/files/font-defaults.patch | 25 | ||||
-rw-r--r-- | packages/mrxvt/mrxvt_0.5.2.bb | 5 |
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 |