Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] The wrong kanji
- Date: Fri, 07 Jan 2011 11:50:09 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] The wrong kanji
- References: <4CFD161A.9090503@example.com> <AANLkTimLd+UHpNe3TPMb0cv48R+564DS3mZHfqDfY2Vx@example.com> <4CFEFC4E.8070505@example.com> <AANLkTi=9poUGXphtR9NuMok7hzYRfJThX0ia0UFrGbGU@example.com> <4D007503.70309@example.com> <AANLkTi=s=_HKDWNsEwHKOyW4cbE=AQMRQR9CuH313-YO@example.com> <AANLkTikyEJLqhD4_oQtMgBrnM1yXNwU3pDK_CwYswEQG@example.com>
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
Back in December '10 Travis wrote: > I confirmed that all `fontconfig-voodoo -s ja_JP` does is make a single symlink: > /etc/fonts/conf.avail/69-langauge-selector-ja-jp.conf -> > /etc/fonts/conf.d/69-langauge-selector-ja-jp.conf > > This file creates strong associations to Japanese fonts for generic > font families, making them take priority over the Chinese fonts. The > associations, however, have a test that makes sure that your locale is > a Japanese one. If you remove these conditions (see the diff at the > bottom of this message), then it makes the Japanese fonts take > priority regardless of the locale. I did this (made a file called /etc/fonts/conf.avail/69-language-selector-ja-jp.all_locale.conf and linked it into conf.d), and it seems to have done the trick. E.g. viewing this in firefox (*): http://ja.wikipedia.org/wiki/%E4%BC%9A%E7%A4%BE it now shows the correct kanji in both title and body. Thanks! Darren *: I closed and opened firefox again, but no need to log off or reboot. > $ git --no-pager diff > --- a/etc/fonts/conf.avail/69-language-selector-ja-jp.conf > +++ b/etc/fonts/conf.avail/69-language-selector-ja-jp.conf > @@ -3,9 +3,6 @@ > <fontconfig> > <!-- Japanese (ja) --> > <match target="pattern"> > - <test name="lang" compare="contains"> > - <string>ja</string> > - </test> > <test qual="any" name="family"> > <string>serif</string> > </test> > @@ -21,9 +18,6 @@ > </match> > > <match target="pattern"> > - <test name="lang" compare="contains"> > - <string>ja</string> > - </test> > <test qual="any" name="family"> > <string>sans-serif</string> > </test> > @@ -41,9 +35,6 @@ > </match> > > <match target="pattern"> > - <test name="lang" compare="contains"> > - <string>ja</string> > - </test> > <test qual="any" name="family"> > <string>monospace</string> > </test> >
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Suggestions for a smartphone with an SSH client?
- Next by Date: [tlug] Suggestions for a smartphone with an SSH client?
- Previous by thread: [tlug] PC Donations and wireless card/usb dongle plea
- Next by thread: Re: [tlug] The wrong kanji [SOLVED]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links