font-enumeration

Crates.iofont-enumeration
lib.rsfont-enumeration
version0.9.0
sourcesrc
created_at2024-07-26 13:09:26.556633
updated_at2024-07-26 13:09:26.556633
descriptionSimple cross-platform font enumeration
homepage
repositoryhttps://github.com/tomcur/font-info
max_upload_size
id1316101
size20,256
Tom Churchman (tomcur)

documentation

README

font-enumeration 🗚

Enumerate fonts using system libraries

MIT/Apache 2.0 Crates.io Build status

This is a cross-platform library for enumerating system fonts.

Supported platforms:

  • Unix-like (Fontconfig)
  • Windows (DirectWrite; untested)
  • MacOS (Core Text; untested)

Features and alternatives

This library is for very simple uses, where you're only interested in listing installed fonts, perhaps filtering by family name. The listed fonts include family and font name, file path, and some limited font attributes (style, weight and stretch). It's unlikely this library will grow much beyond this feature set, and its dependency tree will remain small.

Consider using Fontique or font-kit for features like font matching and fallback.

Commit count: 0

cargo fmt