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

Bug#905879: lmodern: contains X11 fonts but does not run update-fonts-* in postinst nor dep on xfonts-utils



Source: lmodern
Version: 2.004.5-3
Severity: minor

The lmodern package contains X11 fonts but does not run update-fonts-*
from the postinst nor does it depend on xfonts-utils. Consequently the
installed fonts are not registered properly with the X11 fonts system.

The issue is caused by the X11 fonts being symlinks installed by
dh_link and the dh_installxfonts command being run before the symlinks
are installed into the package, so it thinks there are no fonts present.

PS: I think you can drop the defoma stuff for buster.

$ grep xfont -B1 -A2 debian/rules 
	dh_install
	dh_installxfonts
	dh_installtex --package=lmodern map=Map,lm.map
	dh_link

$ grep -ri usr/share/font | head
doc/fonts/lm-math/INSTALL.txt:copy the font file to ~/.fonts or /usr/share/fonts ). If the font
debian/changelog:      /usr/share/fonts/X11/Type1
debian/lmodern.README.Debian:/usr/share/fonts/X11/Type1. If this path is not present in your
debian/rules:	  sed -ne 's!^\(.*\)$$!usr/share/texmf/fonts/type1/public/lm/\1.pfb usr/share/fonts/X11/Type1/\1.pfb\nusr/share/texmf/fonts/afm/public/lm/\1.afm usr/share/fonts/X11/Type1/\1.afm!p' \
debian/lmodern.links:usr/share/texmf/fonts/type1/public/lm/lmb10.pfb usr/share/fonts/X11/Type1/lmb10.pfb
debian/lmodern.links:usr/share/texmf/fonts/afm/public/lm/lmb10.afm usr/share/fonts/X11/Type1/lmb10.afm
debian/lmodern.links:usr/share/texmf/fonts/type1/public/lm/lmbo10.pfb usr/share/fonts/X11/Type1/lmbo10.pfb
debian/lmodern.links:usr/share/texmf/fonts/afm/public/lm/lmbo10.afm usr/share/fonts/X11/Type1/lmbo10.afm
debian/lmodern.links:usr/share/texmf/fonts/type1/public/lm/lmbx10.pfb usr/share/fonts/X11/Type1/lmbx10.pfb
debian/lmodern.links:usr/share/texmf/fonts/afm/public/lm/lmbx10.afm usr/share/fonts/X11/Type1/lmbx10.afm

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: