rust-font-loader
rust-font-loader copied to clipboard
A font loading utility written in rust.
When i build a example cod if print this ``` bash Fontconfig warning: line 5: unknown element "its:rules" Fontconfig warning: line 6: unknown element "its:translateRule" Fontconfig error: line 6: invalid...
@vvuk wrote Rust bindings for [DirectWrite](https://github.com/vvuk/dwrote-rs) which some applications use internally, e.g. WR/Servo. Currently, we're using wingdi for font enumeration, but DirectWrite has an interoperabillity interface for wingdi, but this...
Get information about the font when loading it, such as name, file path, etc. All the information provided by fontconfig or its macos/windows counterparts should be there. If you like,...
Hi, Thanks for the great crate, I used this to load system fonts for my crate Plotters. Recently we've added a feature that supports generic font families like serif, serif-sans...
If you want to select a number of fonts of the same family this lets you write: ```rust let regularFont = system_fonts::FontPropertyBuilder::new().family("Noto Sans"); let italicFont = regularFont.clone().italic(); ``` rather than:...
There are a lot of `unwrap()`s in the code. Proper error handling with Result's would be nice. Happy to provide guidance! Just comment on this issue. Edit: - [ ]...
The font loading and parsing logic is implemented in java. They parse a simple xml file which contains all the infos, so replicating shouldn't be a problem. Parsing by third...
I don't own apple hardware, so i'd be glad if someone could provide guidance for community members on this issue!
`servo-fontconfig` had its latest release over 2 years ago. It's no longer needed by servo itself and prob wont receive any updates soon. It depends on old crates like `freetype-sys...