Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 69285 - fonts on non standard gtk widgets spaced out
fonts on non standard gtk widgets spaced out
Product: Red Hat Linux
Classification: Retired
Component: gnumeric (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Caolan McNamara
Depends On:
Blocks: 67218 79579 CambridgeTarget
  Show dependency treegraph
Reported: 2002-07-19 18:06 EDT by Need Real Name
Modified: 2007-04-18 12:44 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-04-29 16:47:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
X session via Reflection showing gftp (64.49 KB, image/png)
2002-08-05 18:06 EDT, Peter van Egdom
no flags Details
gFTP session via XDMCP on Red Hat Linux 7.3.94 ('null') (75.87 KB, image/png)
2002-08-22 16:57 EDT, Peter van Egdom
no flags Details
Font spacing in Gnumeric on Red Hat Linux 7.3.94 ('null') (67.40 KB, image/png)
2002-08-22 17:05 EDT, Peter van Egdom
no flags Details
Screenshot of contents of ~/.gtkrc file (113.11 KB, image/png)
2002-08-22 17:13 EDT, Peter van Egdom
no flags Details
Output of xlsfonts (51.72 KB, image/png)
2002-08-25 16:17 EDT, Peter van Egdom
no flags Details
Screenshot show GTK1(?) fonts problem in Phoebe (74.45 KB, image/png)
2002-12-28 05:10 EST, Peter van Egdom
no flags Details

  None (edit)
Description Need Real Name 2002-07-19 18:06:06 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020712

Description of problem:
In gnumeric on the non standard gtk widgets (the table itself) the fonts appear
spaced out. I t   l o o k s   k i n d a   l i k e   t h i s .

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. launch gnumeric
2. click in a cell
3. type a few characters

Actual Results:  s p a c e d   o u t    l e t t e r s

Expected Results:  normal spacing
Comment 1 Need Real Name 2002-07-23 15:52:30 EDT
Frustrated testers might want to know that gnumeric-1.1.6 and abiword cvs (with
--enable-xft) do not exhibit this bug
Comment 2 Gigs 2002-07-25 21:27:52 EDT
Gaim and Sylpheed also exhibit this on my system.  I have installed the 75 and
100 dpi fonts that were left out of the installer.

Sylpheed is pretty much unusuable (text runs off the edges), and Gaim does not
function very well with the miskerned fonts.  In gaim you cannot see the names
of who is talking, most likely font related.
Comment 3 Need Real Name 2002-07-26 02:06:45 EDT
In gaim after turning on ignore incoming faces, the only issue i had was with
italicised text which doens't seem to display
Comment 4 Gigs 2002-07-27 12:10:26 EDT
Upon computer reboot due to power failure, I realized that I hadn't restarted x
font server, only X.  Gaim and Sylpheed now work properly.  Gaim still has the
aforementioned problem with italicised text.
Comment 5 Peter van Egdom 2002-08-05 18:04:44 EDT
I see this behaviour (by using Reflection X from a Windows to a Linux box) too
in the non GTK2 applications (gftp, gnumeric, .. ) in Limbo beta 2.

 (see attached screenshot)
Comment 6 Peter van Egdom 2002-08-05 18:06:04 EDT
Created attachment 69004 [details]
X session via Reflection showing gftp
Comment 7 Robert P. J. Day 2002-08-06 16:27:56 EDT
  i just tested the newer rawhide version -- gnumeric-1.0.9-2 -- and while 
the text looks better, it is still spaced out too much.

  weirdly, in my example, the bold text looks fine; it's the regular
non-bold that is spaced too much.

  so, it's better but still not there.
Comment 8 Owen Taylor 2002-08-13 23:29:27 EDT
What this is a symptom of is that given the font specification that
gftp is using, gftp can't find any of the encodings for your locale
(probably iso10646-1 and iso8859-1, assuming en_US.UTF-8).
It then assumes that the font that it does find is in the first
encoding of the locale iso10646-1, and draws a byte string like:

 'a' \x00 'b' '\x00' ...

But since your font isn't actually a double byte font (it's not
a Unicode font, which is what a iso10646-1 font is), the \x00
characters bytes end up being rendered as spaces.

To find out why this is happening, we need to find out what font
gtk-1.2 is trying to use... Could you a:

 *) Test out if this happens with a newly created account
 *) Attach the contents of your ~/.gtkrc file.

I believe that with the GNOME in the second public beta, this
probably won't actually appears, since GNOME redirects GTK+
away from your ~/.gtkrc to ~/.gtkrc-1.2-gnome2, but it might
appear if you logged in in failsafe mode.
Comment 9 Preston Brown 2002-08-21 13:36:31 EDT
Please confirm this is still happening in (Null).
Comment 10 Peter van Egdom 2002-08-22 16:55:43 EDT
I'm still seeing this problem in a XDMCP connection to a Red Hat Linux 
7.3.94 'null') machine.

I'll post a screenshot as an attachment.
Comment 11 Peter van Egdom 2002-08-22 16:57:58 EDT
Created attachment 72364 [details]
gFTP session via XDMCP on Red Hat Linux 7.3.94 ('null')
Comment 12 Peter van Egdom 2002-08-22 17:05:44 EDT
Created attachment 72384 [details]
Font spacing in Gnumeric on Red Hat Linux 7.3.94 ('null')
Comment 13 Peter van Egdom 2002-08-22 17:13:06 EDT
Created attachment 72404 [details]
Screenshot of contents of ~/.gtkrc file
Comment 14 Owen Taylor 2002-08-22 17:43:57 EDT
Can you attach the output of :

 xlsfonts -fn '-*-helvetica-medium-r-normal--*-120-*-*-p-*-*-*'

Connected to that display?
Comment 15 Peter van Egdom 2002-08-25 16:17:21 EDT
Created attachment 72864 [details]
Output of xlsfonts
Comment 16 Peter van Egdom 2002-12-28 05:07:45 EST
In the supplied OpenOffice package in Red Hat Linux release 8.0.92 (Phoebe) this
problem can still be reproduced. Part of this package is the program "oosetup",
which displays some really wacked fonts. See attached screenshot.
Comment 17 Peter van Egdom 2002-12-28 05:10:56 EST
Created attachment 88954 [details]
Screenshot show GTK1(?) fonts problem in Phoebe
Comment 18 Owen Taylor 2002-12-28 10:15:07 EST
I'm pretty sure the OpenOffice installer isn't using GTK+ --- certainly
the rest of OpenOffice doens't'. So, you probably should file a separate
bug about that. 
Comment 19 John Thacker 2004-01-28 18:56:00 EST
Definitely sounds like a problem related to Unicode locales.  For all
the applications I see listed here-- gnumeric, gaim, gftp, OpenOffice,
abiword, sylpheed-- the problem is resolved.  Recommend closing. 
Comment 20 Caolan McNamara 2004-04-29 16:47:34 EDT
Ok, clearly right now on my stock FC2 gnumeric/gftp/OOo/etc work fine,
I'll go out on a limb here and say it works now. If there is a
contemporary example of this reappearing then re-open this and we'll
go digging again.

Note You need to log in before you can comment on or make changes to this bug.