Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2002 22:42:06 +0300 (EEST)
From:      Alexandr Kovalenko <never@nevermind.kiev.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37515: x11/gnomecore: gsm/splash.c uses hard-coded fontset
Message-ID:  <200204271942.g3RJg6KL055920@mile.nevermind.kiev.ua>

next in thread | raw e-mail | index | archive | help

>Number:         37515
>Category:       ports
>Synopsis:       x11/gnomecore: gsm/splash.c uses hard-coded fontset
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 27 12:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alexandr Kovalenko
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Net.Style Ltd.
>Environment:
System: FreeBSD mile.nevermind.kiev.ua 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Apr 21 17:35:04 EEST 2002 root@mile.nevermind.kiev.ua:/usr/obj/usr/src/sys/mile i386
Lastest ports.
>Description:
File gsm/splash.c of gnomecore package contains 
hard-coded fontset in it, which does not contain 
all of encodings, that's why gnome startup 
splashscreen looks very wierd.
http://office.netstyle.com.ua/gnomesplash.jpg (text at the bottom)
I've fixed this for myself by adding x11/gnomecore/files/patch-gsm::splash.c 
patch with following content. It is only temporary fix, I think this font 
should be user-configurable.

--- gsm/splash.c.orig	Sat Apr 27 22:13:32 2002
+++ gsm/splash.c	Sat Apr 27 22:14:49 2002
@@ -470,7 +470,7 @@
 				       "text", _("Starting GNOME"),
 				       "x", (gdouble)(width / 2),
 				       "y", (gdouble)(height - 7.5),
-				       "fontset", _("-adobe-helvetica-medium-r-normal-*-8-*-*-*-p-*-*-*"),
+				       "fontset", _("-monotype-arial-medium-r-normal-*-9-*-*-*-p-*-koi8-u"),
 				       "anchor", GTK_ANCHOR_CENTER,
 				       "fill_color", "white",
 				       NULL);
>How-To-Repeat:
cd /usr/ports/x11/gnomecore; make patch
look at work/*/gsm/splash.c

>Fix:
Only temporary, and only for koi8-u (or any other):

--- gsm/splash.c.orig	Sat Apr 27 22:13:32 2002
+++ gsm/splash.c	Sat Apr 27 22:14:49 2002
@@ -470,7 +470,7 @@
 				       "text", _("Starting GNOME"),
 				       "x", (gdouble)(width / 2),
 				       "y", (gdouble)(height - 7.5),
-				       "fontset", _("-adobe-helvetica-medium-r-normal-*-8-*-*-*-p-*-*-*"),
+				       "fontset", _("-monotype-arial-medium-r-normal-*-9-*-*-*-p-*-koi8-u"),
 				       "anchor", GTK_ANCHOR_CENTER,
 				       "fill_color", "white",
 				       NULL);
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204271942.g3RJg6KL055920>