お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2011-06-26 02:47:35

Jey
新しいメンバ
登録日: 2011-06-26

漢字とNautilus

しつれいですが、私の日本語は悪いです。

I have Ubuntu 11.04 on my PC - all is good, but: all files, which named by kanji is not correct view. Kana's simbols view correctly, but always square instead of kanji.

ibus is work, Anthy method. (you can see). But Nautilus can't read kanji, kana only. Help, how can i fix it?
Nautilus don't read files copied from windows, don't read files which named with ibus... I'm stuck. On russian forum people don't know what to do and i came here.

P.S.: Sorry if that section of forum is wrong.

オフライン

 

#2 2011-06-26 09:38:03

Mocchi
管理者
登録日: 2009-05-17

Re: 漢字とNautilus

Hi,

Jey による投稿:

Kana's simbols view correctly, but always square instead of kanji.

I guess your system don't have Japanese fonts OR fail to associate Japanese characters with Japanese fonts.

At first, we should check installed font package. Please open "GNOME Terminal" (gnome-termilal) and try to execute below command,

$ dpkg -l | grep ttf;

You may get a long output but I hope to post whole output in this thread.

Regards

オフライン

 

#3 2011-06-26 18:18:07

Jey
新しいメンバ
登録日: 2011-06-26

Re: 漢字とNautilus

$ dpkg -l | grep ttf
ii  ttf-arphic-bkai00mp                   2.10-8                                     "AR PL KaitiM Big5" Chinese TrueType font by Arphic Technology
ii  ttf-arphic-gbsn00lp                   2.11-9                                     "AR PL SungtiL GB" Chinese TrueType font by Arphic Technology
ii  ttf-arphic-ukai                       0.2.20080216.1-1                           "AR PL UKai" Chinese Unicode TrueType font collection Kaiti style
ii  ttf-arphic-uming                      0.2.20080216.1-3ubuntu2                    "AR PL UMing" Chinese Unicode TrueType font collection Mingti style
ii  ttf-baekmuk                           2.2-3                                      Baekmuk series TrueType fonts
ii  ttf-dejavu-core                       2.31-1                                     Vera font family derivate with additional characters
ii  ttf-dejavu-extra                      2.31-1                                     Vera font family derivate with additional characters
ii  ttf-droid                             1.00~b112+dfsg+1-0ubuntu1                  handheld device font with extensive style and language support
ii  ttf-freefont                          20090104-7                                 Freefont Serif, Sans and Mono Truetype fonts
ii  ttf-hanazono                          20100718-1                                 Japanese TrueType font by KAGE system and FontForge
ii  ttf-indic-fonts-core                  1:0.5.11ubuntu1                            Core collection of free fonts for languages of India
ii  ttf-kacst-one                         4.0-0ubuntu1                               TrueType font designed for Arabic language
ii  ttf-khmeros-core                      5.0-3ubuntu1                               KhmerOS Unicode fonts for the Khmer language of Cambodia
ii  ttf-kochi-mincho                      20030809-9                                 Kochi Subst Mincho Japanese TrueType font without naga10
ii  ttf-lao                               0.0.20060226-7                             TrueType font for Lao language
ii  ttf-liberation                        1.05.2.20091019-4                          Fonts with the same metrics as Times, Arial and Courier
ii  ttf-mscorefonts-installer             3.3ubuntu3                                 Installer for Microsoft TrueType core fonts
ii  ttf-opensymbol                        2:2.4.3+LibO3.3.2-1ubuntu5                 OpenSymbol TrueType font
ii  ttf-punjabi-fonts                     1:0.5.11ubuntu1                            Free TrueType fonts for the Punjabi language
ii  ttf-sazanami-gothic                   20040629-8ubuntu1                          Sazanami Gothic Japanese TrueType font
ii  ttf-sazanami-mincho                   20040629-8ubuntu1                          Sazanami Mincho Japanese TrueType font
ii  ttf-symbol-replacement-wine1.3        1.3.22-0ubuntu1~ppa1~natty1                Free font with the same metrics as Symbol
ii  ttf-takao-gothic                      003.02.01-4ubuntu1                         Japanese TrueType font set, Takao Gothic Fonts
ii  ttf-takao-mincho                      003.02.01-4ubuntu1                         Japanese TrueType font set, Takao Mincho Fonts
ii  ttf-takao-pgothic                     003.02.01-4ubuntu1                         Japanese TrueType font set, Takao P Gothic Font
ii  ttf-thai-tlwg                         1:0.4.14-1                                 Thai fonts in TrueType format
ii  ttf-ubuntu-font-family                0.71.2-0ubuntu3                            Ubuntu Font Family, sans-serif typeface hinted for clarity
ii  ttf-umefont                           422-1                                      Japanese TrueType font, Ume-font
ii  ttf-unfonts                           1.0.3.is.1.0.1-0ubuntu1                    Metapackage to pull in -core and -extra
ii  ttf-unfonts-core                      1.0.3.is.1.0.1-0ubuntu1                    Un series Korean TrueType fonts
ii  ttf-unfonts-extra                     1.0.3.is.1.0.1-0ubuntu1                    Un series Korean TrueType fonts
ii  ttf-wqy-microhei                      0.2.0-beta-1                               A droid derived Sans-Seri style CJK font

--------------------------------------------------------

Most part of kanji was recognized by system 2 min ago. Package ttf-hanazono helped, but part of kanji still be quare =(

オフライン

 

#4 2011-06-28 00:01:15

Mocchi
管理者
登録日: 2009-05-17

Re: 漢字とNautilus

OK. So please install a package 'ttf-kochi-gothic'. This is the first candidate for Japanese sans-serif characters, refering to '/etc/fonts/conf.d/40-nonlatin.conf' (included in package 'fontconfig-config').

Please inform me if you cannot get expected rendering. Then the file list under '/etc/fonts/conf.d' will be a help.

オフライン

 

#5 2011-06-28 00:02:20

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 漢字とNautilus

It seems that you have already installed some japanese true-type fonts.
The command below should be show some japanese font.

コード:

fc-list :lang=ja

In my case, it shows:

コード:

IPA X0208 P明朝,IPAX0208PMincho:style=Regular
梅明朝S3,Ume Mincho S3:style=Regular
Droid Sans Fallback:style=Regular
梅ゴシックC4,Ume Gothic C4:style=Regular
梅ゴシックS4,Ume Gothic S4:style=Regular
梅P明朝,Ume P Mincho:style=Regular
梅明朝,Ume Mincho:style=Regular
IPA UIゴシック,IPAUIGothic:style=Regular
文泉驛等寬微米黑,WenQuanYi Micro Hei Mono,文泉驿等宽微米黑:style=Regular
Droid Sans Japanese:style=Regular
IPA X0208 Pゴシック,IPAX0208PGothic:style=Regular
VL ゴシック,VL Gothic,VL G,VL :style=regular,reg
梅ゴシックC5,Ume Gothic C5:style=Medium
梅ゴシックO5,Ume Gothic O5:style=Medium
梅ゴシックS5,Ume Gothic S5:style=Medium
みかちゃん\-ぷち,mikachan\-puchi:style=Regular
Takao P明朝,TakaoPMincho:style=Regular
IPA X0208 UIゴシック,IPAX0208UIGothic:style=Regular
梅Pゴシック,Ume P Gothic:style=Regular
Takaoゴシック,TakaoGothic:style=Regular
梅ゴシック,Ume Gothic:style=Regular
VL Pゴシック,VL PGothic:style=regular
IPA X0208 明朝,IPAX0208Mincho:style=Regular
IPAゴシック,IPAGothic:style=Regular
梅PゴシックC5,Ume P Gothic C5:style=Medium
梅PゴシックO5,Ume P Gothic O5:style=Medium
梅PゴシックS5,Ume P Gothic S5:style=Medium
梅PゴシックC4,Ume P Gothic C4:style=Regular
梅PゴシックS4,Ume P Gothic S4:style=Regular
梅P明朝S3,Ume P Mincho S3:style=Regular
文泉驛微米黑,WenQuanYi Micro Hei,文泉驿微米黑:style=Regular
IPA Pゴシック,IPAPGothic:style=Regular
IPA X0208 ゴシック,IPAX0208Gothic:style=Regular
みかちゃん,mikachan:style=Regular
みかちゃん\-P,mikachan\-P:style=Regular
みかちゃん\-ぷちB,mikachan\-puchiB:style=Regular
Takao Pゴシック,TakaoPGothic:style=Regular
みかちゃん\-PB,mikachan\-PB:style=Regular
みかちゃん\-PS,mikachan\-PS:style=Regular
TakaoExゴシック,TakaoExGothic:style=Regular
梅UIゴシック,Ume UI Gothic:style=Regular
IPA明朝,IPAMincho:style=Regular
TakaoEx明朝,TakaoExMincho:style=Regular
Takao明朝,TakaoMincho:style=Regular
IPA P明朝,IPAPMincho:style=Regular
梅UIゴシックO5,Ume UI Gothic O5:style=Medium
VL ゴシック,VL Gothic:style=regular

# sorry if you don't see some font name properly because of japanese kanji characters.

If you see some japanese fonts, you can use them.
In that case, the problem might be caused by "fontconfig".
My ~/.fonts.conf is:

コード:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <!-- Japanese (ja) -->
 <match target="pattern">
  <test compare="contains" name="lang">
   <string>ja</string>
  </test>
  <test name="family" qual="any">
   <string>serif</string>
  </test>
  <edit binding="strong" mode="prepend" name="family">
   <string>Takao P明朝</string>
   <string>IPA P明朝</string>
   <string>IPA モナー P明朝</string>
   <string>梅P明朝</string>
   <string>さざなみ明朝</string>
   <string>東風明朝</string>
  </edit>
 </match>
 <match target="pattern">
  <test compare="contains" name="lang">
   <string>ja</string>
  </test>
  <test name="family" qual="any">
   <string>sans-serif</string>
  </test>
  <edit binding="strong" mode="prepend" name="family">
   <string>Takao Pゴシック</string>
   <string>IPA Pゴシック</string>
   <string>IPA モナー Pゴシック</string>
   <string>UmePlus P Gothic</string>
   <string>梅Pゴシック</string>
   <string>VL Pゴシック</string>
   <string>さざなみゴシック</string>
   <string>東風ゴシック</string>
  </edit>
 </match>
 <match target="pattern">
  <test compare="contains" name="lang">
   <string>ja</string>
  </test>
  <test name="family" qual="any">
   <string>monospace</string>
  </test>
  <edit binding="strong" mode="prepend" name="family">
   <string>Takaoゴシック</string>
   <string>IPAゴシック</string>
   <string>IPA モナー ゴシック</string>
   <string>UmePlus Gothic</string>
   <string>梅ゴシック</string>
   <string>VL ゴシック</string>
   <string>さざなみゴシック</string>
   <string>東風ゴシック</string>
  </edit>
 </match>
 <match target="pattern">
  <test name="family" qual="any">
   <string>Ryumin</string>
  </test>
  <edit binding="strong" mode="prepend" name="family">
   <string>Takao P明朝</string>
   <string>IPA P明朝</string>
   <string>IPA モナー P明朝</string>
   <string>梅P明朝</string>
   <string>さざなみ明朝</string>
   <string>東風明朝</string>
  </edit>
 </match>
 <match target="pattern">
  <test name="family" qual="any">
   <string>GothicBBB</string>
  </test>
  <edit binding="strong" mode="prepend" name="family">
   <string>Takao Pゴシック</string>
   <string>IPA Pゴシック</string>
   <string>IPA モナー Pゴシック</string>
   <string>UmePlus P Gothic</string>
   <string>梅Pゴシック</string>
   <string>VL Pゴシック</string>
   <string>さざなみ ゴシック</string>
   <string>東風ゴシック</string>
  </edit>
 </match>
 <match target="font">
  <test compare="contains" name="family">
   <string>IPA Pゴシック</string>
   <string>IPA P明朝</string>
   <string>IPA モナー Pゴシック</string>
   <string>IPA モナー P明朝</string>
   <string>IPA モナー UIゴシック</string>
   <string>IPA モナー ゴシック</string>
   <string>IPA モナー 明朝</string>
   <string>IPAexゴシック</string>
   <string>IPAex明朝</string>
   <string>IPAゴシック</string>
   <string>IPA明朝</string>
   <string>Takao Pゴシック</string>
   <string>Takao P明朝</string>
   <string>TakaoExゴシック</string>
   <string>TakaoEx明朝</string>
   <string>Takaoゴシック</string>
   <string>Takao明朝</string>
   <string>UmePlus Gothic</string>
   <string>UmePlus P Gothic</string>
   <string>VL Pゴシック</string>
   <string>VL ゴシック</string>
   <string>さざなみゴシック</string>
   <string>さざなみ明朝</string>
   <string>東風ゴシック</string>
   <string>東風明朝</string>
   <string>梅Pゴシック</string>
   <string>梅PゴシックC4</string>
   <string>梅PゴシックC5</string>
   <string>梅PゴシックO5</string>
   <string>梅PゴシックS4</string>
   <string>梅PゴシックS5</string>
   <string>梅P明朝</string>
   <string>梅P明朝S3</string>
   <string>梅UIゴシック</string>
   <string>梅UIゴシックO5</string>
   <string>梅ゴシック</string>
   <string>梅ゴシックC4</string>
   <string>梅ゴシックC5</string>
   <string>梅ゴシックO5</string>
   <string>梅ゴシックS4</string>
   <string>梅ゴシックS5</string>
   <string>梅明朝</string>
   <string>梅明朝S3</string>
  </test>
  <test compare="less_eq" name="pixelsize">
   <double>18</double>
  </test>
  <edit mode="assign" name="hintstyle">
   <const>hintnone</const>
  </edit>
  <edit name="embeddedbitmap">
   <bool>false</bool>
  </edit>
 </match>
 <!-- Japanese (ja) ends -->
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <dir>~/.fonts</dir>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

That may help you.

Or, change the default fonts in the font setting dialog.

Best!

オフライン

 

#6 2011-06-28 00:18:23

Mocchi
管理者
登録日: 2009-05-17

Re: 漢字とNautilus

Thanks, hmatsue.

But this time, I hope to apply my solution because this issue relates some bugs which Ubuntu Japanese Team will manage to fix till the next release. I need to identify which setting causes this and now I guess the possibility of the font candidates list describes on 40-nonlatin.conf I mentioned.

Great thanks ;-)

オフライン

 

#7 2011-06-28 06:34:54

Jey
新しいメンバ
登録日: 2011-06-26

Re: 漢字とNautilus

[code]fc-list :lang=ja

Ume Mincho S3,

オフライン

 

#8 2011-06-28 06:35:43

Jey
新しいメンバ
登録日: 2011-06-26

Re: 漢字とNautilus

fc-list :lang=ja

Ume Mincho S3,

オフライン

 

#9 2011-06-28 06:40:16

Jey
新しいメンバ
登録日: 2011-06-26

Re: 漢字とNautilus

[code]fc-list :lang=ja

Ume Mincho S3,

オフライン

 

#10 2011-06-28 06:40:38

Jey
新しいメンバ
登録日: 2011-06-26

Re: 漢字とNautilus

[code]fc-list :lang=ja

Ume Mincho S3,

オフライン

 

#11 2011-06-28 06:45:35

Jey
新しいメンバ
登録日: 2011-06-26

Re: 漢字とNautilus

Sorry, that is some problem with sumbit post... %)

This is the link to the post.
https://docs.google.com/document/d/14nzz6caYa-K9HHDrN7RcblDmdXUShroUJqvbqTBGr_I/edit?hl=en_US&authkey=CNul8vwH

オフライン

 

#12 2011-06-28 09:38:01

hmatsue
アドバイザ
登録日: 2009-03-10

Re: 漢字とNautilus

Mocchi:
Sorry, I did not check new post before my posting.
It seems "ttf-kochi-gothic" is installed on Jey's system now.
Do you have any idea for next step?

Jey による投稿:

コード:

fc-list :lang=ja

Ume Mincho S3,梅明朝S3:style=Regular
Droid Sans Fallback:style=Regular
Mona:style=Regular
Ume Gothic C4,梅ゴシックC4:style=Regular
Ume Gothic S4,梅ゴシックS4:style=Regular
Ume P Mincho,梅P明朝:style=Regular
Ume Mincho,梅明朝:style=Regular
文泉驛等寬微米黑,WenQuanYi Micro Hei Mono,文泉驿等宽微米黑:style=Regular
Droid Sans Japanese:style=Regular
HanaMin,花園明朝:style=Regular
Sazanami Mincho,さざなみ明朝:style=Regular,Mincho-Regular
Ume Gothic C5,梅ゴシックC5:style=Medium
Ume Gothic O5,梅ゴシックO5:style=Medium
Ume Gothic S5,梅ゴシックS5:style=Medium
TakaoPMincho,Takao P明朝:style=Regular
Kochi Gothic,東風ゴシック:style=Regular,標準
Kochi Mincho,東風明朝:style=Regular,標準
Ume P Gothic,梅Pゴシック:style=Regular
TakaoGothic,Takaoゴシック:style=Regular
Ume Gothic,梅ゴシック:style=Regular
VL PGothic,VL Pゴシック:style=regular
Ume P Gothic C5,梅PゴシックC5:style=Medium
Ume P Gothic O5,梅PゴシックO5:style=Medium
Ume P Gothic S5,梅PゴシックS5:style=Medium
Ume P Gothic C4,梅PゴシックC4:style=Regular
Ume P Gothic S4,梅PゴシックS4:style=Regular
Ume P Mincho S3,梅P明朝S3:style=Regular
文泉驛微米黑,WenQuanYi Micro Hei,文泉驿微米黑:style=Regular
Sazanami Gothic,さざなみゴシック:style=Regular,Gothic-Regular
TakaoPGothic,Takao Pゴシック:style=Regular
kiloji - B,きろ字 - B:style=Regular
kiloji - D,きろ字 - D:style=Regular
kiloji - P,きろ字 - P:style=Regular
kiloji,きろ字:style=Regular
TakaoExGothic,TakaoExゴシック:style=Regular
Ume UI Gothic,梅UIゴシック:style=Regular
TakaoExMincho,TakaoEx明朝:style=Regular
TakaoMincho,Takao明朝:style=Regular
Ume UI Gothic O5,梅UIゴシックO5:style=Medium
VL Gothic,VL ゴシック:style=regular

'ttf-kochi-gothic' installed, but problem is still here =(


コード:

/etc/fonts/conf.d$ ls
10-antialias.conf                 64-ttf-thai-tlwg.conf
10-hinting.conf                   65-fonts-persian.conf
10-hinting-slight.conf            65-khmer.conf
11-lcd-filter-lcddefault.conf     65-nonlatin.conf
20-fix-globaladvance.conf         69-unifont.conf
20-unhint-small-vera.conf         70-no-bitmaps.conf
25-ttf-arphic-ukai-render.conf    75-ttf-arphic-ukai-select.conf
25-ttf-arphic-uming-render.conf   80-delicious.conf
30-defoma.conf                    89-ttf-thai-tlwg-synthetic.conf
30-metric-aliases.conf            90-synthetic.conf
30-urw-aliases.conf               90-ttf-arphic-ukai-embolden.conf
35-ttf-arphic-ukai-aliases.conf   90-ttf-arphic-uming-embolden.conf
35-ttf-arphic-uming-aliases.conf  90-ttf-bengali-fonts.conf
40-nonlatin.conf                  90-ttf-devanagari-fonts.conf
41-ttf-arphic-ukai.conf           90-ttf-gujarati-fonts.conf
41-ttf-arphic-uming.conf          90-ttf-kannada-fonts.conf
45-latin.conf                     90-ttf-malayalam-fonts.conf
49-sansserif.conf                 90-ttf-oriya-fonts.conf
50-user.conf                      90-ttf-punjabi-fonts.conf
51-local.conf                     90-ttf-tamil-fonts.conf
53-monospace-lcd-filter.conf      90-ttf-telugu-fonts.conf
60-latin.conf                     99pdftoopvp.conf
64-ttf-arphic-uming.conf          README

オフライン

 

#13 2011-06-29 04:59:49

Mocchi
管理者
登録日: 2009-05-17

Re: 漢字とNautilus

OK. Next, we should check the fonts which is selected in 'gnome-appearance-properties'. You can see some font configuration in "Font" tab. The configuration in 'Application' is related to the rendering of  Nautilus or the other applications like Thunderbird.

In my computer, "Ubuntu Regular" is selected and get a good view of Japanese characters.

オフライン

 

#14 2011-06-29 07:58:52

Jey
新しいメンバ
登録日: 2011-06-26

Re: 漢字とNautilus

On my pc "Ubuntu Regular" too, but some Japanese charaster's are quare %) Even i change defoult system lang to Japanese probleb still here...
When i visit this forum some part of kanjiis not recognize.

All charaster what recognized now, was recognized after ttf-hanazono install. Maybe key from answer hide near that package? Version or... something?

I have kagedb directory on "~/kage", maybe try something with that?

コード:

ls -R kage
kage:
CVS  kagedb

kage/CVS:
Entries  Entries.Log  Entries.Static  Repository  Root

kage/kagedb:
alias.txt  getaliastxt.pl  index.cgi       makeidsdb.pl    parts.txt
CVS        getpartstxt.pl  makealiasdb.pl  makepartsdb.pl  readme.en

kage/kagedb/CVS:
Entries  Repository  Root

/kage/kagedb/reamde.en

コード:

~/kage/kagedb$ cat readme.en 
This directory holds the KAGE/DB files which contains data and
utilities.

* partsdb : Kanji parts database for KAGE/cgi

Get makepartsdb.pl and parts.txt, please type like follows.

    % perl makepartsdb.pl .

Then ''partsdb'' is to be created.

* aliasdb : Kanji parts alias database for KAGE/cgi

Get makealiasdb.pl and alias.txt, please type like follows.

    % perl makealiasdb.pl .

Then ''aliasdb'' is to be created.

* idsdb : Kanji alias IDS database for KAGE/cgi

Get makeidsdb.pl and CHISE/IDS data, please type like follows.

    % perl makeidsdb.pl .

Then ''idsdb'' is to be created.

 note: More information about CHISE/IDS data is avalable at
       http://www.kanji.zinbun.kyoto-u.ac.jp/projects/chise/ids/

* About KAGE/DB

Please see http://fonts.jp/index.php?KAGE%2Fcgi

(Only Japanese documents are avalable)

* License

This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

This package is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this package; see the file COPYING.  If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.

P.S.: Great thank you for your attention, i think we're win this fight ^^

オフライン

 

Board footer

Powered by FluxBB