Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Big fonts after update [UNSOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Cobo
n00b
n00b


Joined: 30 Jan 2006
Posts: 42

PostPosted: Wed May 23, 2007 11:44 pm    Post subject: Big fonts after update [UNSOLVED] Reply with quote

Hi all!

I updated my gentoo a couple of days ago and also installed Beryl. Now, I don't know why, I have bigger fonts than before in every application. I haven't changed any configuration... and it happens on GTK2 apps and nonGTK apps like urxvt.

Where should I start looking? Could Beryl be related? I haven't found anything on its configuration related to fonts but I might have skipped it.

Any idea? Thanks!
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Wed May 23, 2007 11:55 pm    Post subject: Reply with quote

chances are that you did not set your screen dimensions in your xorg conf, so that value has to be auto detected or assumed, which is unfortunately not at all reliable. Every time a different screen size is detected, your (assumed) dpi will change, and this change will be reflected in all sort of things, the most noticable being the font size.

check what xdpyinfo says about your screen size and dpi, measure and set the correct values manually in your xorg.conf and disable driver side auto detection if necessary.
Back to top
View user's profile Send private message
Cobo
n00b
n00b


Joined: 30 Jan 2006
Posts: 42

PostPosted: Fri May 25, 2007 11:45 am    Post subject: Reply with quote

Hi!

Thank you for the pointing. That seems to be exactly the problem. When I run xdpy:
Code:
default screen number:    0
number of screens:    1

screen #0:
  print screen:    no
  dimensions:    1680x1050 pixels (286x193 millimeters)
  resolution:    149x138 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x70

This is a laptop connected to an external display and those values seem to be the laptop's one even once I set Xorg to output just to the external display. I'm getting right resolution on the external screen but it seems it isn't being reflected in some way as xdpy reports.

I've already set the DisplaySize in Xorg to the external monitor's one, but anything has changed...

xorg.conf part:
Code:
Section "Monitor"
    Identifier "External Monitor"
    Option "DPMS"
    DisplaySize 433 271
    Modeline "1680x1050"  119.00  1680 1728 1760 1840  1050 1053 1059 1080 -hsync +vsync
EndSection


Is there anything else that can be done?

Thank you for the support.
Back to top
View user's profile Send private message
wrdaniel
n00b
n00b


Joined: 30 Dec 2006
Posts: 40

PostPosted: Fri May 25, 2007 1:47 pm    Post subject: Reply with quote

if you manually change the display size you also need a
Code:
Option      "UseEdidDpi" "false"

line in your DEVICE section. I use a nvidia card, dont know if its the same for ati, etc.
Back to top
View user's profile Send private message
Cobo
n00b
n00b


Joined: 30 Jan 2006
Posts: 42

PostPosted: Fri May 25, 2007 2:01 pm    Post subject: Reply with quote

wrdaniel wrote:
if you manually change the display size you also need a
Code:
Option      "UseEdidDpi" "false"

line in your DEVICE section. I use a nvidia card, dont know if its the same for ati, etc.
Yeah, after a search on google I found a page on Gentoo Wiki that said so, but... it didn't work either. It must be just for nvidia as the examples in the page were on nvidia too.

For the record. mine is a Intel950 card.

Thanks anyway! Cheers!
Back to top
View user's profile Send private message
wrdaniel
n00b
n00b


Joined: 30 Dec 2006
Posts: 40

PostPosted: Fri May 25, 2007 4:16 pm    Post subject: Reply with quote

i found this on http://wiki.beryl-project.org/wiki/Install_Beryl_on_Ubuntu_Edgy_with_XGL

Code:
GNOME & Intel embedded graphics (tested 3/15/07 on a Dell 700m w/ 915resolution driver for WXGA, works but defaults to metacity manager for now?)
#!/bin/sh
beryl-manager
sleep 4
exec gnome-session

(this other configuration worked for me, on a Fujitsu-Siemens with i810. Please, note that I added beryl-manager to the starting programs in in the session. ianni67)
 #! /bin/sh
 Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer -dpi 96 &
 sleep 4 
 export DISPLAY=:1
 # Start GNOME
 cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
 xauth -i add :1 . "$cookie"
 exec gnome-session


maybe with this you can force the 96 dpi?!
Back to top
View user's profile Send private message
Cobo
n00b
n00b


Joined: 30 Jan 2006
Posts: 42

PostPosted: Fri May 25, 2007 5:19 pm    Post subject: Reply with quote

Thanks for the interest, but that seems to be only when running on Xgl and I'm actually running on Xorg.

I've written to the Xorg list about the problem. More than forcing a DPI it should be detecting the Display Size well. If I get anything valuable I'll post it here.

Thanks you . Cheers!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum