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

Re: font problem - please help!



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 helps 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.



Reply to: