Bug 69285

Summary: fonts on non standard gtk widgets spaced out
Product: [Retired] Red Hat Linux Reporter: Need Real Name <hansolo>
Component: gnumericAssignee: Caolan McNamara <caolanm>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: jgiglio, p.van.egdom, rpjday
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-29 20:47:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 67218, 79579, 100644    
Attachments:
Description Flags
X session via Reflection showing gftp
none
gFTP session via XDMCP on Red Hat Linux 7.3.94 ('null')
none
Font spacing in Gnumeric on Red Hat Linux 7.3.94 ('null')
none
Screenshot of contents of ~/.gtkrc file
none
Output of xlsfonts
none
Screenshot show GTK1(?) fonts problem in Phoebe none

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:
Always

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.