Bug#284229: [Pkg-xfce-devel] Bug#284229: Bug#284229: Bug#284229: Bug#284229: Bug#284229: XFCE4: Fonts are smaller if X was started by 'startx'

2007-11-02 Thread Yves-Alexis Perez
  Because there are two DPI values. One reported by xdpyinfo | grep
  dots, and one reported by xrdb -query | grep Xft.dpi. Gnome allows to
  set Xft.dpi, and even sets it by default if the DPI value reported by
  xdpyinfo is too small - which is a bug in gnome. If the user means 50
  DPI, gnome should obey slavishly and allow her to shoot herself in the
  foot.
 
 so, this bug should be reassigned to gnome?

I don't know. I guess it's a different issue. DPI settings aren't that easy to
understand for users and it shouldn't be fixed by him anyway.

I'm for closing this bug anyway, what do you think?

Regards,
-- 
Yves-Alexis Perez



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#284229: [Pkg-xfce-devel] Bug#284229: bug #284229

2007-09-17 Thread Michael Gilbert
note that when launched via gdm, the gnome font size is always the
same, regardless of the dpi setting in /etc/gdm/gdm.conf.
  
   Look in gdmsetup, you can configure this.
 
  i looked in gdmsetup and couldn't find a setting for this.  where
  should i be looking?

 Security Tab / Configure X server / Command

the point i was making there is that gnome ignores the dpi setting set
there, and always uses 100 dpi.  maybe xfce should do the same?

  maybe '-dpi 100' should be automatically set in gdm.conf?  this would
  be a question for the gdm maintainer.

 I don't think so, what about people with a display which have more (or
 less) DPI? Fixing DPI isn't a good idea.

 I don't think there's bug lying in Xfce, so maybe we can close this bug?

i still think this is a bug.  why does gnome behave differently than
xfce?  for example, if dpi is set to 50 in gdm, xfce will have a
really small font, but gnome will still have a normal-sized font (and
it will still say it used a 50x50 dpi resolution in
/var/log/Xorg.0.log).



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#284229: [Pkg-xfce-devel] Bug#284229: Bug#284229: bug #284229

2007-09-17 Thread Yves-Alexis Perez
On lun, 2007-09-17 at 20:26 -0400, Michael Gilbert wrote:
  Security Tab / Configure X server / Command
 
 the point i was making there is that gnome ignores the dpi setting set
 there, and always uses 100 dpi.  maybe xfce should do the same?

Well, maybe there's another place where gnome sets the DPI. I don't
know, I don't use it.


  I don't think there's bug lying in Xfce, so maybe we can close this
 bug?
 
 i still think this is a bug.  why does gnome behave differently than
 xfce? 

Maybe you should ask a gnome maintainer.

  for example, if dpi is set to 50 in gdm, xfce will have a
 really small font, but gnome will still have a normal-sized font (and
 it will still say it used a 50x50 dpi resolution in
 /var/log/Xorg.0.log). 

If you change dpi settings it *must* change the font size. If it
doesn't, you found a bug.

In gnome and Xfce, can you do:
xdpyinfo | grep Resolution

and paste the output?

You can also set dpi with xrandr (only for next started applications).

Regards,
-- 
Yves-Alexis Perez




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#284229: [Pkg-xfce-devel] Bug#284229: Bug#284229: Bug#284229: Bug#284229: XFCE4: Fonts are smaller if X was started by 'startx'

2007-09-16 Thread Yves-Alexis Perez
On sam, 2007-09-15 at 18:19 -0400, Michael Gilbert wrote:
 so, the question is, should the fonts be so large with the large dpi?

yes.

 as a user, i expect the font to always be the same, regardless of the
 number of dots per inch computed.

well, a 8 points font won't look the same if you change the number of
points displayed per inches.


 note that when launched via gdm, the gnome font size is always the
 same, regardless of the dpi setting in /etc/gdm/gdm.conf.

Look in gdmsetup, you can configure this.
-- 
Yves-Alexis Perez




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#284229: [Pkg-xfce-devel] Bug#284229: bug #284229

2007-09-16 Thread Alexander Toresson
On 9/16/07, Michael Gilbert [EMAIL PROTECTED] wrote:
   as a user, i expect the font to always be the same, regardless of the
   number of dots per inch computed.
 
  well, a 8 points font won't look the same if you change the number of
  points displayed per inches.

 i'd expect the font to be the same size regardless of dpi, but it
 would look really bad at the low dpi setting,  rather than being
 shrunk.


I'm sorry, but that doesn't make any sense. Font sizes are specified
in points. Note that points are not the same as pixels. Then to figure
out how big the font should be in pixels, the X server's dpi setting
is used. This is so a font of a given point size will be the same size
on all monitors, as long as you have specified the right dpi for it.
If you specify a too big dpi setting, your fonts will be too big and
if it is too small, the fonts will be too small.

I think I understand what you're thinking, though. You're thinking dpi
in terms of printers, where the dpi you print with specifies the
quality of the print. However, your monitor does at a given resolution
only have one dpi, which can be calculated from the size of the
monitor and the resolution. If the 'real' dpi of your monitor is 100
dpi, and you set it to 200 dpi, this would result in kinda the same
result as you would get if you send picture data at 200 dpi to your
printer _when it expects 100 dpi  data_. That is, stuff will be
printed as twice as big as was intended.

Regards, Alexander Toresson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#284229: [Pkg-xfce-devel] Bug#284229: bug #284229

2007-09-16 Thread Yves-Alexis Perez
On dim, 2007-09-16 at 17:25 -0400, Michael Gilbert wrote:
   as a user, i expect the font to always be the same, regardless of the
   number of dots per inch computed.
 
  well, a 8 points font won't look the same if you change the number of
  points displayed per inches.
 
 i'd expect the font to be the same size regardless of dpi, but it
 would look really bad at the low dpi setting,  rather than being
 shrunk.

You set the font size using *point*.
 
   note that when launched via gdm, the gnome font size is always the
   same, regardless of the dpi setting in /etc/gdm/gdm.conf.
 
  Look in gdmsetup, you can configure this.
 
 i looked in gdmsetup and couldn't find a setting for this.  where
 should i be looking?

Security Tab / Configure X server / Command
 
 i found that the reason that the xfce font is always the same size
 using startx is because the dpi is always set to 100x100.  i'm not
 sure which startx script or config file does this.

Look in /etc/X11/xinit/xserverrc
 
 maybe '-dpi 100' should be automatically set in gdm.conf?  this would
 be a question for the gdm maintainer.

I don't think so, what about people with a display which have more (or
less) DPI? Fixing DPI isn't a good idea.

I don't think there's bug lying in Xfce, so maybe we can close this bug?

Regards,
-- 
Yves-Alexis Perez




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#284229: [Pkg-xfce-devel] Bug#284229: Bug#284229: Bug#284229: XFCE4: Fonts are smaller if X was started by 'startx'

2007-09-15 Thread Michael Gilbert
ok, if i go with 'command=/usr/bin/X -audit 0 -dpi 125' in
/etc/gdm/gdm.conf, the fonts are very large in both gdm and xfce.

if i go with 'command=/usr/bin/X -audit 0 -dpi 100', the fonts look
the right size in both gdm and xfce (and this is the about the font
size that you get with xfce when using startx instead of gdm)

if i go with 'command=/usr/bin/X -audit 0 -dpi 75', the fonts are very
small in both gdm and xfce.

if i go with 'command=/usr/bin/X -audit 0 -dpi 25', the fonts in both
gdm and xfce are so small that they are unreadable.

so, the question is, should the fonts be so large with the large dpi?
as a user, i expect the font to always be the same, regardless of the
number of dots per inch computed.

note that when launched via gdm, the gnome font size is always the
same, regardless of the dpi setting in /etc/gdm/gdm.conf.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#284229: [Pkg-xfce-devel] Bug#284229: Bug#284229: Bug#284229: XFCE4: Fonts are smaller if X was started by 'startx'

2007-09-10 Thread Yves-Alexis Perez
On dim, 2007-09-09 at 16:33 -0400, Michael Gilbert wrote:
  Which resolution are you using, and wich size (in inches) is your
  screen?
 
 1600x1200 on a 15 display.

That means a display with 12 x 9

1600/12 = 133
1200/12 = 133

So the calculated DPI is correct (if you do and xdpyinfo | grep
dimension or search for display size in /var/log/Xorg.0.log you'll find
the correct size, I guess the diagonal is more like 15.1 or 15.4.

So the DPI is ok, you don't need to force 96, on contrary you should go
with the 125 dpi settings found by nvidia.

Regards,
-- 
Yves-Alexis




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#284229: [Pkg-xfce-devel] Bug#284229: Bug#284229: XFCE4: Fonts are smaller if X was started by 'startx'

2007-09-09 Thread Yves-Alexis Perez
On dim, 2007-09-09 at 13:50 -0400, Michael Gilbert wrote:
 maybe this is a problem with NVIDIA's DPI autodetection?

Maybe, I don't know.
Which resolution are you using, and wich size (in inches) is your
screen?
-- 
Yves-Alexis




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#284229: [Pkg-xfce-devel] Bug#284229: Bug#284229: XFCE4: Fonts are smaller if X was started by 'startx'

2007-09-09 Thread Michael Gilbert
 Which resolution are you using, and wich size (in inches) is your
 screen?

1600x1200 on a 15 display.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]