Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange behaviour on Noto fonts. #404

Open
EmmanuelCharpentier opened this issue Dec 24, 2024 · 3 comments
Open

Strange behaviour on Noto fonts. #404

EmmanuelCharpentier opened this issue Dec 24, 2024 · 3 comments

Comments

@EmmanuelCharpentier
Copy link

Setup :

Debian testing, font-manager part of Gnome's standard installation. Among fonts :

charpent@zen-book-flip:~$ dpkg -l "*noto*"
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=att>
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                    Version      Architecture Description
+++-======================-============-============-==========================>
un  fonts-noto             <aucune>     <aucune>     (aucune description n'est >
un  fonts-noto-cjk-extra   <aucune>     <aucune>     (aucune description n'est >
ii  fonts-noto-color-emoji 2.047-1      all          color emoji font from Goog>
ii  fonts-noto-core        20201225-2   all          "No Tofu" font families wi>
ii  fonts-noto-extra       20201225-2   all          "No Tofu" font families wi>
rc  fonts-noto-hinted      20181227-1   all          obsolete metapackage to pu>
ii  fonts-noto-mono        20201225-2   all          "No Tofu" monospaced font >
ii  fonts-noto-ui-core     20201225-2   all          "No Tofu" font families wi>
un  fonts-noto-unhinted    <aucune>     <aucune>     (aucune description n'est >

Symptoms :

Various problems when trying to enable/disable some of the Noto fonts (extremely long time of unresponsivity after enabling one font, failure to disable a group of fonts, etc...

When staring font-manager from the command line, I see this :

charpent@zen-book-flip:~$ font-manager 

(font-manager:1657725): [font-manager]-CRITICAL **: 06:10:11.484: font_manager_get_matching_families_and_fonts: assertion 'error == NULL || *error == NULL' failed

(font-manager:1657725): [font-manager]-WARNING **: 06:10:11.484: Disabled.vala:46: Database Error : (SELECT DISTINCT family, description FROM Fonts WHERE family=""Noto";) [1] - near "Noto": syntax error

These two errors appear repeatedly after attempts to act on Noto fonts.

Another (possibly related) problem is that I cannot list the variants of these fonts by clicking on the "right arrowhead" in the list of fonts.

Deleting a spurious ~/.local/share/fonts/Google\ Fonts/ directory which used to contain (a second copy of) Noto\ Sans\ Math/Noto_Sans_Math-Regular.15.ttf (predating my installation of Debian's font-noto-core package) and regenerating both user and system caches with fc-cache -rv didn't fix the problem.

System Information

  • OS: Debian testing, as of 2024-12-24
  • Desktop Environment : GNOME/.
  • Font Manager version : as packaged in Devian's font-manager package 0.9.0-5
  • Font Manager installation method : Debian's apt fools.
@JerryCasiano
Copy link
Contributor

Looks like it might be related to #395

Not sure where our database queries are getting mangled but starting to suspect locale issues.

Can you post the output from locale on your system please.

@EmmanuelCharpentier
Copy link
Author

Can you post the output from locale on your system please.

charpent@zen-book-flip:~$ locale
LANG=fr_FR.UTF-8
LANGUAGE=
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=
charpent@zen-book-flip:~$ 

HTH,

@JerryCasiano
Copy link
Contributor

Nah. Unfortunately it doesn't appear to be related to locale settings.

Another user with similar issues has system set to US English.

Back to the drawing board...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants