Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1583309
 поиск   регистрация   авторизация 
 
Группа :: Графика
Пакет: cinepaint

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: cinepaint-0.21-alt-fonts.patch


diff -rup cinepaint-0.21-0.orig/app/about_dialog.c cinepaint-0.21-0/app/about_dialog.c
--- cinepaint-0.21-0.orig/app/about_dialog.c	2006-03-01 11:56:12 +0300
+++ cinepaint-0.21-0/app/about_dialog.c	2006-07-12 02:58:44 +0400
@@ -226,7 +226,7 @@ about_dialog_create (int timeout)
 
       style = gtk_style_new ();
       gdk_font_unref (style->font);
-      style->font = gdk_font_load ("-Adobe-Helvetica-Medium-R-Normal--*-140-*-*-*-*-*-*");
+      style->font = gdk_font_load ("-*-Helvetica-Medium-R-Normal--*-140-*-*-*-*-*-*");
       gtk_widget_push_style (style);
 
       gtk_widget_pop_style ();
diff -rup cinepaint-0.21-0.orig/app/app_procs.c cinepaint-0.21-0/app/app_procs.c
--- cinepaint-0.21-0.orig/app/app_procs.c	2006-03-23 20:49:04 +0300
+++ cinepaint-0.21-0/app/app_procs.c	2006-07-12 02:58:55 +0400
@@ -343,7 +343,7 @@ splash_text_draw (GtkWidget *widget)
 {
   GdkFont *font = NULL;
 
-  font = gdk_font_load ("-Adobe-Helvetica-Bold-R-Normal--*-140-*-*-*-*-*-*");
+  font = gdk_font_load ("-*-Helvetica-Bold-R-Normal--*-140-*-*-*-*-*-*");
   gdk_draw_string (widget->window,
 		   font,
 		   widget->style->fg_gc[GTK_STATE_NORMAL],
@@ -351,7 +351,7 @@ splash_text_draw (GtkWidget *widget)
 		   CAST(int) (0.25 * logo_area_height),
 		   PROGRAM_NAME);
 
-  font = gdk_font_load ("-Adobe-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-*");
+  font = gdk_font_load ("-*-Helvetica-Bold-R-Normal--*-120-*-*-*-*-*-*");
   gdk_draw_string (widget->window,
 		   font,
 		   widget->style->fg_gc[GTK_STATE_NORMAL],
diff -rup cinepaint-0.21-0.orig/app/bugs_dialog.c cinepaint-0.21-0/app/bugs_dialog.c
--- cinepaint-0.21-0.orig/app/bugs_dialog.c	2006-03-01 11:56:12 +0300
+++ cinepaint-0.21-0/app/bugs_dialog.c	2006-07-12 02:59:03 +0400
@@ -101,7 +101,7 @@ bugs_dialog_create (int timeout)
 
       style = gtk_style_new ();
       gdk_font_unref (style->font);
-      style->font = gdk_font_load ("-Adobe-Helvetica-Medium-R-Normal--*-140-*-*-*-*-*-*");
+      style->font = gdk_font_load ("-*-Helvetica-Medium-R-Normal--*-140-*-*-*-*-*-*");
       gtk_widget_push_style (style);
 
       gtk_widget_pop_style ();
diff -rup cinepaint-0.21-0.orig/gtkrc cinepaint-0.21-0/gtkrc
--- cinepaint-0.21-0.orig/gtkrc	2006-04-01 19:39:06 +0400
+++ cinepaint-0.21-0/gtkrc	2006-07-12 02:58:29 +0400
@@ -8,7 +8,7 @@
 
 style "ruler"
 {
-  font = "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
+  font = "-*-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
 }
 
 
diff -rup cinepaint-0.21-0.orig/gtkrc.forest2 cinepaint-0.21-0/gtkrc.forest2
--- cinepaint-0.21-0.orig/gtkrc.forest2	2004-02-10 04:40:36 +0300
+++ cinepaint-0.21-0/gtkrc.forest2	2006-07-12 02:58:36 +0400
@@ -31,7 +31,7 @@ text[INSENSITIVE] = { 0.60, 0.65, 0.57 }
 
 style "ruler" = "default"
 {
-  font = "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
+  font = "-*-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
 }
 
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005