Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ttf2pk doesn't search through kpathsea, what's wrong ?

25 views
Skip to first unread message

WONG SAI-KEE

unread,
Sep 28, 2002, 10:20:09 AM9/28/02
to
I'm installing CJK on OS X for chinese latexing. I need to install chinese
TTF for it to work. I had a little trouble in running the ttf2tfm but
seems can overcome. But when I get to view the .dvi with MacDviX, it
run the mktexpk which complains something like:

=========================================
kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+437/600 --dpi 1037 moekai20
mktexpk: Running mf \mode:=ljfour; mag:=1+437/600; nonstopmode; input moekai20
This is METAFONT, Version 2.7182 (Web2C 7.3.7)

kpathsea: Running mktexmf moekai20
! I can't find file `moekai20'.
<*> ...mag:=1+437/600; nonstopmode; input moekai20

Please type another input file name
! Emergency stop.
<*> ...mag:=1+437/600; nonstopmode; input moekai20

Transcript written on mfput.log.
grep: moekai20.log: No such file or directory
=========================================

I expect it should trigger the ttf2pk to run but it doesn't. I check the
mktexpk script and tried

> ttf2pk -t moekai
This is ttf2pk version 1.5
ttf2pk: WARNING: Cannot find file `ttf2pk.cfg'.
Use `ttfonts.map' instead as map file.
ttf2pk: WARNING: Cannot find file `ttfonts.map'.
ttf2pk: ERROR: Cannot find font moekai in map files.

> kpsewhich -expand-var='$TTF2PKINPUTS'
{/var/root/Library/texmf,!!/usr/local/teTeX/share/texmf.local,!!/usr/local/teTeX/share/texmf.os,!!/usr/local/teTeX/share/texmf}/ttf2pk/

And the .cfg and .map files are in

/usr/local/teTeX/share/texmf.local/ttf2pk/

> setenv /usr/local/teTeX/share/texmf.local/ttf2pk/
> ttf2pk -t moekai
This is ttf2pk version 1.5
moekai ../fonts/truetype/moe_kai Pid=3 Eid=4

Even if I change the .cnf file to make
> kpsewhich -expand-var='$TTF2PKINPUTS'
/usr/local/teTeX/share/texmf.local/ttf2pk/
> ttf2pk -t moekai
This is ttf2pk version 1.5
ttf2pk: WARNING: Cannot find file `ttf2pk.cfg'.
Use `ttfonts.map' instead as map file.
ttf2pk: WARNING: Cannot find file `ttfonts.map'.
ttf2pk: ERROR: Cannot find font moekai in map files.

The result is still not good.

Further the man page says

For a description of subfonts (i.e., entries of the form
`<namestem>@<sfd-filename>@') please refer to ttf2tfm(1).

But it cannot recognize moekai@Big5@ even that was generated from ttf2tfm.

> ttf2tfm --version
ttf2tfm version 1.5 (kpathsea version 3.3.7)
> ttf2pk --version
ttf2pk version 1.5 (kpathsea version 3.3.7)

And it is the latest version I found.

Anyone can help ?

Thanks

SK

WONG SAI-KEE

unread,
Sep 28, 2002, 9:32:24 PM9/28/02
to
Philipp Lehman <leh...@gmx.net> wrote:

: Are you sure that the ttf2tfm and ttf2pk binaries your are using were really
: compiled with kpathsea support? This is a compile time option.

: AFAIK the stock binaries that ship with certain versions of FreeBSD are not
: compiled with kpathsea support. Could that be the case on OS X as well?

Attached are the result I run the configure then make, and I cannot see
any problem. Further, it couldn't explain why it doesn't understand
moekai@Big5@, it can only understand moekai; while the ttf2tfm generate
moekai@Big5@ to ttf2pk. Also it couldn't explain why `ttf2pk --version`
says "ttf2pk version 1.5 (kpathsea version 3.3.7)"

% ./configure --prefix=/usr/local --with-kpathsea-lib=/usr/local/teTeX/lib\
--with-kpathsea-include=/usr/local/teTeX/include
-> --with-kpathsea-include=/usr/local/teTeX/include
checking build system type... powerpc-apple-darwin5.5
checking host system type... powerpc-apple-darwin5.5
checking target system type... powerpc-apple-darwin5.5
checking for gcc... no
checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for kpse_set_program_name in -lkpathsea... yes
checking for kpse_init_prog in -lkpathsea... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking kpathsea/kpathsea.h usability... yes
checking kpathsea/kpathsea.h presence... yes
checking for kpathsea/kpathsea.h... yes
checking kpathsea/c-auto.h usability... yes
checking kpathsea/c-auto.h presence... yes
checking for kpathsea/c-auto.h... yes
checking for floor in -lm... yes
checking for gettext in -lintl... no
checking for TT_Init_FreeType in -lttf... yes
checking for rm... rm
checking for rmdir... rmdir
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating MakeSub

% make
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 errormsg.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 filesrch.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 ligkern.c
ligkern.c:231: syntax error, missing `;' after `lig'
ligkern.c:240: syntax error, missing `;' after `lig'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 newobj.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 parse.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 pklib.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 subfont.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 texenc.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 ttf2pk.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 ttfenc.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 ttflib.c
../../libtool --mode=link cc -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 -o ttf2pk errormsg.o filesrch.o ligkern.o newobj.o parse.o pklib.o subf
ont.o texenc.o ttf2pk.o ttfenc.o ttflib.o \
../../lib/libttf.la -lm -lkpathsea -lkpathsea -L/usr/local/teTeX/lib
cc -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 -o ttf2pk errormsg.o filesrch.o ligkern.o newobj.o parse.o pklib.o subfont.o texenc.o ttf2pk.o ttfen
c.o ttflib.o ../../lib/.libs/libttf.a -lm -lm -lkpathsea -lkpathsea -L/usr/local/teTeX/lib
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 case.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 tfmaux.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 ttf2tfm.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 ttfaux.c
cc -c -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 vplaux.c
../../libtool --mode=link cc -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 -o ttf2tfm case.o errormsg.o filesrch.o ligkern.o newobj.o parse.o subf
ont.o texenc.o tfmaux.o ttf2tfm.o ttfaux.o ttfenc.o vplaux.o \
../../lib/libttf.la -lm -lkpathsea -lkpathsea -L/usr/local/teTeX/lib
cc -g -O2 -I./../../lib -I/usr/local/teTeX/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBKPATHSEA=1 -DHAVE_LIBKPATHSEA=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 -o ttf2tfm case.o errormsg.o filesrch.o ligkern.o newobj.o parse.o subfont.o texenc.o tfmaux.o ttf2t
fm.o ttfaux.o ttfenc.o vplaux.o ../../lib/.libs/libttf.a -lm -lm -lkpathsea -lkpathsea -L/usr/local/teTeX/lib

WONG SAI-KEE

unread,
Oct 1, 2002, 2:33:05 AM10/1/02
to
I used gdb to trace the program and read the kpathsea.pdf about the
search path and debug mode. Finally, I found that the compiled
ttf2pk/ttf2tfm only search via setting in

/usr/local/teTeX/share/texmf/web2c/texmf.cnf

but not setting in

/usr/local/teTeX/share/texmf.macosx/texmf.cnf

And the setting in

/usr/local/teTeX/share/texmf/web2c/texmf.cnf

has a wrong item:

/usr/local/teTeX/share/texmf-local

which should be:

/usr/local/teTeX/share/texmf.local

It works after this was fixed. But I don't understand why other TeX
programs works properly with

/usr/local/teTeX/share/texmf.macosx/texmf.cnf

but not ttf2pk/ttf2tfm. I tried to read the kpathsea.pdf to find the
answer but I found it very difficult to follow and when I tried to
change setenv, sometimes it doesn't behave as kpathsea.pdf says.
So I give up.

SK

0 new messages