Public bug reported:

Binary package hint: language-selector

This report is proxy-ed from
https://forums.ubuntulinux.jp/viewtopic.php?id=11207 , thank you for
original reporters.

In Natty with Japanese locales, fontconfig-voodoo -a does not create
69-language-selector-ja-jp.conf in some situation. That works in maverick.

Notes: This bug seems reproducical in ko_KR.  But zh_CN/zh_TW/zh_HK
seems fine.

-------------------------------------------------------------------------
How to reproduce:
1) Install natty with Japanese language.
2) Open language-selector
  (e.g.: Type Alt+F2 and "gnome-language-selector")
3) exec:
 sudo rm /etc/fonts/conf.d/69-language-selector-ja-jp.conf
4) exec:
 sudo fontconfig-voodoo -a

Actual result:
 /etc/fonts/conf.d/69-language-selector-ja-jp.conf is not created.

Expected/mavericks result:
 /etc/fonts/conf.d/69-language-selector-ja-jp.conf is created.

Workaround:
 exec:
$ sudo fontconfig-voodoo -s ja_JP
-------------------------------------------------------------------------
Second face of this bug:
This behavior cause some side effects (probably critical for
non-geeky users).

1) Install natty with Japanese language.
2) Open language-selector
  (e.g.: Type Alt+F2 and "gnome-language-selector")
5) in "Language for menus and windows:" list,
   set Japanese(日本語) as your non-primary(such as 2nd of list).
6) Push [Apply System-Wide] button, and close language-selector
7) check /etc/fonts/conf.d/69-language-selector-ja-jp.conf ,
   /etc/fonts/conf.d/69-language-selector-ja-jp.conf is erased.
   This is expected behavior, but...
8) re-open language-selector
9) in "Language for menus and windows:" list,
   set Japanese(日本語) as your primary(top of list).
10) Push [Apply System-Wide] button, and close language-selector
11) check /etc/fonts/conf.d/69-language-selector-ja-jp.conf ,
    /etc/fonts/conf.d/69-language-selector-ja-jp.conf is not created....

So, that erase 69-language-selector-ja-jp.conf , and could not recoverable
with language-selector.
---------------------------------------------------------------------------
Im my grasp, look at affection through the lens of /etc/fonts/conf.d/,
"fontconfig-voodoo -a" same as "fontconfig-voodoo -s ja_JP".
But "fontconfig-voodoo -s ja_JP" works fine, may be something went
wrong in fontconfig-voodoo -a codes.

related configs are:

$ grep 'ja:' /usr/share/language-selector/data/langcode2locale
ja:ja_JP

$ cat /var/lib/locales/supported.d/ja
ja_JP.UTF-8 UTF-8

$ cat /var/lib/locales/supported.d/local
ja_JP.UTF-8 UTF-8
en_US.UTF-8 UTF-8

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: language-selector (not installed)
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Sat May  7 13:28:07 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110413)
ProcEnviron:
 LANGUAGE=ja:en
 LANG=ja_JP.UTF-8
 SHELL=/bin/bash
SourcePackage: language-selector
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: language-selector (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 natty

** Description changed:

  Binary package hint: language-selector
  
  This report is proxy-ed from
  https://forums.ubuntulinux.jp/viewtopic.php?id=11207 , thank you for
  original reporters.
  
- In Natty with Japanese locales, fontconfig-voodoo -a does not create 
+ In Natty with Japanese locales, fontconfig-voodoo -a does not create
  69-language-selector-ja-jp.conf in some situation. That works in maverick.
  
- Notes: This bug seems reproducical in ko_KR. But zh_CN/zh_TW/zh_HK
+ Notes: This bug seems reproducical in ko_KR.  But zh_CN/zh_TW/zh_HK
+ seems fine.
  
  -------------------------------------------------------------------------
  How to reproduce:
  1) Install natty with Japanese language.
- 2) Open language-selector 
-   (e.g.: Type Alt+F2 and "gnome-language-selector")
+ 2) Open language-selector
+   (e.g.: Type Alt+F2 and "gnome-language-selector")
  3) exec:
-  sudo rm /etc/fonts/conf.d/69-language-selector-ja-jp.conf
+  sudo rm /etc/fonts/conf.d/69-language-selector-ja-jp.conf
  4) exec:
-  sudo fontconfig-voodoo -a
+  sudo fontconfig-voodoo -a
  
  Actual result:
-  /etc/fonts/conf.d/69-language-selector-ja-jp.conf is not created.
+  /etc/fonts/conf.d/69-language-selector-ja-jp.conf is not created.
  
  Expected/mavericks result:
-  /etc/fonts/conf.d/69-language-selector-ja-jp.conf is created.
+  /etc/fonts/conf.d/69-language-selector-ja-jp.conf is created.
  
  Workaround:
-  exec:
+  exec:
  $ sudo fontconfig-voodoo -s ja_JP
  -------------------------------------------------------------------------
  Second face of this bug:
  This behavior cause some side effects (probably critical for
- non-geeky users). 
+ non-geeky users).
  
  1) Install natty with Japanese language.
- 2) Open language-selector 
-   (e.g.: Type Alt+F2 and "gnome-language-selector")
- 5) in "Language for menus and windows:" list, 
-    set Japanese(日本語) as your non-primary(such as 2nd of list).
+ 2) Open language-selector
+   (e.g.: Type Alt+F2 and "gnome-language-selector")
+ 5) in "Language for menus and windows:" list,
+    set Japanese(日本語) as your non-primary(such as 2nd of list).
  6) Push [Apply System-Wide] button, and close language-selector
- 7) check /etc/fonts/conf.d/69-language-selector-ja-jp.conf , 
-    /etc/fonts/conf.d/69-language-selector-ja-jp.conf is erased.
-    This is expected behavior, but...
+ 7) check /etc/fonts/conf.d/69-language-selector-ja-jp.conf ,
+    /etc/fonts/conf.d/69-language-selector-ja-jp.conf is erased.
+    This is expected behavior, but...
  8) re-open language-selector
- 9) in "Language for menus and windows:" list, 
-    set Japanese(日本語) as your primary(top of list).
+ 9) in "Language for menus and windows:" list,
+    set Japanese(日本語) as your primary(top of list).
  10) Push [Apply System-Wide] button, and close language-selector
  11) check /etc/fonts/conf.d/69-language-selector-ja-jp.conf ,
-     /etc/fonts/conf.d/69-language-selector-ja-jp.conf is not created....
+     /etc/fonts/conf.d/69-language-selector-ja-jp.conf is not created....
  
- So, that erase 69-language-selector-ja-jp.conf , and could not recoverable 
+ So, that erase 69-language-selector-ja-jp.conf , and could not recoverable
  with language-selector.
  ---------------------------------------------------------------------------
- Im my grasp, look at affection through the lens of /etc/fonts/conf.d/, 
- "fontconfig-voodoo -a" same as "fontconfig-voodoo -s ja_JP". 
- But "fontconfig-voodoo -s ja_JP" works fine, may be something went 
+ Im my grasp, look at affection through the lens of /etc/fonts/conf.d/,
+ "fontconfig-voodoo -a" same as "fontconfig-voodoo -s ja_JP".
+ But "fontconfig-voodoo -s ja_JP" works fine, may be something went
  wrong in fontconfig-voodoo -a codes.
  
  related configs are:
  
- $ grep 'ja:' /usr/share/language-selector/data/langcode2locale 
+ $ grep 'ja:' /usr/share/language-selector/data/langcode2locale
  ja:ja_JP
  
- $ cat /var/lib/locales/supported.d/ja 
+ $ cat /var/lib/locales/supported.d/ja
  ja_JP.UTF-8 UTF-8
  
  $ cat /var/lib/locales/supported.d/local
  ja_JP.UTF-8 UTF-8
  en_US.UTF-8 UTF-8
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: language-selector (not installed)
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Sat May  7 13:28:07 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110413)
  ProcEnviron:
-  LANGUAGE=ja:en
-  LANG=ja_JP.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=ja:en
+  LANG=ja_JP.UTF-8
+  SHELL=/bin/bash
  SourcePackage: language-selector
  UpgradeStatus: No upgrade log present (probably fresh install)

** Tags removed: unity-2d

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

Title:
  [natty] fontconfig-voodoo -a does not work in Japanese locales

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

Reply via email to