https://bugzilla.redhat.com/show_bug.cgi?id=1784650
Bug ID: 1784650
Summary: Fontconfig is slow, causing stuttering and freezing
Product: Fedora
Version: 31
Status: NEW
Component: fontconfig
Severity: high
Assignee: tagoh(a)redhat.com
Reporter: bepvte+bugzilla(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: ajax(a)redhat.com, caillon+fedoraproject(a)gmail.com,
fonts-bugs(a)lists.fedoraproject.org,
gnome-sig(a)lists.fedoraproject.org,
i18n-bugs(a)lists.fedoraproject.org,
john.j5live(a)gmail.com, mclasen(a)redhat.com,
pnemade(a)redhat.com, rhughes(a)redhat.com,
rstrode(a)redhat.com, sandmann(a)redhat.com,
tagoh(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
Fontconfig is much much slower than on other distros, and it stutters or
freezes applications that use it.
Version-Release number of selected component (if applicable):
Name : fontconfig
Version : 2.13.92
Release : 3.fc31
Architecture: x86_64
How reproducible:
I can reproduce this bug on a fresh Fedora 31 vm with the Xfce desktop and
google-noto-sans-* fonts installed.
Steps to Reproduce:
1. dnf install google-noto-sans-*
2. run gedit on the attached example file
alternatively
1. dnf install google-noto-sans-*
2. open firefox and browse to https://www.wikidata.org/wiki/Q52 (page with lots
of languages)
Actual results:
It takes around 60 seconds for gedit to become responsive to scrolling and
input. Mousepad is faster but still slow.
It takes firefox upwards of 5 minutes to get to first paint on a page with many
fonts or languages, compared to a simpler page.
Expected results:
Gedit should load files with many fonts at a similar speed as other distros.
The page should load quickly, like on Debian and others.
Additional info:
I have tried to diagnose the source of this issue in many ways.
Running `perf trace` on what sysprof indicated was the most busy function
(FcStrCmpIgnoreCaseAndDelims), shows that every name of every font family is
being compared to every other name of every other font family. I do not know if
this is a normal behaviour of fontconfig.
I have noticed the amount of calls to "FcStrCmpIgnoreCaseAndDelims" and program
startup time both drop to a similar amount as Debian's when all of the
"google-noto" configuration files in /etc/fonts/conf.d/ are deleted (These
files are not present in Debian). However, this might not be the source of the
problem:
In the Debian vm, with a copy of my computer's /etc/fonts/, including the
google-noto files, (I took care to ensure that there would be no broken
symlinks) and /usr/share/fonts, fontconfig does not stall any programs. The
amount of calls to FcStrCmpIgnoreCaseAndDelims is also much lower as well.
This led me to believe that it was a difference caused by compiler flags but
this does not seem to be the case. I tried to replace the optflags in the
package, except for the rpmbuild required debug ones, and found no difference.
I also checked to ensure that it was not caused by GCC version differences.
Debian results for mousepad:
1,845,449 calls to FcStrCmpIgnoreCaseAndDelims
Time: 5 seconds
Fedora results for mousepad:
11,658,380 calls to FcStrCmpIgnoreCaseAndDelims
Time: 23 seconds
https://perfht.ml/2tleJxN
Here is a link to a Firefox profiler result of the wikidata page, where in the
flame graph you can see that Firefox is spending most of its time in
fontconfig. You can also see "FirstNonBlankPaint" is at 50 seconds in the
marker table.
TLDR: Fontconfig matching is slow with all google-noto fonts installed, unless
you remove the noto config files. Using the same exact font directory and
config directory (including the noto config files) on Debian does not cause the
same problem.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1938091
Bug ID: 1938091
Summary: Kasumi-unicode: Check for only hiragana letters in
reading column fails as user can input non-hiragana
characters in it.
Product: Fedora
Version: 34
Status: NEW
Component: kasumi
Keywords: i18n
Assignee: tagoh(a)redhat.com
Reporter: bbarve(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: i18n-bugs(a)lists.fedoraproject.org, tagoh(a)redhat.com
Target Milestone: ---
Classification: Fedora
Created attachment 1762901
--> https://bugzilla.redhat.com/attachment.cgi?id=1762901&action=edit
kasumi unicode non-hiragana letters
Description of problem: In the kasumi-unicode dict, there is a message which
pops-up if user tries to input non-hiragana characters like kanji or katakana.
However this check is not consistent as user can input other non-hiragana input
like English words, letters, numbers etc. This can be done using any mode in
Anthy like hiragana or direct input. Attaching screenshot for reference.
Version-Release number of selected component (if applicable):
Fedora 34
kasumi-unicode-2.5.33.fc34
How reproducible:
always
Steps to Reproduce:
1. Run /usr/bin/kasumi-unicode from terminal
2. click on add
3. add a jpn word in any script under first column i.e. words
4. hit tab and enter to input in the second column i.e. reading
5. In hiragana mode, input 'k' and hit enter
6. click on save.
Actual results:
user is ablke to input non-hiragana input in reading column
Expected results:
The check for non-hiragana input should be consistent.
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2016613
--- Comment #47 from Jiri Konecny <jkonecny(a)redhat.com> ---
Copying this message from ticket
https://pagure.io/fedora-qa/blocker-review/issue/577 -- seems to be missed
there.
Hi everyone,
I guess we are in the situation that we have to decide about the solution here.
There are two ways to "solve" this which I'm able to find out.
One is to disconnect keyboard control between Live system and Anaconda. So
Anaconda will handle after installation keyboard configuration and Live will
handle current Live.
- this will solve the current bug issue
- could be confusing to people
- it's not really a fix
Another solution is to leave it as it is. I know it's broken but AFAIK there is
no fix in the Anaconda project to solve this. In general there is no fix I
could create which would not be additional work for Live maintainers.
- not a solution
- not really sure if this is worse or better solution than the above
I honestly don't mind about any of these solution but I would like to know your
input if you think it's better to fix this or not. My personal preference is to
go with the second option, it's less disruptive for people who use English for
the installation.
Also if we are going with the first fix. Do we want to use this for all the
Wayland systems or just KDE where it's currently the biggest issue?
P.S.: I think there could be a better solution in general but that is more
about F38+ it would be a bigger change on more than just Anaconda but could
improve the overall experience for Live maintainers and Anaconda. The solution
is in discussion with all the required parties and I have ACK from them that
it's doable and they are fine to do that. I'll contact Fedora community but
this is not a correct place to do that.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2016613
https://bugzilla.redhat.com/show_bug.cgi?id=683325
Cristian Ciupitu <cristian.ciupitu(a)yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|34 |35
--- Comment #34 from Cristian Ciupitu <cristian.ciupitu(a)yahoo.com> ---
It's still happening with pidgin-2.14.6-2.fc35.x86_64
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=683325
https://bugzilla.redhat.com/show_bug.cgi?id=2035841
Bug ID: 2035841
Summary: Please build nkf for EPEL 9
Product: Fedora EPEL
Version: epel9
Hardware: All
OS: Linux
Status: NEW
Component: nkf
Severity: medium
Assignee: tagoh(a)redhat.com
Reporter: redhat-bugzilla(a)linuxnetz.de
QA Contact: extras-qa(a)fedoraproject.org
CC: i18n-bugs(a)lists.fedoraproject.org, tagoh(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
Please build nkf for EPEL 9, because it's a dependency of the w3m package.
Version-Release number of selected component (if applicable):
nkf-2.1.4-22.fc35
Actual results:
No nkf in EPEL 9.
Expected results:
nkf-2.1.4-22.el9 - or better ;-)
Additional info:
Please let me know if you are not interested in maintaining the package on EPEL
9 branch.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2035841
https://bugzilla.redhat.com/show_bug.cgi?id=2016613
--- Comment #45 from Lukas Ruzicka <lruzicka(a)redhat.com> ---
Ok, I also have another, yet not a beautiful solution.
What if Anaconda provided an overlay graphical keyboard (or perhaps a character
table) that would allow to choose special characters using users' mice?
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2016613
https://bugzilla.redhat.com/show_bug.cgi?id=2016613
--- Comment #42 from Michael Catanzaro <mcatanza(a)redhat.com> ---
I think GNOME could live with this as long as anaconda gets the default
keyboard layout to use from localed instead of just assuming en_US. That would
allow us to pass along the correct keyboard layout from gnome-initial-setup to
anaconda via localed.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2016613