8 releases (4 breaking)
0.6.0 | Apr 10, 2024 |
---|---|
0.4.0 | Jul 29, 2020 |
0.3.1 | Mar 18, 2019 |
0.3.0 | Nov 6, 2018 |
0.1.0 | May 26, 2015 |
#587 in Text processing
715 downloads per month
Used in 5 crates
(2 directly)
2MB
47K
SLoC
HarfBuzz is a text shaping engine. It solves the problem of selecting and positioning glyphs from a font given a Unicode string.
This crate provides a higher level API (than the raw C bindings).
Features
-
freetype
- Enables bindings to the FreeType font engine. (Enabled by default.) -
coretext
- Enables bindings to the CoreText font engine. (Apple platforms only) (Enabled by default.) -
directwrite
- Enables bindings to the DirectWrite font engine. (Windows only) (Enabled by default.) -
bundled
- Use the bundled copy of the harfbuzz library rather than one installed on the system.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Contributions are welcome by pull request.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.