Subject: pkg/29194: fixed the problem - mktexpk: don't know how to create bitmap font with wip/cjk-latex
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Rui-Xiang Guo <rxg@myrealbox.com>
List: pkgsrc-bugs
Date: 02/02/2005 06:16:00
>Number:         29194
>Category:       pkg
>Synopsis:       fixed the problem - mktexpk: don't know how to create bitmap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 02 06:16:00 +0000 2005
>Originator:     Rui-Xiang Guo
>Release:        NetBSD 2.99.15
>Organization:

>Environment:


System: NetBSD bee 2.99.15 NetBSD 2.99.15 (BEE) #1: Mon Jan 31 11:06:00 CST 2005
+rxg@bee:/usr/obj/sys/arch/i386/compile/BEE i386
Architecture: i386
Machine: i386
>Description:
        When I tried to see the dvi output, ttf2pk couldn't generate the pk
+fonts.
>How-To-Repeat:
        1.Install wip/cjk-latex-chinese
        2.bg5latex Big5.tex
        3.xdvi Big5.dvi
        4.Then it print "mktexpk: don't know how to create bitmap font"
>Fix:
        1.Fixed the Makefile with this patch:
diff -b -u -r1.2 Makefile
--- Makefile    3 Dec 2004 15:14:57 -0000       1.2
+++ Makefile    2 Feb 2005 06:03:40 -0000
@@ -43,15 +43,11 @@
                                                ${T2PSRC}/ttf2pk.doc \
                                                ${T2PSRC}/data/ttfonts.map \
                                                ${TEXMF}/doc/ttf2pk
-                       ${INSTALL_DATA_DIR}     ${TEXMF}/ttf2tfm
-                       ${LN} -fs               ttf2tfm \
-                                               ${TEXMF}/ttf2pk
-                       ${INSTALL_DATA_DIR}     ${TEXMF}/ttf2tfm/base
+                       ${INSTALL_DATA_DIR}     ${TEXMF}/ttf2pk
                        ${INSTALL_DATA}         ${T2PSRC}/data/*.enc \
                                                ${T2PSRC}/data/*.rpl \
                                                ${T2PSRC}/data/*.sfd \
-                                               ${TEXMF}/ttf2tfm/base
-                       ${TOUCH}
+${TEXMF}/ttf2tfm/base/ttfonts.map
+                                               ${TEXMF}/ttf2pk
                        ${PREFIX}/bin/mktexlsr

 .include "../../graphics/freetype-lib/buildlink3.mk"

        2. Replace the PLIST file with this:
@comment $NetBSD$
bin/ttf2pk
bin/ttf2tfm
man/man1/ttf2pk.1
man/man1/ttf2tfm.1
share/texmf/doc/ttf2pk/BUGS
share/texmf/doc/ttf2pk/README
share/texmf/doc/ttf2pk/TODO
share/texmf/doc/ttf2pk/ttf2pk.doc
share/texmf/doc/ttf2pk/ttfonts.map
share/texmf/ttf2pk/Big5.sfd
share/texmf/ttf2pk/ET5.enc
share/texmf/ttf2pk/EUC.sfd
share/texmf/ttf2pk/SJIS.sfd
share/texmf/ttf2pk/T1-WGL4.enc
share/texmf/ttf2pk/UBg5plus.sfd
share/texmf/ttf2pk/UBig5.sfd
share/texmf/ttf2pk/UGB.sfd
share/texmf/ttf2pk/UGBK.sfd
share/texmf/ttf2pk/UJIS.sfd
share/texmf/ttf2pk/UKS.sfd
share/texmf/ttf2pk/Unicode.sfd
share/texmf/ttf2pk/VPS.rpl
@dirrm share/texmf/ttf2pk
@dirrm share/texmf/doc/ttf2pk

>Unformatted:
 To: gnats-bugs@gnats.NetBSD.org
 Subject:
 From: rxg@myrealbox.com
 Reply-To: rxg@myrealbox.com
 X-send-pr-version: 3.95
 Date: Wed,  2 Feb 2005 14:14:02 +0800 (CST)
 
 
 +font with wip/cjk-latex