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

Bug#673170: marked as done (xfonts-100dpi: fonts not available until X restarted)



Your message dated Mon, 21 May 2012 21:57:04 +0200
with message-id <20120521195704.GL31090@radis.cristau.org>
and subject line Re: Bug#673170: xfonts-100dpi: fonts not available until X restarted
has caused the Debian Bug report #673170,
regarding xfonts-100dpi: fonts not available until X restarted
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
673170: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673170
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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.



--- End Message ---
--- Begin Message ---
On Wed, May 16, 2012 at 10:59:01 -0500, Jonathan Nieder wrote:

> 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.
> 
Not really.  Run xset fp rehash after installing fonts, there's no way
for update-fonts-dir to know which (possibly remote) X server may want
to use the new fonts.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: