Группа :: Безопасность/Сети
Пакет: tinyca
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: tinyca-0.6.8-alt-gui_fonts.patch
--- tinyca-0.6.8/lib/GUI.pm.orig 2005-06-05 14:15:16 +0400
+++ tinyca-0.6.8/lib/GUI.pm 2005-06-05 14:15:21 +0400
@@ -67,7 +67,7 @@
# initialize fonts and styles
my $fontfix = Gtk::Gdk::Font->fontset_load(
- "-adobe-courier-medium-r-normal--*-100-*-*-*-*-*-*"
+ "-*-courier-medium-r-normal--*-100-*-*-*-*-*-*"
);
if(defined($fontfix)) {
$self->{'stylefix'} = Gtk::Style->new();
--- tinyca-0.6.8/lib/GUI/HELPERS.pm.orig 2005-06-05 14:15:43 +0400
+++ tinyca-0.6.8/lib/GUI/HELPERS.pm 2005-06-05 14:15:52 +0400
@@ -212,7 +212,7 @@
$label->set_line_wrap($wrap);
if($bold) {
my $font = Gtk::Gdk::Font->fontset_load(
- "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
+ "-*-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
);
if(defined($font)) {
my $stylebold = Gtk::Style->new();
--- tinyca-0.6.8/lib/GUI/X509_browser.pm.orig 2005-06-05 14:16:02 +0400
+++ tinyca-0.6.8/lib/GUI/X509_browser.pm 2005-06-05 14:16:13 +0400
@@ -61,7 +61,7 @@
}
# initialize fonts and styles
- $font = Gtk::Gdk::Font->fontset_load("-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*");
+ $font = Gtk::Gdk::Font->fontset_load("-*-helvetica-bold-r-normal--*-120-*-*-*-*-*-*");
if(defined($font)) {
$self->{'stylebold'} = Gtk::Style->new();
$self->{'stylebold'}->font($font);
@@ -69,7 +69,7 @@
$self->{'stylebold'} = undef;
}
- $fontfix = Gtk::Gdk::Font->fontset_load("-adobe-courier-medium-r-normal--*-100-*-*-*-*-*-*");
+ $fontfix = Gtk::Gdk::Font->fontset_load("-*-courier-medium-r-normal--*-100-*-*-*-*-*-*");
if(defined($fontfix)) {
$self->{'stylefix'} = Gtk::Style->new();
$self->{'stylefix'}->font($fontfix);