[kubuntu 10.04] xdvik-ja: The DVI file including Japanese character(kanji, hiragana and katakana) is garbled.

Bug #580567 reported by HAMANO Kiyoto
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdvik-ja (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xdvik-ja

The DVI file including Japanese characters(kanji, hiragana and katakana) is garbled.
I tried a following commands.

$ 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-*" xdvik-ja 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.
$ xdvi hello.dvi

hello.tex contents are as follows.

<pre>
\documentclass[a4paper]{jsarticle}
\begin{document}
Hello, World ハローワールド 日本語のテスト
\end{document}

</pre>

I attach a screenshot of xdvi.

My environment:
 Kubuntu 10.04 (i686)
 Language: Japanese
 VirtualBox 3.1.8
 xdvik-ja: 22.84.13-j1.34-2.1

Revision history for this message
HAMANO Kiyoto (khiker) wrote :
Revision history for this message
Youhei SASAKI (uwabami) wrote :

Hi,

Please run "sudo update-vfontmap" and check your "/var/lib/texmf.d/vfontmap".

HAMANO Kiyoto (khiker)
description: updated
Revision history for this message
HAMANO Kiyoto (khiker) wrote :

Thanks, for your comment.
I tried `sudo update-vfontmap', But the results were same.

Revision history for this message
Mitsuya Shibata (cosmos-door) wrote :

This is fontconfig's problem.

In 10.04, result of "fc-match serif:lang=ja" is following:
 DejaVuSerif.ttf: "DejaVu Serif" "Book"

Therefore, update-vfontmap specified DejaVu (English) to use font for rml.

Revision history for this message
Youhei SASAKI (uwabami) wrote :

This is not bug of xdvik-ja. so I close it. thanks

Changed in xdvik-ja (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.