Bug 69285 - fonts on non standard gtk widgets spaced out
Summary: fonts on non standard gtk widgets spaced out
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gnumeric (Show other bugs)
(Show other bugs)
Version: 8.0
Hardware: i386 Linux
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact:
Depends On:
Blocks: 67218 79579 CambridgeTarget
TreeView+ depends on / blocked
Reported: 2002-07-19 22:06 UTC by Need Real Name
Modified: 2007-04-18 16:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-04-29 20:47:34 UTC
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 22:06 UTC, 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 20:57 UTC, 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 21:05 UTC, Peter van Egdom
no flags Details
Screenshot of contents of ~/.gtkrc file (113.11 KB, image/png)
2002-08-22 21:13 UTC, Peter van Egdom
no flags Details
Output of xlsfonts (51.72 KB, image/png)
2002-08-25 20:17 UTC, Peter van Egdom
no flags Details
Screenshot show GTK1(?) fonts problem in Phoebe (74.45 KB, image/png)
2002-12-28 10:10 UTC, Peter van Egdom
no flags Details

Description Need Real Name 2002-07-19 22:06:06 UTC
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 19:52:30 UTC
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-26 01:27:52 UTC
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 06:06:45 UTC
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 16:10:26 UTC
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 22:04:44 UTC
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 22:06:04 UTC
Created attachment 69004 [details]
X session via Reflection showing gftp

Comment 7 Robert P. J. Day 2002-08-06 20:27:56 UTC
  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-14 03:29:27 UTC
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 17:36:31 UTC
Please confirm this is still happening in (Null).

Comment 10 Peter van Egdom 2002-08-22 20:55:43 UTC
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 20:57:58 UTC
Created attachment 72364 [details]
gFTP session via XDMCP on Red Hat Linux 7.3.94 ('null')

Comment 12 Peter van Egdom 2002-08-22 21:05:44 UTC
Created attachment 72384 [details]
Font spacing in Gnumeric on Red Hat Linux 7.3.94 ('null')

Comment 13 Peter van Egdom 2002-08-22 21:13:06 UTC
Created attachment 72404 [details]
Screenshot of contents of ~/.gtkrc file

Comment 14 Owen Taylor 2002-08-22 21:43:57 UTC
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 20:17:21 UTC
Created attachment 72864 [details]
Output of xlsfonts

Comment 16 Peter van Egdom 2002-12-28 10:07:45 UTC
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 10:10:56 UTC
Created attachment 88954 [details]
Screenshot show GTK1(?) fonts problem in Phoebe

Comment 18 Owen Taylor 2002-12-28 15:15:07 UTC
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 23:56:00 UTC
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 20:47:34 UTC
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.