#font #true-type #opentype

font-enumeration

Simple cross-platform font enumeration

1 unstable release

0.9.0 Jul 26, 2024

#4 in #truetype


Used in font-info

MIT/Apache

21KB
391 lines

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.

Dependencies

~0.3–5.5MB
~21K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy