NetBSD Problem Report #29194
From rxg@myrealbox.com Wed Feb 2 06:15:48 2005
Return-Path: <rxg@myrealbox.com>
Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143])
by narn.netbsd.org (Postfix) with ESMTP id B4B5763B400
for <gnats-bugs@gnats.NetBSD.org>; Wed, 2 Feb 2005 06:15:48 +0000 (UTC)
Message-Id: <20050202061749.GA10595@bee.kyit.edu.tw>
Date: Wed, 2 Feb 2005 14:17:49 +0800
From: Rui-Xiang Guo <rxg@myrealbox.com>
To: gnats-bugs@netbsd.org
Subject: fixed the problem - mktexpk: don't know how to create bitmap font with wip/cjk-latex
>Number: 29194
>Category: pkg
>Synopsis: fixed the problem - mktexpk: don't know how to create bitmap
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: hubertf
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Feb 02 06:16:00 +0000 2005
>Closed-Date: Sun Dec 09 12:13:39 +0000 2018
>Last-Modified: Sun Dec 09 12:13:39 +0000 2018
>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
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->hubertf
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Sat, 19 Mar 2005 03:00:32 +0000
Responsible-Changed-Why:
Over to (one of the) ttf2pk maintainer(s).
From: Hubert Feyrer <hubert@feyrer.de>
To: Rui-Xiang Guo <rxg@myrealbox.com>
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-bugs@netbsd.org
Subject: Re: pkg/29194 (mktexpk: don't know how to create bitmap)
Date: Sat, 19 Mar 2005 11:50:42 +0100 (CET)
Hi!
On Sat, 19 Mar 2005 wiz@netbsd.org wrote:
> Synopsis: fixed the problem - mktexpk: don't know how to create bitmap
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.
- Hubert
--
NetBSD - Free AND Open! (And of course secure, portable, yadda yadda)
From: Rui-Xiang Guo <rxg@myrealbox.com>
To: Hubert Feyrer <hubert@feyrer.de>
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-bugs@netbsd.org
Subject: Re: pkg/29194 (mktexpk: don't know how to create bitmap)
Date: Tue, 22 Mar 2005 00:54:44 +0800
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
From: Hubert Feyrer <hubert@feyrer.de>
To: Rui-Xiang Guo <rxg@myrealbox.com>
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-bugs@netbsd.org
Subject: Re: pkg/29194 (mktexpk: don't know how to create bitmap)
Date: Fri, 25 Mar 2005 12:21:23 +0100 (CET)
On Tue, 22 Mar 2005, Rui-Xiang Guo wrote:
>> 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.
I have reinstalled cjk-latex and cjk-latex-chinese from latest pkgsrc-wip,
but still get the same error. The cjk-latex-chinese PLIST only lists
bsmi00* but no bsmilp. Is this caused by the ttf2pk chance you propose?
> But we still need to tweak ttf2pk with this patch -
> - ${TOUCH} ${TEXMF}/ttf2tfm/base/ttfonts.map
> -share/texmf/ttf2tfm/base/ttfonts.map
> Because ttfonts.map will be generated by cjk-latex.
I wonder what happens when other pkgs need to use ttf2pk and want to add
entries for ttfonts.map? Adding an empty file in ttf2pk that everyone can
add and that ttf2pk cleans up seems to make more sense here than adding it
in some random package. But maybe the file should be part of teTeX instead
of ttf2pk?
> btw, what's the reason that you intend to change the pkg's name?
What do you mean here? shouldb't the PKGNAME be set to ttf2pk?
- Hubert
--
NetBSD - Free AND Open! (And of course secure, portable, yadda yadda)
From: Rui-Xiang Guo <rxg@myrealbox.com>
To: Hubert Feyrer <hubert@feyrer.de>
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-bugs@netbsd.org
Subject: Re: pkg/29194 (mktexpk: don't know how to create bitmap)
Date: Tue, 29 Mar 2005 01:07:25 +0800
Hi, sorry for late reply.
On Fri, Mar 25, 2005 at 12:21:23PM +0100, Hubert Feyrer wrote:
> On Tue, 22 Mar 2005, Rui-Xiang Guo wrote:
> >>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.
>
> I have reinstalled cjk-latex and cjk-latex-chinese from latest pkgsrc-wip,
strange, it work fine for me.
bee[/home/rxg/collect]% 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/c00song.fd) [1] (./Big5.aux) )
Output written on Big5.dvi (1 page, 2200 bytes).
Transcript written on Big5.log.
> but still get the same error. The cjk-latex-chinese PLIST only lists
> bsmi00* but no bsmilp. Is this caused by the ttf2pk chance you propose?
They are correct. They match the real font name.
> >But we still need to tweak ttf2pk with this patch -
> >- ${TOUCH}
> >${TEXMF}/ttf2tfm/base/ttfonts.map
> >-share/texmf/ttf2tfm/base/ttfonts.map
> >Because ttfonts.map will be generated by cjk-latex.
>
> I wonder what happens when other pkgs need to use ttf2pk and want to add
> entries for ttfonts.map? Adding an empty file in ttf2pk that everyone can
> add and that ttf2pk cleans up seems to make more sense here than adding it
> in some random package. But maybe the file should be part of teTeX instead
> of ttf2pk?
Ok, at least, we need to use ${RM} -f in PLIST, because cjk-latex will
modify ttfonts.map.
> >btw, what's the reason that you intend to change the pkg's name?
>
> What do you mean here? shouldb't the PKGNAME be set to ttf2pk?
hmm, just notice about the TODO.
-rxg
From: Rui-Xiang Guo <rxg@myrealbox.com>
To: gnats-bugs@netbsd.org
Cc: rxg@myrealbox.com
Subject: Re: pkg/29194
Date: Tue, 28 Feb 2006 11:50:20 +0800
--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
I have converted wip/cjk-latex-{chinese, japanese, korean} to
wip/tex-{arphic, baekmuk, kochi}-ttf and buildlink to print/teTeX/module.mk
for new teTeX packages' schema. I tested it well without seen such error
happen. And we don't need to adjust ttf2pk. Please test the attachment with
the command below:
% bg5latex Big5.tex
% xdvi Big5.dvi
--r5Pyd7+fXNt84Ff3
Content-Type: application/x-tex
Content-Disposition: attachment; filename="Big5.tex"
Content-Transfer-Encoding: base64
JSBUaGlzIGlzIHRoZSBmaWxlIEJpZzUudGV4IG9mIHRoZSBDSksgcGFja2FnZQolICAgZm9y
IHRlc3RpbmcgQ2hpbmVzZSAoaW4gQmlnIDUgZW5jb2RpbmcpLgolCiUgd3JpdHRlbiBieSBX
ZXJuZXIgTGVtYmVyZyA8d2xAZ251Lm9yZz4KJQolIFZlcnNpb24gNC42LjAgKDExLUF1Zy0y
MDA1KQolCiUKJSBwcm9jZXNzIHRoaXMgZmlsZSB3aXRoIGJnNWxhdGV4CgpcZG9jdW1lbnRj
bGFzc1sxMnB0XXthcnRpY2xlfSAKClx1c2VwYWNrYWdle0NKS30KCgpcYmVnaW57ZG9jdW1l
bnR9CgpcYmVnaW57Q0pLKn17Qmc1fXtzb25nfQpcQ0pLdGlsZGUKClxub2luZGVudCClu7Fg
sN2w3bWqtrB+KEZBUSBsaXN0KX6sT7FxpECox7hnsWCzUbDdqOyqurDdw0SkzqjkvkG37aq6
uNEKtaqkpKFBpUik6KtLqrqnzqahukutbqbTpViquqFDuPKkV6RAqqmko6ZQqrqsT6FBqOS9
c7HGtbK6Y6R3uf2ps6fvxdyhQwpcdGV4dGJme6azw/a3c7WyumOqurLTuGChQaVpsNGm0qF1
pnCm875cxaqlu7Ddtaq2sKTOpEa40ajkvXOxxrWyumOhdrjTCra1pKSquruhqfqhQ30KClxl
bmR7Q0pLKn0KClxlbmR7ZG9jdW1lbnR9CgolJSUgTG9jYWwgVmFyaWFibGVzOgolJSUgY29k
aW5nOiBiaWc1CiUlJSBtb2RlOiBsYXRleAolJSUgVGVYLW1hc3RlcjogdAolJSUgVGVYLWNv
bW1hbmQtZGVmYXVsdDogIkNKS0xhVGVYIgolJSUgRW5kOgo=
--r5Pyd7+fXNt84Ff3--
State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Wed, 07 Nov 2018 19:22:29 +0000
State-Changed-Why:
The wip package in question is long gone. OK to close?
State-Changed-From-To: feedback->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sun, 09 Dec 2018 12:13:39 +0000
State-Changed-Why:
Feedback timeout, including Hubert.
>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
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.