Bug 406583

Summary: Fonts fallback with external monitor
Product: [openSUSE] openSUSE 11.0 Reporter: Juergen Weigert <jw>
Component: X11 ApplicationsAssignee: Hendrik Vogelsang <hvogel>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: behlert, maiku.fabian
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 10.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 357354    
Attachments: screenshot -- VGA connected while Xserver start
screenshot -- no VGA connected -- normal fonts.

Description Juergen Weigert 2008-07-05 13:32:19 UTC
lenovo x60s, KDE-3.5.7 on openSUSE 11.0

When the xserver is restarted with an external monitor connected to VGA
I get quite different fonts. It appears to be a tiny default font.
The external monitor is not configured in xorg.conf, it is a samsung syncmaster 226bw supporting 1680x1050, whereas the LVDS of the X60s is at 024x768.

Using a smaller font with a bigger monitor is not helpful.
My workaround is to disconnect the monitor during X-server start, and 
connect it only later.

compare attached screenshots.
Comment 1 Juergen Weigert 2008-07-05 13:34:42 UTC
Created attachment 226110 [details]
screenshot -- VGA connected while Xserver start
Comment 2 Juergen Weigert 2008-07-05 13:36:24 UTC
Created attachment 226111 [details]
screenshot -- no VGA connected -- normal fonts.
Comment 3 Stefan Dirsch 2008-07-05 19:58:12 UTC
This sounds like a DPI issue combined with automatic monitor detection/configuration of RANDR 1.2.
Comment 4 Stefan Dirsch 2008-07-15 20:13:42 UTC
Mike?
Comment 5 Mike Fabian 2008-07-15 20:26:21 UTC
As a workaround, you could add the following rule to your
~/.fonts.conf:

 <match target="pattern" >
  <edit mode="assign" name="dpi" >
   <double>75</double>
  </edit>
 </match>

instead of 75, use the true dpi of the internal display of your
X60.

After doing this, the external display will use fonts which
have the same height in pixels as the internal display which
might be what you want.
Comment 6 Hendrik Vogelsang 2009-03-09 14:45:53 UTC
is that what you want juergen? can we close this?
Comment 7 Juergen Weigert 2009-03-12 19:22:08 UTC
I am fine with this workaround. thanks Mike.
Comment 8 Hendrik Vogelsang 2009-04-06 10:02:42 UTC
so i close this