fschutt / rust-fontconfig

Pure-Rust rewrite of the Linux fontconfig library (no system dependencies) - using ttf-parser and allsorts
MIT License
39 stars 8 forks source link

Return all fonts that match the query, instead of only the first. #11

Closed zedseven closed 7 months ago

zedseven commented 7 months ago

This allows the user to do their own filtering after the query.

zedseven commented 7 months ago

This will be a breaking change, once merged, since it affects the public API.

fschutt commented 7 months ago

I've migrated it to query (find the first font) and query_all (finds all fonts) in the 0.1.7 release

zedseven commented 7 months ago

Makes sense to me!