You are not logged in.

#1 2004-09-07 20:32:01

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

2 noobie questions

1. What should be the value of DisplaySize in Xf86config to have -96 dpi fonts????(I have 17'Syncmaster monitor)
2. Is there an Opera package for arch or should i compile it from source??

Offline

#2 2004-09-07 21:12:33

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: 2 noobie questions

There is an Opera package in staging:
ftp://ftp.archlinux.org/tur/staging/ope … pkg.tar.gz

Offline

#3 2004-09-08 00:17:10

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: 2 noobie questions

Dreameen wrote:

1. What should be the value of DisplaySize in Xf86config to have -96 dpi fonts????(I have 17'Syncmaster monitor)

I've modified the Xservers line in /opt/kde/share/config/kdm/Xservers to

:0 local@tty1 /usr/X11R6/bin/X -dpi 96

(affects all applications)

(I'm using KDM and I also have a 17" Syncmaster monitor)
(I don't really know how to globally change this under other conditions)

Offline

#4 2004-09-08 09:51:47

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: 2 noobie questions

Dreameen wrote:

1. What should be the value of DisplaySize in Xf86config to have -96 dpi fonts????(I have 17'Syncmaster monitor)

You have to measure your display width and height size in inches. Then divide your resolution (in pixels) by the size and you will get current dpi. Sometimes this dpi is not "square" (like 96x100 dpi - run xdpyinfo to check it). You can change a little real measures to have nice 96x96 dpi as some people (including me) do. I usually use goalseek function from any worksheet application to find exact numbers.

For example:

Measured    mm        inch        pixels        dpi    
width        332,74    13,1000    1280        97,71    =97dpi
height        271,78    10,7000    1024        95,70    =95dpi
                    
Adjusted                    
width        338,67    13,3333    1280        96,00    =96dpi
height        270,93    10,6667    1024        96,00    =96dpi

To convert inches do milimeters multiply it by 25.4

The value for display size and 96dpi is:
DisplaySize    338    270

(I can't check it right now but xdpyinfo will tell you if it's exactly 96x96 dpi - if not try to increase/decrease the values by one or a few mm because they must be integers)

This is only an example not the real vaules. You have to calculate correct values yourself.

Offline

#5 2004-09-08 15:13:40

Dreameen
Member
From: Poland
Registered: 2004-09-06
Posts: 252

Re: 2 noobie questions

Thanks lanrat big_smile

I tinkered with the DisplaysSize you calculated and now i have nice, 96 dpi fonts.  8)

Offline

Board footer

Powered by FluxBB