PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > kdm changing fonts?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

kdm changing fonts?

Réponse
 
LinkBack Outils de la discussion
Vieux 22/01/2007, 20h10   #1
Luis Finotti
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut kdm changing fonts?

Hi,

I recently installed Etch in a Lenovo T60. Since I had to get the ATI
drivers to work, I did a minimal install before adding a display manager
(kdm). After I had X up and running with the proper driver, and properly
configured (with KDE), I installed KDM. Now, if I login via KDM, the fonts
(of konsole, konqueror, etc.) all get quite a bit larger. (I am 99% sure
that the resolution does not change, just the fonts get larger.) I've
noticed later the same problem with another laptop (with an Intel graphics
card and open source driver).

If you check the fonts used by konsole, for example, they are not changed
there (i.e., if it said 12pt, it still shows 12pt), but it is displayed way
too large...

GDM also makes the fonts larger, but XDM works... Does any one know what is
going wrong? Is that a bug? I'd like to be able to turn off the computer
from within KDE. It is not a big deal, but it seems that it is a bug, so I
thought I should ask.

Best to all,

Luis

  Réponse avec citation
Vieux 22/01/2007, 20h50   #2
Andrei Popescu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: kdm changing fonts?

On Mon, 22 Jan 2007 15:07:44 -0500
"Luis Finotti" <finotti.deb@gmail.com> wrote:

> GDM also makes the fonts larger, but XDM works... Does any one know
> what is going wrong? Is that a bug? I'd like to be able to turn off
> the computer from within KDE. It is not a big deal, but it seems
> that it is a bug, so I thought I should ask.


gdm sets the dpi via a commandline option. Not sure about kdm. If you
want to configure gdm I think I can still remember it.

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 22/01/2007, 21h20   #3
Rob Bochan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: kdm changing fonts?

On Monday 22 January 2007 15:07, Luis Finotti wrote:
> ...
> GDM also makes the fonts larger, but XDM works... Does any one know what is
> going wrong? Is that a bug? I'd like to be able to turn off the computer
> from within KDE. It is not a big deal, but it seems that it is a bug, so I
> thought I should ask.


Check the [X-:*-Core] section of /etc/kde3/kdm/kdmrc...
I noticed the same effect myself and make sure the line now reads:
ServerArgsLocal=-nolisten tcp -dpi 100
which cleans things up nicely in my case.


....Rob

--
Seven puppies were harmed during the making of this email.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 22/01/2007, 22h10   #4
Luis Finotti
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: kdm changing fonts?

Dear all,

On 1/22/07, Rob Bochan <robslaptopA@tgmail.com> wrote:
> On Monday 22 January 2007 15:07, Luis Finotti wrote:
> > ...
> > GDM also makes the fonts larger, but XDM works... Does any one know what is
> > going wrong? Is that a bug? I'd like to be able to turn off the computer
> > from within KDE. It is not a big deal, but it seems that it is a bug, so I
> > thought I should ask.

>
> Check the [X-:*-Core] section of /etc/kde3/kdm/kdmrc...
> I noticed the same effect myself and make sure the line now reads:
> ServerArgsLocal=-nolisten tcp -dpi 100
> which cleans things up nicely in my case.


OK, I will check that. Thanks!

But, even if that fixes it, shouldn't it be considered a bug? I don't
quite understand the "dpi" option there... What does it refer to?
(dpi="dots per inch", right? For what? The fonts? I thought that
the font size would take car of it's resolution/size...) Why does it
change what is done without it?

Well, if it works I will be happy enough. Just wondering.

Thanks again,

Luis


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 22/01/2007, 22h10   #5
Luis Finotti
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: kdm changing fonts?

Dear Andrei.

On 1/22/07, Andrei Popescu <andreimpopescu@gmail.com> wrote:
> On Mon, 22 Jan 2007 15:07:44 -0500
> "Luis Finotti" <finotti.deb@gmail.com> wrote:
>
> > GDM also makes the fonts larger, but XDM works... Does any one know
> > what is going wrong? Is that a bug? I'd like to be able to turn off
> > the computer from within KDE. It is not a big deal, but it seems
> > that it is a bug, so I thought I should ask.

>
> gdm sets the dpi via a commandline option. Not sure about kdm. If you
> want to configure gdm I think I can still remember it.


Thanks for your ! I guess Rob's reply does just that, give the
proper argument to kdm.

I appreciate your , though!

Luis


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 22/01/2007, 23h20   #6
Rob Bochan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: kdm changing fonts?

On Monday 22 January 2007 17:05, Luis Finotti wrote:
> ...
> OK, I will check that. Thanks!
>
> But, even if that fixes it, shouldn't it be considered a bug? I don't
> quite understand the "dpi" option there... What does it refer to?
> (dpi="dots per inch", right? For what? The fonts? I thought that
> the font size would take car of it's resolution/size...) Why does it
> change what is done without it?


I'm not sure why it's different, but I first noticed it last spring, see:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363359
when the font settings changed on me via startx. I'd noticed the change in
font sizes previously, as they were different when startx was used vs kdm. I
hunted down the setting for it then.

....Rob

--
Technically, you'd only need one time traveler convention.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 23/01/2007, 03h50   #7
Rick Thomas
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: kdm changing fonts?


On Jan 22, 2007, at 5:05 PM, Luis Finotti wrote:

> I don't
> quite understand the "dpi" option there... What does it refer to?
> (dpi="dots per inch", right?


dpi = dots per inch. Think of it as the inverse or "inches per dot".

If a screen actually has 100 dots per inch, and the display software
knows that, and the display software does its job correctly (all big
"if"s!) that means that each dot is 1/100 of an inch across. So to
make a 12 point font (1 point = 1/72 inch) Your "m" will be 1/6th
inch or about 0.17 inch across, or 17 dots.

Under the same assumptions of everything working as it's supposed to,
if your screen has 72 dpi, the same 12 point "m" will be 12 dots
across, or (again) 1/6 inch.

Now if you actually have a 72dpi screen, but you tell the software
you have a 100 dpi screen, the resulting 17 dot wide character "m"
will actually be 17/72 inch, or about 0.24 inch across. Looked at
another way, the actual dots are bigger than the software thinks they
are, so the characters appear larger.

By claiming to have more dpi than you do, you will make your
displayed characters on the screen appear unnaturally large.

Does that ?

Rick



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 23/01/2007, 15h10   #8
Luis Finotti
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: kdm changing fonts?

Hi,

On 1/22/07, Rick Thomas <rbthomas55@pobox.com> wrote:
> On Jan 22, 2007, at 5:05 PM, Luis Finotti wrote:
>
> > I don't
> > quite understand the "dpi" option there... What does it refer to?
> > (dpi="dots per inch", right?

>
> dpi = dots per inch. Think of it as the inverse or "inches per dot".
>
> If a screen actually has 100 dots per inch, and the display software
> knows that, and the display software does its job correctly (all big
> "if"s!) that means that each dot is 1/100 of an inch across.


Ah, I thought that all programs would know that from some
configuration file (or BIOS info, or auto-detection, etc.).

(...)

> Does that ?


Yes, very much. Thanks!

Luis


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h42.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,18409 seconds with 16 queries