Discoverability of fonts handling a particular code point: How to improve?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Fonts SIG,

Currently there is poor discoverability of what fonts provide a glyph for a particular a code point.

It was recently asked [1] what font package in Fedora is needed to display U+130DF [2].

## Method 1: Download all font packages and use fc-list

One way to determine this would be to install every font package and then issue the following `fc-list` invocation: `fc-list :charset=130DF`:

```sh
sudo dnf repoquery --available --whatprovides 'font(*)' | xargs sudo dnf install -y
fc-list :charset=130DF
```

Aside: Is there a better way to list all font packages than this:

    sudo dnf repoquery --whatprovides 'font(*)' 

## Method 2: Pipe Dream: Declare code points as PROVIDES in the RPM spec

It would be cool if there was somehow a way to declare in the RPM spec of the font RPM what code points this font has glyphs for. Then something like `sudo dnf whatprovdes glyph(130DF)` could be used to discover the fonts that have a glyph for U+130DF.

Probably not feasible, but throwing it out there.

## Method 3: A Fedora website: Fedora Font Showcase

A website could be designed that showcases the fonts Fedora has packaged.

It could include a **search by code point** feature.

A database containing the relationship between font packages and code points could be created using the technique of Method 1. 

## Other ideas?

[1]: https://ask.fedoraproject.org/t/which-font-is-needed-to-display-correctly/27683
[2]: https://www.compart.com/en/unicode/U+130DF
_______________________________________________
fonts mailing list -- fonts@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to fonts-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/fonts@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Font Configuration]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux