Bug 19804

Summary: [Ubuntu-8.10] - Incorrect fonts appear using Google Earth-4.2
Product: Mesa Reporter: Sunil Mekathotti <sbmekathotti>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: medium    
Version: 7.2   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: xorg.conf
Xorg-log
google earth-4.2 screen shot

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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.