[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: font size changes when dpi changes



On Wed, 2003-08-13 at 06:37, Mpiktas wrote:
> Hi,
> 
> > > > Do you mean size in pixels or in say millimetres? The idea is to
> > > > preserve the latter.
> > >
> > > But neither is preserved. If either of them would be preserved fonts of
> > > predefined size should look smaller after dpi is increased. Now it's the
> > > opposite, they look bigger. Verdana 13 looks bold for example.
> > 
> > Not really. If you have more DPI your pixels will be smaller in the real
> > world. So, for the fonts to take the same real space you need to use
> > more pixels. Increasing the DPI of your display should make the fonts
> > bigger (in pixels). If you increase the DPI setting in X and don't
> > change the monitor, fonts should increase in (real) size since they take
> > more pixels of the same real size.
> > 
> 
> What does it mean change DPI setting in X and dont't change monitor? 

DPI is a fixed property of your monitor. So, if you change that setting
in a given computer the fonts will change size. If you want all your
computers to display fonts the same size you need to set each computer
to it's correct DPI setting.

> I synchronized X DPI setting and gnome DPI setting, but the problem persists.

If by "the problem" you mean "when X change dpi, and I change it
accordingly in gnome-font-properties, font size changes" you didn't
understand my previous mail since that's not a problem at all it's a
feature.

> And if it really is as you are saying, why I do not observe the same behaviour 
> in Mozilla, OOo and other non-gtk2 apps?

Possibly because they're getting their DPI setting from somewhere else
and not acting correctly on your changes. Anyway, *those* apps are the
ones showing incorrect behaviour, GNOME is doing the right thing by
reacting to your DPI change.

> Mpiktas

Pedro

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: