[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



Dear Chung-chieh San,

more than two years ago you have reported this bug to the Debian
bugtracking system.  Meanwhile we have a new version of teTeX in stable
(2.0.2) and an even newer one in experimental (3.0), and we would like
to check whether this bug has been fixed.  Back then, you wrote:


Chung-chieh Shan <ken@digitas.harvard.edu> wrote:

> 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 ?

Unfortunately, I am not familiar with using TTF fonts in TeX at all, let
alone CJK fonts.  Can you tell us whether the problem still exists, and
if yes give us a small example file (and tell us which packages need to
be installed so that we can test it)?

Many thanks in advance,
Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Reply to: