Bug 19804 - [Ubuntu-8.10] - Incorrect fonts appear using Google Earth-4.2
[Ubuntu-8.10] - Incorrect fonts appear using Google Earth-4.2
Status: CLOSED WORKSFORME
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300
7.2
x86 (IA32) All
: medium major
Assigned To: Default DRI bug account
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-29 02:55 UTC by Sunil Mekathotti
Modified: 2009-02-16 22:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (1.51 KB, text/plain)
2009-01-29 02:56 UTC, Sunil Mekathotti
Details
Xorg-log (68.18 KB, text/plain)
2009-01-29 02:57 UTC, Sunil Mekathotti
Details
google earth-4.2 screen shot (620.44 KB, image/x-png)
2009-01-29 04:08 UTC, Sunil Mekathotti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sunil Mekathotti 2009-01-29 02:55:29 UTC
Details of the X-stack:
----------------------

mesa/drm:           master (git)     27-JAN-2009
mesa/mesa :        7.2                                             
xorg/xserver:        1.5.2                                               
xorg/xf86-video-ati: master(git)      27-JAN-2009                            
xorg/driver/xf86-input-keyboard - 1.3.0                  
xorg/driver/xf86-input-mouse-1.3.0 


Problem:
--------

When I launch Google Earth-4.2 on Ubuntu-8.10 system, i get text like check-boxes! (attached the screenshot)

This problem is not observed on OpenSUSE 11.0 - with exact driver.
Comment 1 Sunil Mekathotti 2009-01-29 02:56:30 UTC
Created attachment 22345 [details]
xorg.conf
Comment 2 Sunil Mekathotti 2009-01-29 02:57:27 UTC
Created attachment 22346 [details]
Xorg-log
Comment 3 Sunil Mekathotti 2009-01-29 04:08:29 UTC
Created attachment 22347 [details]
google earth-4.2 screen shot
Comment 4 Michel Dänzer 2009-01-29 04:44:57 UTC
This looks more like a font (e.g. fontconfig) configuration issue than a driver issue... e.g. this would happen if the specified font doesn't exist.
Comment 5 Dan Nicholson 2009-01-29 09:40:06 UTC
Maybe this is an issue with the X server?

(==) No FontPath specified.  Using compiled-in default.
(==) FontPath set to:
	built-ins

I don't know if Google Earth uses core fonts or Xft. If you run it from a terminal, do you get any messages on stderr?
Comment 6 Sunil Mekathotti 2009-01-30 01:31:27 UTC
(In reply to comment #5)
> Maybe this is an issue with the X server?
> (==) No FontPath specified.  Using compiled-in default.
> (==) FontPath set to:
>         built-ins
> I don't know if Google Earth uses core fonts or Xft. If you run it from a
> terminal, do you get any messages on stderr?

No, i don't get any errors on stderr.

I got a hint from my Opensuse11.0 system that, when i launched GE-4.2 from it, it throughs an error - "Bitstream Vera Sans font not installed,  to install visit www.gnome.org/fonts". 

With this hint i checked my Ubuntu system if that font is installed or not. 
'fc-list' command gave me the output that it is installed on Ubuntu.
Eventhen GE-4.2 on Ubuntu I get un readable fonts as reported in the bug.

BTW, what does 'libfreetype' do, which was loaded(ref: Xorg log file)?


Comment 7 Dan Nicholson 2009-01-30 09:49:07 UTC
I have no idea how Google Earth uses fonts, but I would try rebuilding your server with --disable-builtin-fonts and setting the FontPath to where your distro's fonts are.
Comment 8 Michel Dänzer 2009-01-31 06:21:48 UTC
(In reply to comment #5)
> (==) No FontPath specified.  Using compiled-in default.
> (==) FontPath set to:
>         built-ins
> 
> I don't know if Google Earth uses core fonts or Xft.

I'd expect the latter. I think server side fonts would have a different failure mode. OTOH the glyphs that are there do look like the fixed font...
Comment 9 Sunil Mekathotti 2009-02-16 22:16:50 UTC
This problem is not observed with the following X-stack:

mesa/drm:           master (git)     16-FEB-2009
mesa/mesa :        7.2                                             
xorg/xserver:        1.5.2                                               
xorg/xf86-video-ati: master(git)      16-FEB-2009                           
xorg/driver/xf86-input-keyboard - 1.3.0                  
xorg/driver/xf86-input-mouse-1.3.0 

- No other changes in my driver build procedure.

closing the bug.