Bug#673170: xfonts-100dpi: fonts not available until X restarted
Package: xfonts-utils
Version: 1:7.7~1
Files: /usr/sbin/update-fonts-dir
Hi,
Trying to address <http://bugs.debian.org/563250> (xvile appearance
wrong due to missing font), I installed xfonts-100dpi. Alas:
$ xmessage -fn lucidasans-10 It was the best of times
Warning: Cannot convert string "lucidasans-10" to type FontStruct
$ xlsfonts | grep lucida
$
Restarting X makes the font show up.
xfonts-100dpi.postinst simply runs update-fonts-dir:
$ cat $(dpkg-query --control-path xfonts-100dpi postinst)
#!/bin/sh
set -e
# Automatically added by dh_installxfonts
if which update-fonts-dir >/dev/null 2>&1; then
update-fonts-dir --x11r7-layout 100dpi;update-fonts-alias --include /etc/X11/fonts/100dpi/xfonts-100dpi.alias 100dpi
fi
# End automatically added section
Should update-fonts-dir be informing X somehow to reread the fonts
dir? Alternatively, if some other package is responsible for making
that happen, please feel free to reassign this bug.
Thanks,
Jonathan
$ cat /etc/X11/xorg.conf
Section "Device"
Identifier "geforce"
# Driver "nouveau"
Driver "fbdev"
# Driver "vesa"
EndSection
$ dpkg-query -W xfonts-100dpi
xfonts-100dpi 1:1.0.3
-- System Information:
Debian Release: wheezy/sid
Architecture: i386 (i686)
Kernel: Linux 3.3.0-trunk-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xfonts-100dpi depends on:
ii xfonts-utils 1:7.7~1
Versions of packages xfonts-utils depends on:
ii libc6 2.13-32
ii libfontenc1 1:1.1.1-1
ii libfreetype6 2.4.9-1
ii libxfont1 1:1.4.5-2
ii x11-common 1:7.6+13
ii xfonts-encodings 1:1.0.4-1
ii zlib1g 1:1.2.7.dfsg-1
xfonts-100dpi recommends no packages.
xfonts-utils recommends no packages.
Versions of packages xfonts-100dpi suggests:
ii xserver-xfbdev [xserver] 2:1.12.1-2
ii xserver-xorg [xserver] 1:7.6+13
xfonts-utils suggests no packages.
Reply to: