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

Bug#178712: tetex-bin: mktexpk handles ttf fonts with gsftopk, which breaks on CJK



Package: tetex-bin
Version: 1.0.7+20021025-8
Severity: important

Hello,

It seems that gsftopk now returns success when invoked on a TrueType font.
(I am not sure whether this is a recent change or anything.)  This means
that mktexpk now processes TrueType fonts with gsftopk rather than ttf2pk,
because mktexpk only tries ttf2pk if gsftopk fails.  Unfortunately,
gsftopk does not seem able to handle CJK fonts, which means that xdvi
(for example) now fail to handle TrueType CJK fonts.

A kluge that solves the problem for the time being for me is to change
line 136 in /usr/bin/mktexpk from

    case $ps_to_pk in

to

    ttf2pk -t -q $NAME >/dev/null 2>&1 || case $ps_to_pk in

Perhaps a better fix would be to try ttf2pk and hbf2gf before trying
$ps_to_pk ?

Thanks,
	Ken

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux cruella 2.4.20 #1 Sun Jan 12 22:45:41 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages tetex-bin depends on:
ii  debconf                 1.2.21           Debian configuration management sy
ii  debianutils             2.1.4            Miscellaneous utilities specific t
ii  dpkg                    1.10.9           Package maintenance system for Deb
ii  ed                      0.2-19           The classic unix line editor
ii  libc6                   2.3.1-10         GNU C Library: Shared libraries an
ii  libkpathsea3            1.0.7+20021025-8 shared libkpathsea for teTeX
ii  libpng12-0              1.2.5-10         PNG library - runtime
ii  libwww0                 5.4.0-5          The W3C WWW library
ii  libxaw7                 4.2.1-5          X Athena widget set library
ii  t1lib1                  1.3.1-1          Type 1 font rasterizer library - r
ii  tetex-base              1.0.2+20021025-7 basic teTeX library files
ii  xlibs                   4.2.1-5          X Window System client libraries
ii  zlib1g                  1:1.1.4-9        compression library - runtime

-- debconf information:
  tetex-bin/oldcfg: true
* tetex-bin/cnf_name: 
* tetex-bin/groupname: users
* tetex-bin/userperm: false
* tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true


-- 
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
Spell your email carefully--or what will your biographer think?

Attachment: pgpxNUp91h5Pp.pgp
Description: PGP signature


Reply to: