On 5/24/22 19:39, Tim via users wrote:
Tim: [re duplicates of some fonts]
That can happen. Different things may provide those fonts.
[tim@rocky ~]$ locate NimbusMonoPS-Bold
/usr/share/fonts/urw-base35/NimbusMonoPS-Bold.afm
/usr/share/fonts/urw-base35/NimbusMonoPS-Bold.otf
/usr/share/fonts/urw-base35/NimbusMonoPS-Bold.t1
Samuel Sieb:
These are different font formats for older applications that can't
read truetype. The only one that should show up in the system fonts
is the .otf file.
That may be. You'd kind of hope that applications get fonts through a
handler in the middle that comes up with a sensible one-of-everything
list.
Though does it preclude a font browser from finding all of them? It
has a bit of a different purpose than the font list in a word
processor.
Newer applications use fontconfig, which is the central font management
system. Checking on my system, the fonts app shows me 3 "Nimbus Mono
PS, Regular" fonts. There's an info button on the top which tells you
which font file it's getting the data from. The 3 files are:
/usr/share/fonts/lilypond/NimbusMonoPS-Regular.otf
/usr/share/fonts/urw-base35/NimbusMonoPS-Bold.otf
/usr/share/fonts/urw-base35/NimbusMonoPS-Bold.t1
So, I was not entirely correct earlier. It will take both the opentype
and the type 1 fonts and doesn't de-duplicate them which is unfortunate.
/usr/share/ghostscript/Resource/Font/NimbusMonoPS-Bold
/usr/share/ghostscript/Resource/Font/NimbusMonoPS-BoldItalic
This is a private directory for GhostScript, not a system font path.
There's nothing here that would cause duplicate fonts to show up.
That rather depends on what you used to explore what fonts you have on
a system, surely? Since ghostscript is a well known thing, it's not
beyond imagination that a font finder might look there.
A font viewer should only use the system font folders and any modern
font viewer will use fontconfig, which won't be looking in random
directories.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure