Subject: Re: pkg/29194 (mktexpk: don't know how to create bitmap)
To: Hubert Feyrer <hubert@feyrer.de>
From: Rui-Xiang Guo <rxg@myrealbox.com>
List: pkgsrc-bugs
Date: 03/22/2005 00:54:44
Hi, sorry for late reply.

> I'm trying to reproduce the error in PR 29194, but get another error 
> before. I have already fixed wip/cjk-chinese to find its .sfd-file, but 
> running "bg5latex Big5.tex" gives me:
> 
> 	miyu% bg5latex Big5.tex
> 	This is TeX, Version 3.14159 (Web2C 7.4.5)
> 	(./Big5.cjk
> 	LaTeX2e <2001/06/01>
> 	Babel <v3.7h> and hyphenation patterns for american, french, german,
> 	ngerman, n
> 	ohyphenation, loaded.
> 	(/usr/pkg/share/texmf/tex/latex/base/article.cls
> 	Document Class: article 2001/04/21 v1.4e Standard LaTeX document 
> 	class
> 	(/usr/pkg/share/texmf/tex/latex/base/size12.clo))
> 	(/usr/pkg/share/texmf/tex/latex/CJK/CJK.sty
> 	(/usr/pkg/share/texmf/tex/latex/CJK/mule/MULEenc.sty)
> 	(/usr/pkg/share/texmf/tex/latex/CJK/CJK.enc))
> 	No file Big5.aux.
> 	(/usr/pkg/share/texmf/tex/latex/CJK/standard.bdg)
> 	(/usr/pkg/share/texmf/tex/latex/CJK/Bg5/Bg5.enc)
> 	(/usr/pkg/share/texmf/tex/latex/CJK/Bg5/Bg5.chr)
> 	(/usr/pkg/share/texmf/tex/latex/CJK/Bg5/c00bsmi.fd)kpathsea: Running
> 	mktextfm bsmilp03
> 	mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
> 	nonstopmode; input bsmilp03
> 	This is METAFONT, Version 2.7182 (Web2C 7.4.5)
> 
> 	kpathsea: Running mktexmf bsmilp03
> 	! I can't find file `bsmilp03'.
> 	<*> ...ljfour; mag:=1; nonstopmode; input bsmilp03
> 
> 	Please type another input file name
> 	! Emergency stop.
> 	<*> ...ljfour; mag:=1; nonstopmode; input bsmilp03
> 
> Do you know where I could get "bsmilp03"? It doesn't seem to be in any of 
> the teTeX2 or cjk* pkgs.

bsmilp03 is TFM font which generated by ttf2tfm from arphic-ttf.
I have fixed the path properly in cjk-latex, please test it, thanks.
But we still need to tweak ttf2pk with this patch -
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/ttf2pk/Makefile,v
retrieving revision 1.2
diff -b -u -r1.2 Makefile
--- Makefile    3 Dec 2004 15:14:57 -0000       1.2
+++ Makefile    21 Mar 2005 16:41:34 -0000
@@ -51,7 +51,6 @@
                                                ${T2PSRC}/data/*.rpl \
                                                ${T2PSRC}/data/*.sfd \
                                                ${TEXMF}/ttf2tfm/base
-                       ${TOUCH}                ${TEXMF}/ttf2tfm/base/ttfonts.map
                        ${PREFIX}/bin/mktexlsr
 
 .include "../../graphics/freetype-lib/buildlink3.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/ttf2pk/PLIST,v
retrieving revision 1.1.1.1
diff -b -u -r1.1.1.1 PLIST
--- PLIST       9 Oct 2004 14:15:22 -0000       1.1.1.1
+++ PLIST       21 Mar 2005 16:41:34 -0000
@@ -22,7 +22,6 @@
 share/texmf/ttf2tfm/base/UKS.sfd
 share/texmf/ttf2tfm/base/Unicode.sfd
 share/texmf/ttf2tfm/base/VPS.rpl
-share/texmf/ttf2tfm/base/ttfonts.map
 @dirrm share/texmf/ttf2tfm/base
 @dirrm share/texmf/ttf2tfm
 @dirrm share/texmf/doc/ttf2pk

Because ttfonts.map will be generated by cjk-latex.

btw, what's the reason that you intend to change the pkg's name?

-rxg