Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fonts and DPI question
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
dizzysaurus
n00b
n00b


Joined: 31 Jul 2003
Posts: 38
Location: MI, US

PostPosted: Sat Apr 24, 2004 12:21 am    Post subject: Fonts and DPI question Reply with quote

Hi,

Quick question(s): What dictates the size of a font on screen? Should a 12 point font look the same size whether the screen is rendering at 124dpi or 99dpi?

I'm asking this because I have a laptop that connects to a docking station. Attached to the docking station is a 20inch flat panel display that is 99dpi @ 1600x1200. My laptop display is 124dpi @ 1400x1050. I've set up XF86Config's monitor section's "DisplaySize" parameters correctly (as DDC probing gives incorrect values) for each config and change between them as appropriate.

xdpyinfo shows the correct DPI for each screen, yet GNOME's font configurator always stays at 96dpi - if I try to change it to 124dpi (on my laptop) the font get HUGE!

I'm using fontconfig/freetype not xfs, but either font subsystem doesn't seem to make a difference.

I've looked on Google but I couldn't find a good explanation of how screen resolutions, DPI and point size interact.

Anyone got any pointers?
Back to top
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Sat Apr 24, 2004 1:30 am    Post subject: Reply with quote

Gnome programs ignore the dpi info from the x server as far as I know. They use whatever dpi is set in the font config app.

The font should look a lot bigger at 124dpi than at 99dpi.
Back to top
View user's profile Send private message
dizzysaurus
n00b
n00b


Joined: 31 Jul 2003
Posts: 38
Location: MI, US

PostPosted: Sat Apr 24, 2004 3:17 am    Post subject: Reply with quote

wrong place to vent, I know. BUT.

Why should a point be anything other than 1/72 of an inch? If a point on a screen were what it was on paper, then my 12 point text would be the same height irregardless of resolution. Stupid computers! ;-)

Thanks for your answer, Epyon!
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