I actually looked at this thread 
(https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/36761)
because simply turning the default language sacrifices the font smoothing or 
font rendering.

What I did was, I created ~/.fonts.conf as mentioned above by copying 
69-language-selector-ja-jp.conf.
I then added DejaVu fonts into fonts.conf as the first font setting for all 
three sections in the file, and I also added the following code (taken from the 
other thread linked above):
<fontconfig>
 <match target="font">
  <test name="lang" compare="contains">
   <string>ja</string>
  </test>
  <edit name="embeddedbitmap" mode="assign">
   <bool>false</bool>
  </edit>
  <edit name="autohint" mode="assign">
   <bool>true</bool>
  </edit>
  <edit name="antialias" mode="assign">
   <bool>true</bool>
  </edit>
  <edit name="hintstyle" mode="assign">
   <const>hintnone</const>
  </edit>
 </match>
</fontconfig>

I attached my .fonts.conf which maintains the good Latin characters as
well as Japanese characters (both fonts are smoothed and anti-aliased).

** Attachment added: "fonts.txt"
   http://launchpadlibrarian.net/34027632/fonts.txt

-- 
Japanese font switching issue
https://bugs.launchpad.net/bugs/219931
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to