@Mitsuya Shibata: Well, yes it *affects* Japanese fonts too, but it
makes no sense that *this change* would increase the risk of picking
Chinese glyphs under a Japanese locale.

OTOH, if I start Firefox with:

env LC_CTYPE=ja_JP.UTF-8 firefox

the default sans-serif font for me according to FF Settings is Droid
Sans Fallback!! That might have something to do with it.

I see now that the fonts-droid-fallback package is shipped on the ISO
(did we simply forget to drop it?). So as a test, can you please
uninstall that package:

sudo apt purge fonts-droid-fallback

and let us know if it makes a difference.

In any case I think there is a need to reconsider the default font
configuation for Japanese. The
/usr/share/fontconfig/conf.avail/70-fonts-noto-cjk.conf file includes:

    <match target="pattern">
        <test name="lang">
            <string>ja</string>
        </test>
        <test name="family">
            <string>sans-serif</string>
        </test>
        <edit name="family" mode="prepend">
            <string>Noto Sans CJK JP</string>
        </edit>
    </match>

while the Chinese equivalents have:

        <edit name="family" mode="prepend" binding="strong">

So, Mitsuya Shibata, it would be great if you could submit a new bug
where we can focus on the Japanese font configuration. The
reconsideration would probably affect multiple packages, but language-
selector may be a proper affected package to start with.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/2017076

Title:
  default Chinese font in snap apps is ugly

Status in Snappy:
  Fix Released
Status in fontconfig package in Ubuntu:
  Invalid
Status in language-selector package in Ubuntu:
  Invalid

Bug description:
  After installs Ubuntu 23.04 with Chinese language selected, the
  default font is chosen to AR PL UMing CN, which is very ugly.

  ProblemType: Bug
  DistroRelease: Ubuntu 23.04
  Package: fontconfig 2.14.1-3ubuntu3
  ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
  Uname: Linux 6.2.0-20-generic x86_64
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CloudArchitecture: x86_64
  CloudID: none
  CloudName: none
  CloudPlatform: none
  CloudSubPlatform: config
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Apr 20 14:18:45 2023
  InstallationDate: Installed on 2023-04-20 (0 days ago)
  InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
  ProcEnviron:
   LANG=zh_CN.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: fontconfig
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/2017076/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to