Public bug reported:

I saw lots of errors during application startups:

```
Fontconfig warning: "/etc/fonts/conf.avail/40-generic.conf", line 27: Having 
multiple <family> in <alias> isn't supported and may not work as expected
..
Fontconfig warning: "/etc/fonts/conf.avail/40-generic.conf", line 50: Having 
multiple <family> in <alias> isn't supported and may not work as expected
..
Fontconfig warning: "/etc/fonts/conf.avail/40-generic.conf", line 66: Having 
multiple <family> in <alias> isn't supported and may not work as expected
..
```

So I went Googling and found this forum from 2015: 
https://forum.tinycorelinux.net/index.php/topic,18006.0/
Which links to this page: 
http://www.cromwell-intl.com/linux/font-config-warnings.html
Which is now at: https://cromwell-intl.com/open-source/font-config-warnings.html

It proposes a fix. Of course you *may* apply it.

But I went looking further, if I could report this to the original
fontconfig source.

And there I found for fontconfig 2.4.92 (6 November 2007):
https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/NEWS#L2129

"Split 40-generic.conf into 40-nonlatin.conf and 45-latin.conf"

== What to do: ==

So maybe just remove 40-generic.conf from the package, and keep using
40-nonlatin.conf and 45-latin.conf

Just saying, but there's two more errors that I'm seeing. Maybe they
have a similar simple solution.

```
Fontconfig warning: "/etc/fonts/conf.avail/29-language-selector-ja-jp.conf", 
line 55: Having multiple values in <test> isn't supported and may not work as 
expected
Fontconfig warning: "/etc/fonts/conf.avail/29-language-selector-zh.conf", line 
8: Having multiple values in <test> isn't supported and may not work as expected
```

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: fontconfig-config 2.13.1-4.2ubuntu5
ProcVersionSignature: Ubuntu 6.5.0-41.41~22.04.2-generic 6.5.13
Uname: Linux 6.5.0-41-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Jul 23 13:46:54 2024
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=nl_NL.UTF-8
 SHELL=/bin/bash
SourcePackage: fontconfig
UpgradeStatus: Upgraded to jammy on 2023-07-23 (366 days ago)
mtime.conffile..etc.fonts.conf.avail.40-generic.conf: 2024-07-23T13:35:56

** Affects: fontconfig (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

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

Title:
  fontconfig-config's 40-generic.conf is a legacy file since 2007
  (please update)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/2073876/+subscriptions


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

Reply via email to