fnt icon indicating copy to clipboard operation
fnt copied to clipboard

Provide metadata for fonts

Open tintou opened this issue 3 years ago • 8 comments

The AppStream specification is providing a metadata standard for fonts, this allow them to be available in Application Software Managers (like GNOME Shell, elementary AppCenter or KDE Discover). It would be freat if fnt would create such metadata to easily be able to install them.

tintou avatar May 05 '21 19:05 tintou

Here is a basic version of an appstream generator, https://sid.ethz.ch/appstream/ to be used with debian packaging of the debian fonts team.

alexmyczko avatar May 19 '21 08:05 alexmyczko

@tintou I don't think the metadata alone lets the application software manager to install the fonts, can you prove otherwise? what system do you use? distribution/release?

alexmyczko avatar Oct 08 '21 13:10 alexmyczko

The application software can't let install you the fonts unless they are distributed as a package for your distribution (for now). Having each font providing an appstream data would allow you to have a listing of the fonts with their associated package. For instance that's how it looks in Debian: https://people.debian.org/~mak/DEP-11/DEP-11_Components.yaml (notice the Packages: line which allows the application store to know which package to install)

tintou avatar Oct 08 '21 14:10 tintou

For instance, flatpak provides a standard location where it automatically downloads the "remote" AppStream data so that appcenters can then show the same data as if it would have come from the distribution repository. It is then up to the appcenter to give back the id to flatpak at installation time. A similar tiny library could be possible for fnt.

tintou avatar Oct 08 '21 14:10 tintou

I see like a snap, flatpak, apt backend but for fonts only using fnt... i found only C implementations of it: https://packages.debian.org/sid/gnome-software-plugin-snap and it comes with gnome software itself: https://sources.debian.org/src/gnome-software/40.4-1/plugins/snap/

alexmyczko avatar Oct 08 '21 14:10 alexmyczko

using equivs it is easy to create debian packages automatically for all fonts see an early test: https://sid.ethz.ch/debian/fonts-equivs/

alexmyczko avatar Oct 11 '21 12:10 alexmyczko

all? google webfonts as rpm and deb packages at http://bootes.ethz.ch/fonts/, see the example http://bootes.ethz.ch/fonts/?fraunces

alexmyczko avatar Oct 12 '21 10:10 alexmyczko