2010-05-17 14:28:01 |
HAMANO Kiyoto |
bug |
|
|
added bug |
2010-05-17 14:48:44 |
HAMANO Kiyoto |
description |
Binary package hint: texlive-base
I compile a tex file (include Japanese character) by platex command.
I input a following commands.
<pre>
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ nkf -w hello.tex # = cat hello.tex (To convert UTF-8 and output stdout. hello.tex is EUC-JP)
\documentclass[a4papper]{jsarticle}
\begin{document}
Hello World ハローワールド 日本語のテスト
\end{document}
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+555/600 --dpi 555 rml-jis
mktexpk: don't know how to create bitmap font for rml-jis.
kpathsea: Appending font creation commands to missfont.log.
** WARNING ** Could not locate a virtual/physical font for TFM "rml-jis".
** WARNING ** >> There are no valid font mapping entry for this font.
** WARNING ** >> Font file name "rml-jis" was assumed but failed to locate that font.
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
Output file removed.
</pre>
After I searched by a web, I could create PDF by following settings.
<pre>
$ sudo vim /etc/texmf/dvipdfmx/dvipdfmx.cfg
-> add f jis-cjk.map to last line.
$ ln -s /var/lib/defoma/gs.d/dirs/CMap ~/.texmf-var/fonts/cmap
</pre>
My environment:
Kubuntu 10.04 (i386)
Virtualbox 3.1.8
Language Japanese
texlive-base(dvipdfmx) 2009-7 |
Binary package hint: texlive-base
1st, I write a error case.
2nd, I write a success setting.
1. error case.
I compile a tex file (include Japanese character) by platex command.
I input a following commands.
<pre>
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ nkf -w hello.tex # = cat hello.tex (To convert UTF-8 and output stdout. hello.tex is EUC-JP)
\documentclass[a4papper]{jsarticle}
\begin{document}
Hello World ハローワールド 日本語のテスト
\end{document}
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+555/600 --dpi 555 rml-jis
mktexpk: don't know how to create bitmap font for rml-jis.
kpathsea: Appending font creation commands to missfont.log.
** WARNING ** Could not locate a virtual/physical font for TFM "rml-jis".
** WARNING ** >> There are no valid font mapping entry for this font.
** WARNING ** >> Font file name "rml-jis" was assumed but failed to locate that font.
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
Output file removed.
</pre>
2. success setting.
After I searched by a web, I could create PDF by following settings.
<pre>
$ sudo vim /etc/texmf/dvipdfmx/dvipdfmx.cfg
-> add f jis-cjk.map to last line.
$ ln -s /var/lib/defoma/gs.d/dirs/CMap ~/.texmf-var/fonts/cmap
</pre>
My environment:
Kubuntu 10.04 (i386)
Virtualbox 3.1.8
Language Japanese
texlive-base(dvipdfmx) 2009-7
|
|
2010-05-18 01:13:46 |
HAMANO Kiyoto |
description |
Binary package hint: texlive-base
1st, I write a error case.
2nd, I write a success setting.
1. error case.
I compile a tex file (include Japanese character) by platex command.
I input a following commands.
<pre>
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ nkf -w hello.tex # = cat hello.tex (To convert UTF-8 and output stdout. hello.tex is EUC-JP)
\documentclass[a4papper]{jsarticle}
\begin{document}
Hello World ハローワールド 日本語のテスト
\end{document}
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+555/600 --dpi 555 rml-jis
mktexpk: don't know how to create bitmap font for rml-jis.
kpathsea: Appending font creation commands to missfont.log.
** WARNING ** Could not locate a virtual/physical font for TFM "rml-jis".
** WARNING ** >> There are no valid font mapping entry for this font.
** WARNING ** >> Font file name "rml-jis" was assumed but failed to locate that font.
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
Output file removed.
</pre>
2. success setting.
After I searched by a web, I could create PDF by following settings.
<pre>
$ sudo vim /etc/texmf/dvipdfmx/dvipdfmx.cfg
-> add f jis-cjk.map to last line.
$ ln -s /var/lib/defoma/gs.d/dirs/CMap ~/.texmf-var/fonts/cmap
</pre>
My environment:
Kubuntu 10.04 (i386)
Virtualbox 3.1.8
Language Japanese
texlive-base(dvipdfmx) 2009-7
|
Binary package hint: texlive-base
xdvipdfmx can't create PDF by defualt from DVI file(includes Japanese characters).
And, I could create PDF in xdvipdfmx by several settings.
I think xdvipdfmx should be able to create PDF by default settings.
1st, I write a error case.
2nd, I write a success setting.
1. error case.
I compile a tex file (include Japanese character) by platex command.
I input a following commands.
<pre>
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ nkf -w hello.tex # = cat hello.tex (To convert UTF-8 and output stdout. hello.tex is EUC-JP)
\documentclass[a4papper]{jsarticle}
\begin{document}
Hello World ハローワールド 日本語のテスト
\end{document}
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+555/600 --dpi 555 rml-jis
mktexpk: don't know how to create bitmap font for rml-jis.
kpathsea: Appending font creation commands to missfont.log.
** WARNING ** Could not locate a virtual/physical font for TFM "rml-jis".
** WARNING ** >> There are no valid font mapping entry for this font.
** WARNING ** >> Font file name "rml-jis" was assumed but failed to locate that font.
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
Output file removed.
</pre>
2. success setting.
After I searched by a web, I could create PDF by following settings.
<pre>
$ sudo vim /etc/texmf/dvipdfmx/dvipdfmx.cfg
-> add f jis-cjk.map to last line.
$ ln -s /var/lib/defoma/gs.d/dirs/CMap ~/.texmf-var/fonts/cmap
</pre>
My environment:
Kubuntu 10.04 (i386)
Virtualbox 3.1.8
Language Japanese
texlive-base(dvipdfmx) 2009-7
|
|
2010-05-18 13:08:59 |
HAMANO Kiyoto |
summary |
[Kubuntu][dvipdfmx][Japanese] xdvipdfmx can't create PDF by default from DVI file that includes japanese characters. |
[Kubuntu][dvipdfmx][Japanese] dvipdfmx can't create PDF by default from DVI file that includes japanese characters. |
|
2010-05-18 13:10:09 |
HAMANO Kiyoto |
description |
Binary package hint: texlive-base
xdvipdfmx can't create PDF by defualt from DVI file(includes Japanese characters).
And, I could create PDF in xdvipdfmx by several settings.
I think xdvipdfmx should be able to create PDF by default settings.
1st, I write a error case.
2nd, I write a success setting.
1. error case.
I compile a tex file (include Japanese character) by platex command.
I input a following commands.
<pre>
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ nkf -w hello.tex # = cat hello.tex (To convert UTF-8 and output stdout. hello.tex is EUC-JP)
\documentclass[a4papper]{jsarticle}
\begin{document}
Hello World ハローワールド 日本語のテスト
\end{document}
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+555/600 --dpi 555 rml-jis
mktexpk: don't know how to create bitmap font for rml-jis.
kpathsea: Appending font creation commands to missfont.log.
** WARNING ** Could not locate a virtual/physical font for TFM "rml-jis".
** WARNING ** >> There are no valid font mapping entry for this font.
** WARNING ** >> Font file name "rml-jis" was assumed but failed to locate that font.
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
Output file removed.
</pre>
2. success setting.
After I searched by a web, I could create PDF by following settings.
<pre>
$ sudo vim /etc/texmf/dvipdfmx/dvipdfmx.cfg
-> add f jis-cjk.map to last line.
$ ln -s /var/lib/defoma/gs.d/dirs/CMap ~/.texmf-var/fonts/cmap
</pre>
My environment:
Kubuntu 10.04 (i386)
Virtualbox 3.1.8
Language Japanese
texlive-base(dvipdfmx) 2009-7
|
Binary package hint: texlive-base
dvipdfmx can't create PDF by defualt from DVI file(includes Japanese characters).
And, I could create PDF in dvipdfmx by several settings.
I think dvipdfmx should be able to create PDF by default settings.
Expected result:
dvipdfmx can create PDF file by default setting from DVI file (includes Japanese characters).
Actual result:
dvipdfmx cannot create PDF file by default setting from DVI file (includes Japanese characters).
1st, I write a error case.
2nd, I write a success setting.
1. error case.
I compile a tex file (include Japanese character) by platex command.
I input a following commands.
<pre>
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ nkf -w hello.tex # = cat hello.tex (To convert UTF-8 and output stdout. hello.tex is EUC-JP)
\documentclass[a4papper]{jsarticle}
\begin{document}
Hello World ハローワールド 日本語のテスト
\end{document}
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+555/600 --dpi 555 rml-jis
mktexpk: don't know how to create bitmap font for rml-jis.
kpathsea: Appending font creation commands to missfont.log.
** WARNING ** Could not locate a virtual/physical font for TFM "rml-jis".
** WARNING ** >> There are no valid font mapping entry for this font.
** WARNING ** >> Font file name "rml-jis" was assumed but failed to locate that font.
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
Output file removed.
</pre>
2. success setting.
After I searched by a web, I could create PDF by following settings.
<pre>
$ sudo vim /etc/texmf/dvipdfmx/dvipdfmx.cfg
-> add f jis-cjk.map to last line.
$ ln -s /var/lib/defoma/gs.d/dirs/CMap ~/.texmf-var/fonts/cmap
</pre>
My environment:
Kubuntu 10.04 (i386)
Virtualbox 3.1.8
Language Japanese
texlive-base(dvipdfmx) 2009-7
|
|
2010-05-18 13:49:28 |
HAMANO Kiyoto |
description |
Binary package hint: texlive-base
dvipdfmx can't create PDF by defualt from DVI file(includes Japanese characters).
And, I could create PDF in dvipdfmx by several settings.
I think dvipdfmx should be able to create PDF by default settings.
Expected result:
dvipdfmx can create PDF file by default setting from DVI file (includes Japanese characters).
Actual result:
dvipdfmx cannot create PDF file by default setting from DVI file (includes Japanese characters).
1st, I write a error case.
2nd, I write a success setting.
1. error case.
I compile a tex file (include Japanese character) by platex command.
I input a following commands.
<pre>
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ nkf -w hello.tex # = cat hello.tex (To convert UTF-8 and output stdout. hello.tex is EUC-JP)
\documentclass[a4papper]{jsarticle}
\begin{document}
Hello World ハローワールド 日本語のテスト
\end{document}
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+555/600 --dpi 555 rml-jis
mktexpk: don't know how to create bitmap font for rml-jis.
kpathsea: Appending font creation commands to missfont.log.
** WARNING ** Could not locate a virtual/physical font for TFM "rml-jis".
** WARNING ** >> There are no valid font mapping entry for this font.
** WARNING ** >> Font file name "rml-jis" was assumed but failed to locate that font.
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
Output file removed.
</pre>
2. success setting.
After I searched by a web, I could create PDF by following settings.
<pre>
$ sudo vim /etc/texmf/dvipdfmx/dvipdfmx.cfg
-> add f jis-cjk.map to last line.
$ ln -s /var/lib/defoma/gs.d/dirs/CMap ~/.texmf-var/fonts/cmap
</pre>
My environment:
Kubuntu 10.04 (i386)
Virtualbox 3.1.8
Language Japanese
texlive-base(dvipdfmx) 2009-7
|
Binary package hint: texlive-base
I compiled a TeX file (include Japanese character) to DVI file by platex command.
And I converted a DVI file to PDF by dvipdfmx.
I input a following commands.
[How To reproduce]
<pre>
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ nkf -w hello.tex # = cat hello.tex (To convert UTF-8 and output stdout. hello.tex is EUC-JP)
\documentclass[a4papper]{jsarticle}
\begin{document}
Hello World ハローワールド 日本語のテスト
\end{document}
$ dvipdfmx hello.dvi
</pre>
[Actual Result]
<pre>
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+555/600 --dpi 555 rml-jis
mktexpk: don't know how to create bitmap font for rml-jis.
kpathsea: Appending font creation commands to missfont.log.
** WARNING ** Could not locate a virtual/physical font for TFM "rml-jis".
** WARNING ** >> There are no valid font mapping entry for this font.
** WARNING ** >> Font file name "rml-jis" was assumed but failed to locate that font.
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
Output file removed.
</pre>
[Expected Result]
This is a result of Debian GNU/Linux sid.
<pre>
$ dvipdfmx hello.dvi
./hello.dvi -> hello.pdf
[1]
3274 bytes written
</pre>
[How To Fix]
This is not perfect. The warning still remains.
<pre>
$ sudo cp /etc/texmf/dvipdfmx/dvipdfmx.cfg /etc/texmf/dvipdfmx/dvipdfmx.cfg.orig # backup
$ sudo vim /etc/texmf/dvipdfmx/dvipdfmx.cfg
$ diff -u /etc/texmf/dvipdfmx/dvipdfmx.cfg.orig /etc/texmf/dvipdfmx/dvipdfmx.cfg
--- /etc/texmf/dvipdfmx/dvipdfmx.cfg.orig 2010-05-18 22:32:20.661200781 +0900
+++ /etc/texmf/dvipdfmx/dvipdfmx.cfg 2010-05-18 22:32:58.745196921 +0900
@@ -190,3 +190,4 @@
%% Put additonal fontmap files here (usually for Type0 fonts)
f cid-x.map
+f jis-cjk.map
$ mkdir -p ~/.texmf-var/fonts
$ ln -s /var/lib/defoma/gs.d/dirs/CMap ~/.texmf-var/fonts/cmap
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1]
3191 bytes written
</pre>
[Environment]
Kubuntu 10.04 (i386)
Virtualbox 3.1.8
Language Japanese
texlive-base(dvipdfmx) 2009-7
result of "dpkg -l": attached
|
|
2010-05-18 13:51:36 |
HAMANO Kiyoto |
description |
Binary package hint: texlive-base
I compiled a TeX file (include Japanese character) to DVI file by platex command.
And I converted a DVI file to PDF by dvipdfmx.
I input a following commands.
[How To reproduce]
<pre>
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ nkf -w hello.tex # = cat hello.tex (To convert UTF-8 and output stdout. hello.tex is EUC-JP)
\documentclass[a4papper]{jsarticle}
\begin{document}
Hello World ハローワールド 日本語のテスト
\end{document}
$ dvipdfmx hello.dvi
</pre>
[Actual Result]
<pre>
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+555/600 --dpi 555 rml-jis
mktexpk: don't know how to create bitmap font for rml-jis.
kpathsea: Appending font creation commands to missfont.log.
** WARNING ** Could not locate a virtual/physical font for TFM "rml-jis".
** WARNING ** >> There are no valid font mapping entry for this font.
** WARNING ** >> Font file name "rml-jis" was assumed but failed to locate that font.
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
Output file removed.
</pre>
[Expected Result]
This is a result of Debian GNU/Linux sid.
<pre>
$ dvipdfmx hello.dvi
./hello.dvi -> hello.pdf
[1]
3274 bytes written
</pre>
[How To Fix]
This is not perfect. The warning still remains.
<pre>
$ sudo cp /etc/texmf/dvipdfmx/dvipdfmx.cfg /etc/texmf/dvipdfmx/dvipdfmx.cfg.orig # backup
$ sudo vim /etc/texmf/dvipdfmx/dvipdfmx.cfg
$ diff -u /etc/texmf/dvipdfmx/dvipdfmx.cfg.orig /etc/texmf/dvipdfmx/dvipdfmx.cfg
--- /etc/texmf/dvipdfmx/dvipdfmx.cfg.orig 2010-05-18 22:32:20.661200781 +0900
+++ /etc/texmf/dvipdfmx/dvipdfmx.cfg 2010-05-18 22:32:58.745196921 +0900
@@ -190,3 +190,4 @@
%% Put additonal fontmap files here (usually for Type0 fonts)
f cid-x.map
+f jis-cjk.map
$ mkdir -p ~/.texmf-var/fonts
$ ln -s /var/lib/defoma/gs.d/dirs/CMap ~/.texmf-var/fonts/cmap
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1]
3191 bytes written
</pre>
[Environment]
Kubuntu 10.04 (i386)
Virtualbox 3.1.8
Language Japanese
texlive-base(dvipdfmx) 2009-7
result of "dpkg -l": attached
|
Binary package hint: texlive-base
I compiled a TeX file (include Japanese character) to DVI file by platex command.
And I converted a DVI file to PDF by dvipdfmx.
I input a following commands.
[How To reproduce]
<pre>
$ sudo apt-get install vim # for edit a latex file.
$ sudo apt-get install nkf # for convert a character code.
$ sudo apt-get install texlive "^ptex-*" dvipdfmx gv gs-cjk-resources "^cmap-adobe-*" okumura-clsfiles
$ sudo jisftconfig add
$ vim hello.tex # edit a tex file.
$ nkf --overwirte -e hello.tex # convert a character code to EUC-JP
$ platex -kanji=euc hello.tex # compile a tex file.
$ nkf -w hello.tex # = cat hello.tex (To convert UTF-8 and output stdout. hello.tex is EUC-JP)
\documentclass[a4papper]{jsarticle}
\begin{document}
Hello World ハローワールド 日本語のテスト
\end{document}
$ dvipdfmx hello.dvi
</pre>
[Actual Result]
<pre>
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+555/600 --dpi 555 rml-jis
mktexpk: don't know how to create bitmap font for rml-jis.
kpathsea: Appending font creation commands to missfont.log.
** WARNING ** Could not locate a virtual/physical font for TFM "rml-jis".
** WARNING ** >> There are no valid font mapping entry for this font.
** WARNING ** >> Font file name "rml-jis" was assumed but failed to locate that font.
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
Output file removed.
</pre>
[Expected Result]
This is a result of Debian GNU/Linux sid.
<pre>
$ dvipdfmx hello.dvi
./hello.dvi -> hello.pdf
[1]
3274 bytes written
</pre>
[How To Fix]
This is not perfect. The warning still remains.
<pre>
$ sudo cp /etc/texmf/dvipdfmx/dvipdfmx.cfg /etc/texmf/dvipdfmx/dvipdfmx.cfg.orig # backup
$ sudo vim /etc/texmf/dvipdfmx/dvipdfmx.cfg
$ diff -u /etc/texmf/dvipdfmx/dvipdfmx.cfg.orig /etc/texmf/dvipdfmx/dvipdfmx.cfg
--- /etc/texmf/dvipdfmx/dvipdfmx.cfg.orig 2010-05-18 22:32:20.661200781 +0900
+++ /etc/texmf/dvipdfmx/dvipdfmx.cfg 2010-05-18 22:32:58.745196921 +0900
@@ -190,3 +190,4 @@
%% Put additonal fontmap files here (usually for Type0 fonts)
f cid-x.map
+f jis-cjk.map
$ mkdir -p ~/.texmf-var/fonts
$ ln -s /var/lib/defoma/gs.d/dirs/CMap ~/.texmf-var/fonts/cmap
$ dvipdfmx hello.dvi
hello.dvi -> hello.pdf
** WARNING ** Failed to load AGL file "pdfglyphlist.txt"...
** WARNING ** Failed to load AGL file "glyphlist.txt"...
[1]
3191 bytes written
</pre>
[Environment]
Kubuntu 10.04 (i386)
Virtualbox 3.1.8
Language Japanese
texlive-base(dvipdfmx) 2009-7
result of "dpkg -l": attached (filename: dpkg-l.txt)
|
|
2010-05-18 13:51:51 |
HAMANO Kiyoto |
attachment added |
|
dpkg-l.txt http://launchpadlibrarian.net/48662205/dpkg-l.txt |
|
2020-09-26 22:27:55 |
Launchpad Janitor |
texlive-base (Ubuntu): status |
New |
Confirmed |
|