Группа :: Графические оболочки/Icewm
Пакет: icewm
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: icewm-1.0.4-fonts.patch
diff -ur icewm-1.2.10/src/yconfig.h.orig icewm-1.2.10/src/yconfig.h
--- icewm-1.2.10/src/yconfig.h.orig 2003-08-13 12:25:34 +0400
+++ icewm-1.2.10/src/yconfig.h 2003-08-13 12:29:55 +0400
@@ -33,15 +33,15 @@
#define BOLDTTFONT(pt) "-xftdummy-monospace-bold-r-*-*-*-" #pt "-*-*-*-*-*-*"
#else
#ifdef FONTS_ADOBE
-#define FONT(pt) "-b&h-lucida-medium-r-*-*-*-" #pt "-*-*-*-*-*-*"
-#define BOLDFONT(pt) "-b&h-lucida-bold-r-*-*-*-" #pt "-*-*-*-*-*-*"
-#define TTFONT(pt) "-b&h-lucidatypewriter-medium-r-*-*-*-" #pt "-*-*-*-*-*-*"
-#define BOLDTTFONT(pt) "-b&h-lucidatypewriter-bold-r-*-*-*-" #pt "-*-*-*-*-*-*"
+#define FONT(pt) "-*-*-medium-r-*-*-*-" #pt "-*-*-*-*-*-*"
+#define BOLDFONT(pt) "-*-*-bold-r-*-*-*-" #pt "-*-*-*-*-*-*"
+#define TTFONT(pt) "-*-*-medium-r-*-*-*-" #pt "-*-*-*-*-*-*"
+#define BOLDTTFONT(pt) "-*-*-bold-r-*-*-*-" #pt "-*-*-*-*-*-*"
#else
-#define FONT(pt) "-adobe-helvetica-medium-r-*-*-*-" #pt "-*-*-*-*-*-*"
-#define BOLDFONT(pt) "-adobe-helvetica-bold-r-*-*-*-" #pt "-*-*-*-*-*-*"
-#define TTFONT(pt) "-adobe-courier-medium-r-*-*-*-" #pt "-*-*-*-*-*-*"
-#define BOLDTTFONT(pt) "-adobe-courier-bold-r-*-*-*-" #pt "-*-*-*-*-*-*"
+#define FONT(pt) "-*-helvetica-medium-r-*-*-*-" #pt "-*-*-*-*-*-*"
+#define BOLDFONT(pt) "-*-helvetica-bold-r-*-*-*-" #pt "-*-*-*-*-*-*"
+#define TTFONT(pt) "-*-courier-medium-r-*-*-*-" #pt "-*-*-*-*-*-*"
+#define BOLDTTFONT(pt) "-*-courier-bold-r-*-*-*-" #pt "-*-*-*-*-*-*"
#endif
#endif
diff -ur icewm-1.0.4.orig/src/icehelp.cc icewm-1.0.4/src/icehelp.cc
--- icewm-1.0.4.orig/src/icehelp.cc Tue Dec 5 19:28:19 2000
+++ icewm-1.0.4/src/icehelp.cc Tue Dec 5 19:31:45 2000
@@ -663,7 +663,7 @@
//-adobe-helvetica-bold-o-normal--11-80-100-100-p-60-iso8859-1
//font = YFont::getFont("-adobe-helvetica-medium-r-normal--8-80-75-75-p-46-iso8859-1");
//font = YFont::getFont("-adobe-helvetica-medium-r-normal--24-240-75-75-p-130-iso8859-1");
- font = YFont::getFont("-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1", "sans-serif-12");
+ font = YFont::getFont("-*-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1", "sans-serif-12");
//font = YFont::getFont("-adobe-helvetica-medium-r-normal--11-80-100-100-p-56-iso8859-1");
//font = YFont::getFont("-adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1");
normalFg = new YColor("rgb:00/00/00");
diff -ur icewm-1.0.4.orig/src/iceicon.cc icewm-1.0.4/src/iceicon.cc
--- icewm-1.0.4.orig/src/iceicon.cc Tue Dec 5 19:28:19 2000
+++ icewm-1.0.4/src/iceicon.cc Tue Dec 5 19:32:21 2000
@@ -188,7 +188,7 @@
bg = new YColor("rgb:CC/CC/CC");
fg = YColor::black; //new YColor("rgb:00/00/00");
- font = YFont::getFont("-b&h-lucida-medium-r-*-*-*-120-*-*-*-*-*-*", "monospace:size=10");
+ font = YFont::getFont("-*-lucida-medium-r-*-*-*-120-*-*-*-*-*-*", "monospace:size=10");
fontWidth = font->textWidth("M");
fontHeight = font->height();