alexmyczko / fnt

apt for fonts, the missing font manager for macOS/linux
Other
489 stars 20 forks source link

Provide metadata for fonts #17

Open tintou opened 3 years ago

tintou commented 3 years ago

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.

alexmyczko commented 3 years ago

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 commented 3 years ago

@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?

tintou commented 3 years ago

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 commented 3 years ago

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.

alexmyczko commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

alexmyczko commented 1 year ago

The problem with AppStream is it is from freedesktop.org only for GNOME. And Linux. But the world (or Internet), is not only made of that. There is also macOS and that other OS (that you have to pay for)…

AppStream by fd.o is made by someone who was at Red Hat in 2000. And it is 23 years later nowhere near useful.