Bug#631811: advi: Japanese font configuration not read
Package: advi
Version: 1.9.0-1+b1
Severity: normal
/etc/advi/jpfonts.conf is not read, and Japanese fonts do not appear
(unless you have Microsoft fonts installed).
>From strace, it seems to be searching for the following directories:
open("/home/dancer/.advi/jpfonts.conf", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/usr/etc/advi/jpfonts.conf", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
Workaround for now:
mkdir ~/.advi
cp /etc/advi/jpfonts.conf ~/.advi
Proper fix:
fix the search path for advi.
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-bpo.5-686 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=UTF-8)
(ignored: LC_ALL set to ja_JP.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages advi depends on:
ii dpkg 1.15.8.10 Debian package management system
ii ghostscript 8.71~dfsg2-9 The GPL Ghostscript PostScript/PDF
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared lib
ii libgif4 4.1.6-9 library for GIF images (library)
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface
ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG
ii libpango1.0-0 1.28.3-1+squeeze2 Layout and rendering of internatio
ii libpng12-0 1.2.44-1 PNG library - runtime
ii libtiff4 3.9.4-5+squeeze1 Tag Image File Format (TIFF) libra
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxinerama1 2:1.1-3 X11 Xinerama extension library
ii libxpm4 1:3.5.8-1 X11 pixmap library
ii tex-common 2.08.1 common infrastructure for building
ii texlive-base 2009-11 TeX Live: Essential programs and f
ii texlive-binaries [texl 2009-8 Binaries for TeX Live
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
advi recommends no packages.
Versions of packages advi suggests:
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii ttf-kochi-gothic 20030809-9 Kochi Subst Gothic Japanese TrueTy
ii ttf-kochi-mincho 20030809-9 Kochi Subst Mincho Japanese TrueTy
-- Configuration Files:
/etc/advirc changed:
-cache-dir ~/.advi-cache
-- no debconf information
Reply to: