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

#367 in Parser implementations

Download history 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 18440/week @ 2024-05-30 26371/week @ 2024-06-06 36692/week @ 2024-06-13 33488/week @ 2024-06-20 30834/week @ 2024-06-27

130,168 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–355KB