Re: bug in gdm with font size in themes?



On Wed, 2004-07-14 at 13:33, Søren Hansen wrote:
> ons, 2004-07-14 kl. 14:28 skrev Anton Altaparmakov:
> > Considering we tell X what our display size is in millimetres it should
> > have the correct dpi...  Certainly looking at the X server log it would
> > seem that it does have the correct dpi...
> 
> Maybe if you could run xdpyinfo on the display to get the relevant info?
> Xft has its own perception of your dpi, by the way, so if you give us
> the output of "xrdb -query" and "xdpyinfo  | grep resolution" we might
> be able to make some sense of it.

How do I run a program while gdm is running?  I assume I can't do that
so I logged in to gnome (via gdm) as root and ran the commands from
there (both of the below are on same system, same monitor, same
XF86Config file except for the mode setting specifying either 1280x1024
or 640x480):

xdpyinfo | grep resolution gives:

for 1280x1024:	95x96 dots per inch
for 640x480:	47x45 dots per inch

This seems to make sense.  The lower resolution has a lower dpi and the
factor is the same, i.e. 1024/480 == 96/45

I have attached the output of xrdb -query (the output is identical on
both resolutions!?!).

It contains the line:

Xft.dpi:	96.000000

It this the root of our problems?  If so, how can I change it?

Thanks a lot for your help!

Best regards,

	Anton
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/, http://www-stu.christs.cam.ac.uk/~aia21/
*AxeText.Translations:	#override \n   ~Shift ~Meta ~Alt <Key>Delete:	delete-next-character() \n
*Command*highlightThickness:	2
*Command.background:	grey77
*Form.background:	grey67
*Label*borderWidth:	2
*Label*shadowWidth:	2
*MenuButton*highlightThickness:	2
*MenuButton.background:	grey77
*MenuButton.foreground:	black
*Panner*shadowThickness:	2
*PushThumb:	False
*Scrollbar*background:	grey77
*Scrollbar*borderWidth:	2
*Scrollbar*cursorName:	top_left_arrow
*Scrollbar*foreground:	grey37
*Scrollbar*height:	15
*Scrollbar*pointerColor:	black
*Scrollbar*pointerColorBackground:	white
*Scrollbar*pushThumb:	false
*Scrollbar*shadowWidth:	2
*Scrollbar*width:	15
*ScrollbarBackground:	grey67
*ScrollbarForeground:	grey37
*SimpleMenu*background:	grey77
*SimpleMenu*foreground:	black
*SimpleMenu*shadowThickness:	2
*SmeBSB*shadowWidth:	2
*Text.Translations:	#override \n   ~Shift ~Meta ~Alt <Key>Delete:	delete-next-character() \n
*Toggle*highlightThickness:	2
*TransientShell*Dialog.background:	grey67
*XConsole*text.scrollHorizontal:	False
*XConsole*text.wrap:	line
*XmText.Translations:	#override \n   ~Shift ~Meta ~Alt <Key>Delete:	delete-next-character() \n   ~Shift ~Meta ~Alt <Key>osfDelete:	delete-next-character() \n   ~Shift ~Meta ~Alt <Key>osfBackSpace:	delete-previous-character() \n
*XmTextField.Translations:	#augment \n   ~Shift ~Meta ~Alt <Key>osfDelete:	delete-next-character() \n   ~Shift ~Meta ~Alt <Key>osfBackSpace:	delete-previous-character() \n
*basicLocale:	C
*beNiceToColormap:	False
*bottomShadowContrast:	45
*customization:	-color
*displayLang:	C
*inputLang:	C
*numeric:	C
*printCommand:	lpr
*shadowWidth:	2
*shapeStyle:	Rectangle
*timeFormat:	C
*topShadowContrast:	20
AcroRead*XmScrollBar.baseTranslations:	#augment     Shift<Btn5Down>: PageDownOrRight(0) \n Shift<Btn4Down>: PageUpOrLeft(0) \n    Ctrl<Btn5Down>: IncrementDownOrRight(0) IncrementDownOrRight(0) IncrementDownOrRight(0) \n    Ctrl<Btn4Down>: IncrementUpOrLeft(0) IncrementUpOrLeft(0) IncrementUpOrLeft(0) \n    <Btn5Down>: IncrementDownOrRight(0) \n <Btn4Down>: IncrementUpOrLeft(0) \n 
Ghostview.pageMedia:	A4
Mwm.interactivePlacement:	false
OpenWindows.AutoRaise:	false
OpenWindows.AutoReReadMenuFile:	true
OpenWindows.Beep:	never
OpenWindows.ClickMoveThreshold:	5
OpenWindows.DragRightDistance:	50
OpenWindows.DragThreshold:	5
OpenWindows.FocusLenience:	true
OpenWindows.IconFlashCount:	3
OpenWindows.IconLocation:	bottom
OpenWindows.MinimalDecor:	Virtual xload xmem xsysinfo xosview xbiff xclock xeyes
OpenWindows.MultiClickTimeout:	4
OpenWindows.PaintWorkspace:	true
OpenWindows.PopupJumpCursor:	true
OpenWindows.RubberBandThickness:	1
OpenWindows.ScrollbarPlacement:	right
OpenWindows.SelectDisplaysMenu:	False
OpenWindows.SelectToggleStacking:	true
OpenWindows.SelectWindows:	true
OpenWindows.ServerGrabs:	true
OpenWindows.SetInput:	followmouse
OpenWindows.ShowMoveGeometry:	true
OpenWindows.ShowResizeGeometry:	true
OpenWindows.SnapToGrid:	true
OpenWindows.Use3D:	true
OpenWindows.Use3DFrames:	true
OpenWindows.Use3DResize:	true
OpenWindows.VirtualDesktop:	2x2
OpenWindows.VirtualGrid:	none
OpenWindows.VirtualSticky:	Virtual xload xmem xsysinfo xosview xbiff xclock swissclock
Scrollbar.JumpCursor:	True
XSysinfo*.BarGauge.background:	white
XSysinfo*.background:	gray50
XSysinfo*.font:	fixed
XSysinfo*.idle.name.label:	CPU Idle:
XSysinfo*.load.name.label:	CPU Load:
XSysinfo*.mem.name.label:	Memory:
XSysinfo*.swap.name.label:	Swap:
XSysinfo*.title.label:	Linx System Info
XSysinfo*.title.width:	200
XSysinfo*idle*bar.backgroud:	red
XSysinfo*idle*bar.foreground:	green
XSysinfo*load*bar.foreground:	RosyBrown1
XSysinfo*load*bar.foreground1:	IndianRed1
XSysinfo*load*bar.foreground2:	OrangeRed1
XSysinfo*load*bar.foreground3:	firebrick1
XSysinfo*load*bar.foreground4:	pink1
XSysinfo*load*bar.foreground5:	HotPink1
XSysinfo*load*bar.foreground6:	DeepPink2
XSysinfo*load*bar.foreground7:	maroon1
XSysinfo*load*bar.segmentGap:	1
XSysinfo*mem*bar.foreground:	tomato
XSysinfo*mem*bar.foreground1:	green3
XSysinfo*mem*bar.foreground2:	orchid
XSysinfo*swap*bar.foreground:	hotpink1
Xft.antialias:	1
Xft.dpi:	96.000000
Xft.hinting:	1
Xft.hintstyle:	hintmedium
Xft.rgba:	none


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