|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I'm having a font problem, can someone take a look at my paste:
http://pastebin.ca/649456 Thanks, Zach -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Zach wrote:
> I'm having a font problem, can someone take a look at my paste: > http://pastebin.ca/649456 > > Thanks, > Zach Hi Zach, I had a look at your xorg.conf file that you pasted up and I'm not surprised you're having font problems. There's nothing in the fonts section of your config file. You have: Section "Files" EndSection I have (xorg version 7.2-5): Section "Files" # The location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. # if the local font server has problems, we can fall back on these FontPath "/usr/share/fonts/X11/misc" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/usr/local/share/fonts" EndSection I'd say you're definitely missing something. Cheers, Jonathan -- Registerd Linux user #445917 at http://counter.li.org/ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Zach wrote:
> I'm having a font problem, can someone take a look at my paste: > http://pastebin.ca/649456 > > Thanks, > Zach Hi Zach, I had a look at your xorg.conf file that you pasted up and I'm not surprised you're having font problems. There's nothing in the fonts section of your config file. You have: Section "Files" EndSection I have (xorg version 7.2-5): Section "Files" # The location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. # if the local font server has problems, we can fall back on these FontPath "/usr/share/fonts/X11/misc" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/usr/local/share/fonts" EndSection I'd say you're definitely missing something. Cheers, Jonathan -- Registerd Linux user #445917 at http://counter.li.org/ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On 08/07/2007 11:01 PM, Zach wrote:
> I'm having a font problem, can someone take a look at my paste: > http://pastebin.ca/649456 > > Thanks, > Zach > > Again, you wrote: > i did an upgrade last night and also installed some new packages > and now my fonts aren't correct, i checked in gnome-terminal and firefox > and emacs and the fonts are appearing too small and even the window > dimensions of gnome-terminal and emacs is too small now when they open! [...] And you posted your xorg.conf: > Section "Files" > EndSection Your "Files" seems somewhat a little thin (i.e. totally empty). This is what the xorg.conf looks like on my Etch system: > Section "Files" > FontPath "/usr/share/fonts/X11/misc" > FontPath "/usr/X11R6/lib/X11/fonts/misc" > FontPath "/usr/share/fonts/X11/cyrillic" > FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" > FontPath "/usr/share/fonts/X11/100dpi/:unscaled" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" > FontPath "/usr/share/fonts/X11/75dpi/:unscaled" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" > FontPath "/usr/share/fonts/X11/Type1" > FontPath "/usr/X11R6/lib/X11/fonts/Type1" > FontPath "/usr/share/fonts/X11/100dpi" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi" > FontPath "/usr/share/fonts/X11/75dpi" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi" > # path to defoma fonts > FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" > EndSection I read your long post at break-neck speed with 20% comprehension, so forgive me if I got this wrong, but you claimed that you removed some of the font paths. To me it looks like you removed all of them, or perhaps a bug in the configuration script left them out. I suggest putting the font paths back. Your best bet is to shutdown X and reconfigure the X server: mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak # create backup /etc/init.d/gdm stop # (I'm assuming gdm. Correct for {x,k}dm.) dpkg-reconfigure xserver-xorg The above should result in a completely new xorg.conf. Check that the required font paths are in the "Files" section of your xorg.conf file. When you get back into X, if the fonts are still screwy, use an X terminal to save the output of this to a file: xset q xlsfonts The first command shows X settings, and the second one shows the fonts that X recognizes. This information s in debugging the problem. Submitting your post by linking to a pastebin...interesting. While pastebin-ing the xorg.conf is appropriate, it's better to put the text describing the problem in the e-mail you send to the list. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On 08/07/2007 11:01 PM, Zach wrote:
> I'm having a font problem, can someone take a look at my paste: > http://pastebin.ca/649456 > > Thanks, > Zach > > Again, you wrote: > i did an upgrade last night and also installed some new packages > and now my fonts aren't correct, i checked in gnome-terminal and firefox > and emacs and the fonts are appearing too small and even the window > dimensions of gnome-terminal and emacs is too small now when they open! [...] And you posted your xorg.conf: > Section "Files" > EndSection Your "Files" seems somewhat a little thin (i.e. totally empty). This is what the xorg.conf looks like on my Etch system: > Section "Files" > FontPath "/usr/share/fonts/X11/misc" > FontPath "/usr/X11R6/lib/X11/fonts/misc" > FontPath "/usr/share/fonts/X11/cyrillic" > FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" > FontPath "/usr/share/fonts/X11/100dpi/:unscaled" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" > FontPath "/usr/share/fonts/X11/75dpi/:unscaled" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" > FontPath "/usr/share/fonts/X11/Type1" > FontPath "/usr/X11R6/lib/X11/fonts/Type1" > FontPath "/usr/share/fonts/X11/100dpi" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi" > FontPath "/usr/share/fonts/X11/75dpi" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi" > # path to defoma fonts > FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" > EndSection I read your long post at break-neck speed with 20% comprehension, so forgive me if I got this wrong, but you claimed that you removed some of the font paths. To me it looks like you removed all of them, or perhaps a bug in the configuration script left them out. I suggest putting the font paths back. Your best bet is to shutdown X and reconfigure the X server: mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak # create backup /etc/init.d/gdm stop # (I'm assuming gdm. Correct for {x,k}dm.) dpkg-reconfigure xserver-xorg The above should result in a completely new xorg.conf. Check that the required font paths are in the "Files" section of your xorg.conf file. When you get back into X, if the fonts are still screwy, use an X terminal to save the output of this to a file: xset q xlsfonts The first command shows X settings, and the second one shows the fonts that X recognizes. This information s in debugging the problem. Submitting your post by linking to a pastebin...interesting. While pastebin-ing the xorg.conf is appropriate, it's better to put the text describing the problem in the e-mail you send to the list. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On Wed, Aug 08, 2007 at 07:27:50 +0200, Jonathan Kaye wrote:
> Zach wrote: > > > I'm having a font problem, can someone take a look at my paste: > > http://pastebin.ca/649456 > > > > Thanks, > > Zach > Hi Zach, > I had a look at your xorg.conf file that you pasted up and I'm not surprised > you're having font problems. There's nothing in the fonts section of your > config file. You have: > Section "Files" > EndSection > > I have (xorg version 7.2-5): > Section "Files" > > # The location of the RGB database. Note, this is the name of the > # file minus the extension (like ".txt" or ".db"). There is normally > # no need to change the default. > > > # if the local font server has problems, we can fall back on these > > FontPath "/usr/share/fonts/X11/misc" > FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" > FontPath "/usr/share/fonts/X11/Type1" > FontPath "/usr/share/fonts/X11/100dpi" > FontPath "/usr/share/fonts/X11/75dpi" > FontPath "/usr/local/share/fonts" > EndSection > > I'd say you're definitely missing something. Version 7.2 of Xorg includes the default font paths automatically now, so most of these lines are not needed anymore in the "Files" section of xorg.conf: (WW) Including the default font path /usr/share/fonts/X11/misc, /usr/share/fonts/X11/cyrillic, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType. (This is from my /var/log/Xorg.0.log; I reformatted the long line to make it more easily readable.) Zach, since you have problems with the sizes of both fonts and entire windows I suspect that your Xorg is currently working with a wrong resolution setting, maybe due to a graphics driver update. (It could also be that the resolution setting was wrong earlier and you set your application font preferences and default window sizes for this wrong configuration...) I think the best approach is to put the real physical dimensions of your screen into the "Monitor" section of your xorg.conf: DisplaySize width height (Width and height are given as dimensionless numbers and are understood to be in millimeters; see "man xorg.conf" for details.) Then you can restart X and check if the settings are correct now: $ egrep 'physical|dimensions|DPI' /var/log/Xorg.0.log (**) intel(0): Display dimensions: (340, 270) mm (**) intel(0): DPI set to (95, 120) (II) intel(0): Setting screen physical size to 338 x 270 The DPI (dots per inch) values should correspond to the number of pixels in horizontal (vertical) direction divided by the width (height) of the display. (Give-or-take 1-2 millimeters is fine; 1 inch = 25.4 mm.) The first DPI value (horizontal) is more critical for the font rendering than the second one. Another thing to check is the Xft.dpi setting in the X resource database: $ xrdb -query | grep Xft Xft.antialias: 1 Xft.dpi: 96 Xft.hinting: 1 Xft.hintstyle: hintfull Xft.rgba: none You can change the setting like this: echo "Xft.dpi: 96" | xrdb -m You have to restart running programs to see the effect. If you find a setting that you like you can put it into your ~/.Xresources file to make it permanent. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
On Wed, Aug 08, 2007 at 07:27:50 +0200, Jonathan Kaye wrote:
> Zach wrote: > > > I'm having a font problem, can someone take a look at my paste: > > http://pastebin.ca/649456 > > > > Thanks, > > Zach > Hi Zach, > I had a look at your xorg.conf file that you pasted up and I'm not surprised > you're having font problems. There's nothing in the fonts section of your > config file. You have: > Section "Files" > EndSection > > I have (xorg version 7.2-5): > Section "Files" > > # The location of the RGB database. Note, this is the name of the > # file minus the extension (like ".txt" or ".db"). There is normally > # no need to change the default. > > > # if the local font server has problems, we can fall back on these > > FontPath "/usr/share/fonts/X11/misc" > FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" > FontPath "/usr/share/fonts/X11/Type1" > FontPath "/usr/share/fonts/X11/100dpi" > FontPath "/usr/share/fonts/X11/75dpi" > FontPath "/usr/local/share/fonts" > EndSection > > I'd say you're definitely missing something. Version 7.2 of Xorg includes the default font paths automatically now, so most of these lines are not needed anymore in the "Files" section of xorg.conf: (WW) Including the default font path /usr/share/fonts/X11/misc, /usr/share/fonts/X11/cyrillic, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType. (This is from my /var/log/Xorg.0.log; I reformatted the long line to make it more easily readable.) Zach, since you have problems with the sizes of both fonts and entire windows I suspect that your Xorg is currently working with a wrong resolution setting, maybe due to a graphics driver update. (It could also be that the resolution setting was wrong earlier and you set your application font preferences and default window sizes for this wrong configuration...) I think the best approach is to put the real physical dimensions of your screen into the "Monitor" section of your xorg.conf: DisplaySize width height (Width and height are given as dimensionless numbers and are understood to be in millimeters; see "man xorg.conf" for details.) Then you can restart X and check if the settings are correct now: $ egrep 'physical|dimensions|DPI' /var/log/Xorg.0.log (**) intel(0): Display dimensions: (340, 270) mm (**) intel(0): DPI set to (95, 120) (II) intel(0): Setting screen physical size to 338 x 270 The DPI (dots per inch) values should correspond to the number of pixels in horizontal (vertical) direction divided by the width (height) of the display. (Give-or-take 1-2 millimeters is fine; 1 inch = 25.4 mm.) The first DPI value (horizontal) is more critical for the font rendering than the second one. Another thing to check is the Xft.dpi setting in the X resource database: $ xrdb -query | grep Xft Xft.antialias: 1 Xft.dpi: 96 Xft.hinting: 1 Xft.hintstyle: hintfull Xft.rgba: none You can change the setting like this: echo "Xft.dpi: 96" | xrdb -m You have to restart running programs to see the effect. If you find a setting that you like you can put it into your ~/.Xresources file to make it permanent. -- Regards, | http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
On Wed, 08 Aug 2007 06:10:07 +0200, Zach wrote:
> I'm having a font problem, can someone take a look at my paste: > http://pastebin.ca/649456 > > Thanks, > Zach Just on an offshot guess, how's your screen resolution overall - while it may seem to be OK in your various desktops, the general resolution will be carried through the entire system as default, e.g., 1280x768 vs 1024x768 on your DT; or 1280x800 vs 1200x768. Such variance can lead to a distortion of text in a number of shelled applications. Sincerely, ~A~ -- Experience is that marvelous thing that enables you to recognize a mistake when you make it again. -- Anonymous ================================ Registered Linux User No. 306834 |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
On Wed, 08 Aug 2007 06:10:07 +0200, Zach wrote:
> I'm having a font problem, can someone take a look at my paste: > http://pastebin.ca/649456 > > Thanks, > Zach Just on an offshot guess, how's your screen resolution overall - while it may seem to be OK in your various desktops, the general resolution will be carried through the entire system as default, e.g., 1280x768 vs 1024x768 on your DT; or 1280x800 vs 1200x768. Such variance can lead to a distortion of text in a number of shelled applications. Sincerely, ~A~ -- Experience is that marvelous thing that enables you to recognize a mistake when you make it again. -- Anonymous ================================ Registered Linux User No. 306834 |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
On 8/8/07, Jonathan Kaye <jdkaye10@yahoo.es> wrote:
> > Hi Zach, > I had a look at your xorg.conf file that you pasted up and I'm not surprised > you're having font problems. There's nothing in the fonts section of your > config file. You have: > .... > > I'd say you're definitely missing something. Someone said the new version of the X.Org xserver no longer puts the Font lines in the xorg.conf file. I wonder where it puts them? I just remember one of the packages that it upgraded was xserver-xorg yet it didn't show anything on stdout indicating it was changing font directors or anything! Zach -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
On 8/8/07, Mumia W.. <paduille.4061.mumia.w+nospam@earthlink.net> wrote:
> > I read your long post at break-neck speed with 20% comprehension, so > forgive me if I got this wrong, but you claimed that you removed some of > the font paths. To me it looks like you removed all of them, or perhaps > a bug in the configuration script left them out. Hi Mumia, When the xserver-xorg package was upgraded it seems to have removed them. Someone said the new version of X.Org does this. > I suggest putting the font paths back. Your best bet is to shutdown X > and reconfigure the X server: > > mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak # create backup > /etc/init.d/gdm stop # (I'm assuming gdm. Correct for {x,k}dm.) > dpkg-reconfigure xserver-xorg > > The above should result in a completely new xorg.conf. Check that the > required font paths are in the "Files" section of your xorg.conf file. > > When you get back into X, if the fonts are still screwy, use an X > terminal to save the output of this to a file: Yes I use gdm. I did what you said and the newly generated xorg.conf has no Font stuff in it. So I started X and again same font problem. So then I manually added in the font lines and I even put the 75dpi one at as the top line but still the problem doesn't go away. > xset q > xlsfonts > > The first command shows X settings, and the second one shows the fonts > that X recognizes. This information s in debugging the problem. Ok here is that output: http://pastebin.ca/650819 > Submitting your post by linking to a pastebin...interesting. While > pastebin-ing the xorg.conf is appropriate, it's better to put the text > describing the problem in the e-mail you send to the list. Heh, ok. Zach -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
Zach wrote:
> On 8/8/07, Jonathan Kaye <jdkaye10@yahoo.es> wrote: >> >> Hi Zach, >> I had a look at your xorg.conf file that you pasted up and I'm not >> surprised you're having font problems. There's nothing in the fonts >> section of your config file. You have: >> .... >> >> I'd say you're definitely missing something. > > Someone said the new version of the X.Org xserver no longer puts the > Font lines in the xorg.conf file. I wonder where it puts them? I just > remember one of the packages that it upgraded was xserver-xorg yet it > didn't show anything on stdout indicating it was changing font > directors or anything! > > Zach Well there's one quick way to find out. Assuming you have the correct font packages installed, then just add the font directories in my or Mumia's xorg.conf files that we've posted on this thread. Stop and restart your xserver. If the problem goes away then that's the solution. If it doesn't, then that wasn't the problem. Cheers, Jonathan PS No need to CC: me at my personal address I'm subscribed to this NG. -- Registerd Linux user #445917 at http://counter.li.org/ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#13 |
|
Messages: n/a
Hébergeur: |
On 08/09/2007 01:30 AM, Zach wrote:
> On 8/8/07, Mumia W.. <paduille.4061.mumia.w+nospam@earthlink.net> wrote: >> [...] >> xset q >> xlsfonts >> >> The first command shows X settings, and the second one shows the fonts >> that X recognizes. This information s in debugging the problem. > > Ok here is that output: > http://pastebin.ca/650819 > [...] The fonts are definitely recognized by X. I want to see what your dot-per-inch value is. Please give us the output of xdpyinfo. Also, try this: 1) Shutdown gdm using (as root) /etc/init.d/gdm stop 2) Go into a normal user account. 3) Start Xorg using this command: startx -- -dpi 100 Tell us if things are better. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#14 |
|
Messages: n/a
Hébergeur: |
Zach wrote:
> Someone said the new version of the X.Org xserver no longer puts the > Font lines in the xorg.conf file. I wonder where it puts them? I just > remember one of the packages that it upgraded was xserver-xorg yet it > didn't show anything on stdout indicating it was changing font > directors or anything! fwiw my xorg.conf does not have a fontpath entry, and I don't have much problem with fonts (or I have the same problem as you, but have not noticed it.) From /usr/share/doc/xorg/changelog.Debian.gz : | * Don't write the files section of xorg.conf by default. If the user | does want to write the files section, don't write out any font | paths, only write out the font server bit if they specify that. | + This will depend on having xserver-xorg-core version | 2:1.3.0.0.dfsg-3 which includes a patch to always look in the | default font paths by default. Bump the xserver-xorg dependency | on xserver-xorg-core to this version. and my xorg log shows: (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#15 |
|
Messages: n/a
Hébergeur: |
On 8/8/07, Florian Kulzer <florian.kulzer+debian@icfo.es> wrote:
> > Version 7.2 of Xorg includes the default font paths automatically now, > so most of these lines are not needed anymore in the "Files" section of > xorg.conf: I checked apt-cache for xserver-xorg and you're right I have "Version: 1:7.2-5". So where does the xserver keep the list of fonts to use and where is this file? Can I edit it or would that mess up debconf? I already tried putting the 75dpi font I wanted as the first line but my font still don't look how they did before I upgraded the xserver-xorg package. When I do ps I see: root 2371 0.0 0.5 3584 1380 ? Ss Aug08 0:00 /usr/bin/xfs -daemon root 2545 6.1 8.1 27344 20812 tty9 S<s+ Aug08 15:20 /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt9 I remember in the past seeing the font paths listed in one of the processes but I don't see that anymore. Is there a command to show exactly what font the system is using for my desktop applications (emacs, firefox, gnome-terminal)? My desktop is still running at 1024x768 and the set of GNOME icons and the start button (I use fvwm2) and taskbar and clock look exactly the same dimensions, but when I startup emacs it is definitely significantly smaller, firefox starts up the same dimensions but the fonts in it appear like 200% smaller than before! And all applications I start up on the desktop have a noticebaly thinner titlebar as well as the fonts inside the titlebar are thinner. And the gnome-terminals start up like 25% smaller dimensions and the fonts are much smaller than before. So how can I get my fonts back to how they were? This is a laptop machine (Dell C600) and my xorg.conf is using the ATI video driver, I have a: VGA compatible controller: ATI Technologies Inc Rage Mobility M3 AGP 2x. And I only have 2 video modes in my xorg.conf 1024x768 and 800x600, I switched video mode into 800x600 and confirmed I am definitely running 1024x768. > (This is from my /var/log/Xorg.0.log; I reformatted the long line to > make it more easily readable.) Here is my Xorg.0.log: http://pastebin.ca/650829 As you can see at the top of the log where it sets font paths there are some errors, it is trying to load the 100dpi fonts but I purged that package from my system so obviously the font listing it has is outdated. How can I update it? I don't have a Xorg.0.log from when the fonts were working (wish it archived more than just 1 revision) but I do have a log from when I used the XFree86 xserver for this machine. Here is the XFree86.0.log: http://pastebin.ca/650833 > Zach, since you have problems with the sizes of both fonts and entire > windows I suspect that your Xorg is currently working with a wrong > resolution setting, maybe due to a graphics driver update. (It could > also be that the resolution setting was wrong earlier and you set your > application font preferences and default window sizes for this wrong > configuration...) I know my max screen resolution is 1024x768 cause the laptop specs said so. And the desktop looks exactly like it did before I upgraded the xserver-xorg package except for when I start up applications and they appear with smaller fonts and sometimes smaller window dimensions. Is there a command that will display what resolution the X server is using? I'm like 95% certain it is using 1024x768. This is what I've always used, even back when I ran XFree86 on this machine. > I think the best approach is to put the real physical dimensions of your > screen into the "Monitor" section of your xorg.conf: > > DisplaySize width height > > (Width and height are given as dimensionless numbers and are understood > to be in millimeters; see "man xorg.conf" for details.) My laptop LCD is 11.25" (285.75mm) width x 8.4375" (214.312mm) height > Then you can restart X and check if the settings are correct now: > > $ egrep 'physical|dimensions|DPI' /var/log/Xorg.0.log > (**) intel(0): Display dimensions: (340, 270) mm > (**) intel(0): DPI set to (95, 120) > (II) intel(0): Setting screen physical size to 338 x 270 Ok I will do that as my next task and let you know the results. > The DPI (dots per inch) values should correspond to the number of pixels > in horizontal (vertical) direction divided by the width (height) of the > display. (Give-or-take 1-2 millimeters is fine; 1 inch = 25.4 mm.) The > first DPI value (horizontal) is more critical for the font rendering > than the second one. Ah but I see 2 DPI values above, how is each one calculated? What is the relation between DPI and screen resolution (ie 1024x768)? I thought DPI was dependent on the type of screen/monitor you had. How do I find out the correct DPI for my laptop's LCD? I know my screen can't do more than 24 bits per pixel color depth. > Another thing to check is the Xft.dpi setting in the X resource > database: > > $ xrdb -query | grep Xft > Xft.antialias: 1 > Xft.dpi: 96 > Xft.hinting: 1 > Xft.hintstyle: hintfull > Xft.rgba: none > > You can change the setting like this: > > echo "Xft.dpi: 96" | xrdb -m > > You have to restart running programs to see the effect. If you find a > setting that you like you can put it into your ~/.Xresources file to > make it permanent. I did that command and it did not return any result: netrek:~# xrdb -query | grep Xft So does that indicate my fonts are broken? How can I fix it so this command will work as yours does? Assuming we can get that working and iif I find one that works I can create a ~/.Xresources for root and my normal user accounts? I currently don't have that file in either root or normal user accounts. Can I see yours? Another thing I noticed, as a test I uninstalled and then reinstalled some of my font packages and I found some directory problems such as: Setting up xfonts-75dpi (1:1.0.0-4) ... warning: /usr/lib/X11/fonts/75dpi does not exist or is not a directory warning: /usr/lib/X11/fonts/75dpi does not exist or is not a directory There is no 75dpi subdirectory. I have: netrek:/usr/lib/X11/fonts# ls Speedo Type1 Setting up xfonts-base (1:1.0.0-5) ... warning: /usr/lib/X11/fonts/misc does not exist or is not a directory There is no misc subdirectory. Setting up xfonts-scalable (1:1.0.0-6) ... Updating font configuration of fontconfig... Cleaning up category cid.. Cleaning up category truetype.. Cleaning up category type1.. Updating category type1.. Updating category truetype.. Updating category cid.. warning: /etc/X11/fonts/X11R7/Type1 does not exist or is not a directory warning: /etc/X11/fonts/X11R7/Type1 does not exist or is not a directory There is no X11R7 subdirectory> I have: netrek:/etc/X11/fonts# ls 75dpi misc Speedo Type1 I also have fonts here: netrek:/usr/share/fonts/X11# ls 75dpi encodings misc Type1 util Is there a way I can explicitly setup my fonts from the command line? Or from my .Xresources? So it seems X11R7 handles fonts different than X11R6 or at least the release from X.Org 7.2 changed some things, then Debian adds its own fingers into the font pie, so it's rather confusing precisely how fonts are setup and used in X in Debian. I then I noticed I have a Debian font manager installed called defoma but it's status indicats it is in a partially installed state! netrek:~# dpkg -l|grep pi pi defoma 0.11.10-0.1 Debian Font Manager -- automatic font config And some of my font packages are also in a partially installed state: pi ttf-dejavu 2.17-1 Vera font family derivate with additional ch pi ttf-opensymbol 2.0.4.dfsg.2-7etch1 The OpenSymbol TrueType font pi gs-common 0.3.13 Common files for different Ghostscript relea pi gsfonts 1:8.11+urwcyr1.0.7~pre41-3 Fonts for the Ghostscript interpreter(s) And there is some font config package in a partal state also: pi fontconfig 2.4.2-1.2 generic font configuration library - support And apt doesn't show anything pending: netrek:~# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Do you think I should file bug reports on these? I went to the Debian Bug Tracking website but it was very confusing, I tried the one search interface and searched on 'fonts' and listed by date order but there was hardly anything recent. I think they should work on revamping the bug page. What is the process for reporting a package bug in Debian testing release? I wish I could go back to how things were before the xserver-xorg package was upgraded? Is that possible? Also when Debian wants to upgrade a package but I don't want it to is there a way I can tell apt to not upgrade? An easy way to revert back to an older version of a package would be great, hope Debian adds that ![]() Zach -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#16 |
|
Messages: n/a
Hébergeur: |
On 8/9/07, Jonathan Kaye <jdkaye10@yahoo.es> wrote:
> > Well there's one quick way to find out. Assuming you have the correct font > packages installed, then just add the font directories in my or Mumia's > xorg.conf files that we've posted on this thread. Stop and restart your > xserver. If the problem goes away then that's the solution. If it doesn't, > then that wasn't the problem. OK I will try to add your font lines to my /etc/X11/xorg.conf even though someone said in version 7.2, which I have, it no longer keeps fonts directors listed in there. I wonder where it does keep them? Zach -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#17 |
|
Messages: n/a
Hébergeur: |
Takehiko Abe wrote:
> Zach wrote: > <snip> > fwiw my xorg.conf does not have a fontpath entry, and I don't have > much problem with fonts (or I have the same problem as you, but have > not noticed it.) > > From /usr/share/doc/xorg/changelog.Debian.gz : > > | * Don't write the files section of xorg.conf by default. If the user > | does want to write the files section, don't write out any font > | paths, only write out the font server bit if they specify that. > | + This will depend on having xserver-xorg-core version > | 2:1.3.0.0.dfsg-3 which includes a patch to always look in the > | default font paths by default. Bump the xserver-xorg dependency > | on xserver-xorg-core to this version. > > > and my xorg log shows: > > (==) FontPath set to: > /usr/share/fonts/X11/misc, > /usr/share/fonts/X11/100dpi/:unscaled, > /usr/share/fonts/X11/75dpi/:unscaled, > /usr/share/fonts/X11/Type1, > /usr/share/fonts/X11/100dpi, > /usr/share/fonts/X11/75dpi Hi Takehiko, my changelog doesn't say this. I have changelog version xorg (1:7.1.0-18) although I'm actually running xserver-xorg 7.2-5. My xorg log shows (**) instead of (==) which is reasonable since the font paths are found in xorg.conf. I'll try commenting out all my fonts in xorg.conf and see what happens. Cheers, Jonathan -- Registerd Linux user #445917 at http://counter.li.org/ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#18 |
|
Messages: n/a
Hébergeur: |
Jonathan Kaye wrote:
> Takehiko Abe wrote: > >> Zach wrote: >> <snip> >> fwiw my xorg.conf does not have a fontpath entry, and I don't have >> much problem with fonts (or I have the same problem as you, but have >> not noticed it.) >> >> From /usr/share/doc/xorg/changelog.Debian.gz : >> >> | * Don't write the files section of xorg.conf by default. If the user >> | does want to write the files section, don't write out any font >> | paths, only write out the font server bit if they specify that. >> | + This will depend on having xserver-xorg-core version >> | 2:1.3.0.0.dfsg-3 which includes a patch to always look in the >> | default font paths by default. Bump the xserver-xorg dependency >> | on xserver-xorg-core to this version. >> >> >> and my xorg log shows: >> >> (==) FontPath set to: >> /usr/share/fonts/X11/misc, >> /usr/share/fonts/X11/100dpi/:unscaled, >> /usr/share/fonts/X11/75dpi/:unscaled, >> /usr/share/fonts/X11/Type1, >> /usr/share/fonts/X11/100dpi, >> /usr/share/fonts/X11/75dpi > Hi Takehiko, > my changelog doesn't say this. I have changelog version xorg (1:7.1.0-18) > although I'm actually running xserver-xorg 7.2-5. > My xorg log shows (**) instead of (==) which is reasonable since the font > paths are found in xorg.conf. I'll try commenting out all my fonts in > xorg.conf and see what happens. > Cheers, > Jonathan Yes, Takehiko. I removed all the font paths from xorg.conf and now my Xorg.0.log looks exactly like yours and the fonts seem ok so far. You were perfectly correct. Thanks I learned something. Jonathan -- Registerd Linux user #445917 at http://counter.li.org/ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#19 |
|
Messages: n/a
Hébergeur: |
Jonathan Kaye wrote:
> Yes, Takehiko. I removed all the font paths from xorg.conf and now > my Xorg.0.log looks exactly like yours and the fonts seem ok so > far. You were perfectly correct. Thanks I learned something. I merely observed that [a] I never touched FontPath and my xorg.conf doesn't have an entry for it and [b] I don't have a problem with fonts. Because I started using Debian on my desktop about a month ago (then went through several installations of Debian and Ubuntu before I settled for lenny), I guess my xorg package is the latest from the beginning. regards, T. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#20 |
|
Messages: n/a
Hébergeur: |
Jonathan Kaye wrote:
> Yes, Takehiko. I removed all the font paths from xorg.conf and now > my Xorg.0.log looks exactly like yours and the fonts seem ok so > far. You were perfectly correct. Thanks I learned something. I merely observed that [a] I never touched FontPath and my xorg.conf doesn't have an entry for it and [b] I don't have a problem with fonts. Because I started using Debian on my desktop about a month ago (then went through several installations of Debian and Ubuntu before I settled for lenny), I guess my xorg package is the latest from the beginning. regards, T. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#21 |
|
Messages: n/a
Hébergeur: |
On Thu, Aug 09, 2007 at 04:01:51 -0400, Zach wrote: > On 8/8/07, Florian Kulzer wrote: > > > > Version 7.2 of Xorg includes the default font paths automatically now, > > so most of these lines are not needed anymore in the "Files" section of > > xorg.conf: > > I checked apt-cache for xserver-xorg and you're right I have "Version: 1:7.2-5". > So where does the xserver keep the list of fonts to use and where is > this file? Can I edit it or would that mess up debconf? I already > tried putting the 75dpi font I wanted as the first line but my font > still don't look how they did before I upgraded the xserver-xorg > package. The default font paths are hardcoded now into Xorg, as far as I can tell. You can still put additional font paths into xorg.conf, for example /usr/local/share/fonts. In any case, I am not sure if you can specify font preference by the order of the font directories. I think your main problem is that your X resolution setting is screwed up (see below). > Is there a command to show exactly what font the system is using for > my desktop applications (emacs, firefox, gnome-terminal)? I would assume that gnome-terminal follows the general gnome settings or maybe ~/.gtkrc-2.0. Other applications can either be configured via a menu or with a file in /etc/X11/app-defaults/. Your private settings in ~/.Xresources can override those. However, we are now drifting further and further away from the real issue, the DPI setting. > My desktop > is still running at 1024x768 and the set of GNOME icons and the start > button (I use fvwm2) and taskbar and clock look exactly the same > dimensions, but when I startup emacs it is definitely significantly > smaller, firefox starts up the same dimensions but the fonts in it > appear like 200% smaller than before! And all applications I start up > on the desktop have a noticebaly thinner titlebar as well as the fonts > inside the titlebar are thinner. And the gnome-terminals start up like > 25% smaller dimensions and the fonts are much smaller than before. You have to understand that the sizes of fonts on the screen are depending strongly on the DPI settings. My 11pt UI font has the same physical size on my desktop screen and on my laptop screen. This means that less text will fit on my smaller laptop display, of course, but I don't have to change font settings to keep readability just because the display is smaller. This works because my X knows the correct screen resolution on both my computers. Other sizes in X do not depend that strongly on the DPI setting, unless they are adjusted relative to some text, e.g. the height of the window titlebar. > So > how can I get my fonts back to how they were? This is a laptop machine > (Dell C600) and my xorg.conf is using the ATI video driver, I have a: > VGA compatible controller: ATI Technologies Inc Rage Mobility M3 AGP > 2x. And I only have 2 video modes in my xorg.conf 1024x768 and > 800x600, I switched video mode into 800x600 and confirmed I am > definitely running 1024x768. > > > (This is from my /var/log/Xorg.0.log; |