Bug 2184872 - User installed Japanese fonts override system fonts when substituting glyphs
Summary: User installed Japanese fonts override system fonts when substituting glyphs
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fontconfig
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-06 04:34 UTC by bztdlinux
Modified: 2024-03-27 04:25 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-27 08:30:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description bztdlinux 2023-04-06 04:34:06 UTC
Description of problem:
When installing a Japanese font locally (using gnome font viewer, which effectively copies to ~/.local/share/fonts/), with the default fontconfig, all kana in the system uses that font.

However, it only affects certain applications. Firefox (rpm) and Inkscape (flatpak) is affected, but gwrite is not.

Version-Release number of selected component (if applicable):
fontconfig-2.14.0-3.fc37.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Download the following font: http://font.sumomo.ne.jp/fontdata-c2157415/k-font.zip
2. Unzip and install by double-clicking the font in nautilus and clicking install.
3. Restart Firefox or Inkscape and paste "です” in a field with sans-serif or system-ui font

Actual results:
Text appears with the new font

Expected results:
Text appears with the normal system font

Additional info:
Running pango-view, e.g. the following, works fine and selects a reasonable font (Droid Sans Japanese):
FC_DEBUG=4 pango-view --font="system-ui" -t です | grep family

Comment 1 Akira TAGOH 2023-05-30 10:41:19 UTC
Well, it seems the dead link.  What's the family name in that font?

If you are sure it happens with system-ui generic alias and then result is different between fc-match and applications, you should report it to those applications first.
Strictly speaking, they may have more additional parameters to query a font. you may need to try it in the same condition. otherwise the result could be different.

Comment 2 Akira TAGOH 2023-10-30 08:32:12 UTC
Does this still happen on f38 or f39? there are nothing detailed information to take a look at this. it is quite hard to fix.  This may be closed shortly otherwise.

Comment 3 Aoife Moloney 2023-11-23 01:38:10 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Akira TAGOH 2023-11-27 08:30:18 UTC
Please reopen if you still see this issue. Thanks.

Comment 5 Red Hat Bugzilla 2024-03-27 04:25:08 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.