Re: fonts messed up after dist-upgrade
Branden Robinson wrote:
>
> On Thu, May 08, 2003 at 12:29:43AM +0200, Bernhard Kuemel wrote:
> > > i looked up my XF86 log files, and saw that it was loading fonts in a
> > > different order than that specified above. i then changed my
> > > XF86Config-4 'Files' section to load the FontPaths in the same order
> > > as give to 'catalogue' above, and everything worked. i've pasted the
> > > relevant section below, and hope it helps.
> >
> > Unfortunately it doesn't. No change.
>
> Are you using the X font server?
Yes, unless I try an X font path without xfs in which case it keeps
running unused.
> If so, did you modify its catalog[1] as well?
Yes.
> Have you restarted both xfs (if applicable)
Yes, now also when the X font path did not include xfs.
> and the X server since making this change?
Yes, I logged out of X and killed X with <ctrl><alt><bksp>. On other
occasions I also shut down the computer, slept and restarted it.
My current setup is (complete files attached):
------------------ /etc/X11/XF86Config-4 ----------------------
#Randall Hansen
Section "Files"
# snip
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
EndSection
---------------------------------------------------------------
----------------------- /etc/X11/fs/config --------------------
#catalogue =
/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/CID/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi/
catalogue =
/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/CID/,/usr/lib/X11/fonts/Type1/
---------------------------------------------------------------
I have more fonts installed than you suggest at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=141332 (xfonts-base
xfonts-100dpi xfonts-75dpi xfonts-scalable):
b:~# dpkg -l |grep font|grep -v '^.n'
ii console-data 2002.12.04dbs- Keymaps, fonts, charset maps,
fallback table
ii console-tools 0.2.3dbs-32 Linux console and font utilities
ii console-tools- 0.2.3dbs-32 Shared libraries for Linux console
and font
ii defoma 0.11.1 Debian Font Manager -- automatic
font config
ii fontconfig 2.2.0-1 generic font configuration library
ii freefont 0.10-11 Freeware font selection for X11
ii fttools 1.2-13 FreeType font utilities.
ii gsfonts 6.0-2.1 Fonts for the ghostscript
interpreter
ii gsfonts-x11 0.17 Make Ghostscript fonts available to
X11
ii libfnlib0 0.5-7 Fnlib is a special font rendering
library us
ii libfontconfig1 2.2.0-1 generic font configuration library
(shared l
ii libfontconfig1 2.2.0-1 generic font configuration library
(developm
ii libfreetype6 2.1.4-2 FreeType 2 font engine, shared
library files
ii libfreetype6-d 2.1.4-2 FreeType 2 font engine, development
files
ii libxft2 2.1-8 advanced font drawing library for X
ii libxft2-dev 2.1-8 advanced font drawing library for X
(develop
ii msttcorefonts 1.1.2 Installer for Microsoft TrueType
core fonts
ii psfontmgr 0.11.1 PostScript font manager -- part of
Defoma, D
ii sharefont 0.10-12 Shareware font selection for X11
ii t1lib1 1.3.1-1 Type 1 font rasterizer library -
runtime
ii x-ttcidfont-co 13 Configure TrueType and CID fonts for
X.
ii xfonts-100dpi 4.2.1-6 100 dpi fonts for X
ii xfonts-100dpi- 4.2.1-6 100 dpi fonts for X (transcoded from
ISO 106
ii xfonts-75dpi 4.2.1-6 75 dpi fonts for X
ii xfonts-75dpi-t 4.2.1-6 75 dpi fonts for X (transcoded from
ISO 1064
ii xfonts-abi 1.0.2+cvs.2002 Some fonts shipped with AbiWord
ii xfonts-base 4.2.1-6 standard fonts for X
ii xfonts-biznet- 3.0.0-14 100 dpi BIZNET ISO-8859-2 fonts for
X server
ii xfonts-biznet- 3.0.0-14 75 dpi BIZNET ISO-8859-2 fonts for X
servers
ii xfonts-biznet- 3.0.0-14 100 dpi BIZNET ISO-8859-2 fonts for
X server
ii xfonts-biznet- 3.0.0-14 75 dpi BIZNET ISO-8859-2 fonts for X
servers
ii xfonts-intl-eu 1.2-4 International fonts for X --
European.
ii xfonts-scalabl 4.2.1-6 scalable fonts for X
ii xfs 4.2.1-6 X font server
Bernhard
--
Low end Serverhousing ab 25 e inkl. 1x 11 e/GB, etc.: http://bksys.at
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.
#Randall Hansen
Section "Files"
# snip
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
EndSection
# mine/debian dist-upgrade
#Section "Files"
# FontPath "unix/:7100" # local font server
# # if the local font server has problems, we can fall back on these
# FontPath "/usr/lib/X11/fonts/Type1"
# FontPath "/usr/lib/X11/fonts/CID"
# FontPath "/usr/lib/X11/fonts/Speedo"
# FontPath "/usr/lib/X11/fonts/misc"
# FontPath "/usr/lib/X11/fonts/cyrillic"
# FontPath "/usr/lib/X11/fonts/100dpi"
# FontPath "/usr/lib/X11/fonts/75dpi"
#EndSection
# elke
#Section "Files"
# FontPath "unix/:7100" # local font server
# # if the local font server has problems, we can fall back on these
# FontPath "/usr/lib/X11/fonts/misc"
# FontPath "/usr/lib/X11/fonts/cyrillic"
# FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/Type1"
# FontPath "/usr/lib/X11/fonts/Speedo"
# FontPath "/usr/lib/X11/fonts/100dpi"
# FontPath "/usr/lib/X11/fonts/75dpi"
#EndSection
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/ttyS0"
Option "Protocol" "MouseSystems"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "sis"
BusID "PCI:01:00:00"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30-50
VertRefresh 50-90
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
### END DEBCONF SECTION
# font server configuration file
# $Xorg: config.cpp,v 1.3 2000/08/17 19:54:19 cpqbld Exp $
# allow a maximum of 10 clients to connect to this font server
client-limit = 10
# when a font server reaches its limit, start up a new one
clone-self = on
# log messages to /var/log/xfs.log (if syslog is not used)
error-file = /var/log/xfs.log
# log errors using syslog
use-syslog = on
# turn off TCP port listening (Unix domain connections are still permitted)
no-listen = tcp
# paths to search for fonts
#catalogue = /usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/CID/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi/
catalogue = /usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/CID/,/usr/lib/X11/fonts/Type1/
# in decipoints
default-point-size = 120
# x1,y1,x2,y2,...
default-resolutions = 100,100,75,75
# font cache control, specified in kB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70
Reply to: