8 releases

0.5.6 Jan 25, 2024
0.5.3 Aug 2, 2023
0.5.2 Feb 5, 2023
0.5.1 Oct 22, 2022
0.5.0 Oct 31, 2021

#241 in Parser implementations

Download history 20158/week @ 2024-02-15 19487/week @ 2024-02-22 17050/week @ 2024-02-29 18728/week @ 2024-03-07 18548/week @ 2024-03-14 19499/week @ 2024-03-21 18203/week @ 2024-03-28 16439/week @ 2024-04-04 16980/week @ 2024-04-11 17742/week @ 2024-04-18 18380/week @ 2024-04-25 21042/week @ 2024-05-02 21385/week @ 2024-05-09 20227/week @ 2024-05-16 18277/week @ 2024-05-23 15661/week @ 2024-05-30

79,284 downloads per month
Used in 19 crates (3 directly)

MIT license

125KB
4K SLoC

Bitbake 2.5K SLoC Rust 1.5K SLoC // 0.0% comments Shell 4 SLoC

fontconfig-parser

This crate provide parsing fontconfig file but not yet complete all features

see https://www.freedesktop.org/software/fontconfig/fontconfig-user.html for more detail infomation of fontconfig file

Example

use fontconfig_parser::FontConfig;

let mut config = FontConfig::default();

config.merge_config("/etc/fonts/fonts.conf").unwrap();

License: MIT


lib.rs:

This crate provide parsing fontconfig file but not yet complete all features

see https://www.freedesktop.org/software/fontconfig/fontconfig-user.html for more detail infomation of fontconfig file

Example

use fontconfig_parser::FontConfig;

let mut config = FontConfig::default();

config.merge_config("/etc/fonts/fonts.conf").unwrap();

Dependencies

~165–365KB