#fontconfig

fontconfig-parser

fontconfig file parser in pure Rust

6 releases

0.5.2 Feb 5, 2023
0.5.1 Oct 22, 2022
0.5.0 Oct 31, 2021
0.4.1 Oct 30, 2021
0.1.1 Oct 23, 2021

#376 in Parser implementations

Download history 4862/week @ 2023-02-08 4290/week @ 2023-02-15 4253/week @ 2023-02-22 3887/week @ 2023-03-01 3871/week @ 2023-03-08 3726/week @ 2023-03-15 4337/week @ 2023-03-22 3971/week @ 2023-03-29 4019/week @ 2023-04-05 5175/week @ 2023-04-12 4031/week @ 2023-04-19 4919/week @ 2023-04-26 4454/week @ 2023-05-03 3703/week @ 2023-05-10 4043/week @ 2023-05-17 3707/week @ 2023-05-24

16,799 downloads per month
Used in 23 crates (via fontdb)

MIT license

48KB
1.5K 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

~170–385KB