Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Crappy fonts on mozilla after changing monitor
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
zen_guerrilla
Guru
Guru


Joined: 18 Apr 2002
Posts: 343
Location: Greece

PostPosted: Sun Oct 27, 2002 2:03 am    Post subject: Crappy fonts on mozilla after changing monitor Reply with quote

Hello world,
I, recently, replaced my monitor with another one and since then I get crappy fonts on mozilla's preferences menu and on pages with non-truetype fonts. The resolution is the same [1280x1024] and I changed only the freqs [new | h : 30-107, v : 48-160]. If I switch the resolution to 1600x1200 everything is ok (but it's unreadable - it's 19") so I guess it has something to do with dpi settings. Anyone ?

.:: zen ::.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20054

PostPosted: Sun Oct 27, 2002 2:25 am    Post subject: Reply with quote

Seems odd, but if you use starx, you can try startx -- -dpi 100 or dpi 96
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
zen_guerrilla
Guru
Guru


Joined: 18 Apr 2002
Posts: 343
Location: Greece

PostPosted: Sun Oct 27, 2002 2:35 am    Post subject: Reply with quote

kanuslupus wrote:
you can try startx -- -dpi 100

Thanx, that worked ! How can I make that option "permanent" for startx ?

.:: zen ::.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20054

PostPosted: Sun Oct 27, 2002 3:10 am    Post subject: Reply with quote

which startx will probably return /usr/X11R6/bin/startx. You can edit that file and try putting it in either the defaultserverargs or serverargs variable.
Code:
defaultserverargs="-dpi 100"

Also, you could make an alias for startx. I haven't actually verified that the serverargs option works yet. Someone else was having problems getting the nolisten option working.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
c_kuzmanic
Guru
Guru


Joined: 18 Apr 2002
Posts: 488
Location: Los Angeles , California

PostPosted: Sun Oct 27, 2002 3:59 am    Post subject: Reply with quote

You can also simply set the default font-resolutions used by X in /etc/X11/fs/config :



#
# X Font Server configuration file
#

# allow a max of 4 clients to connect to this font server
#client-limit = 4

# no tcp, use sockets!
no-listen = tcp

# when a font server reaches its limit, start up a new one
clone-self = on

# alternate font servers for clients to use
#alternate-servers = foo:7101,bar:7102

# where to look for fonts
# Some of these are commented out, i.e. the TrueType and Type1
# directories in /usr/share, because they aren't forced to be
# installed alongside X.
#
catalogue = /usr/X11R6/lib/X11/fonts/100dpi, ##this sets the font load order
/usr/X11R6/lib/X11/fonts/75dpi,
/usr/X11R6/lib/X11/fonts/freefont,
/usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/Speedo,
/usr/X11R6/lib/X11/fonts/CID,
/usr/X11R6/lib/X11/fonts/PEX,
/usr/X11R6/lib/X11/fonts/util,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/local,
/usr/X11R6/lib/X11/fonts/Speedo,
/usr/X11R6/lib/X11/fonts/truetype,
/usr/X11R6/lib/X11/fonts/TTF,
/usr/X11R6/lib/X11/fonts/encodings,
/usr/X11R6/lib/X11/fonts/cyrillic,
/usr/X11R6/lib/X11/fonts/freefont,
/usr/X11R6/lib/X11/fonts/sharefont,
/usr/share/fonts/default/Type1,
/usr/share/fonts/ttf/decoratives,
/usr/share/fonts/ttf/western

# in 12 points, decipoints
default-point-size = 120

# 100 x 100 and 75 x 75
default-resolutions = 100,100,75,75 ##this sets your default resolution

# how to log errors
use-syslog = on

# font cache control, specified in KB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70
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