// Copyright 2018 The Servo Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms.
//! HarfBuzz is a text shaping engine. It solves the problem of selecting //! and positioning glyphs from a font given a Unicode string. //! //! ## 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.) //! - `std` - Enable certain functions that require the standard library. (Enabled by default.) //! //! - `bundled` - Use the bundled copy of the harfbuzz library rather than one installed on the system.
pubuse harfbuzz_sys as sys; pubuse harfbuzz_traits as traits;
/// An error type for this crate #[derive(Debug)] pubenum HarfBuzzError { /// Allocation failed within HarfBuzz itself
Alloc,
} pubuse HarfBuzzError as Error;
mod buffer; pubuseself::buffer::Buffer;
mod direction; pubuseself::direction::Direction;
mod language; pubuseself::language::Language;
mod blob; pubuseself::blob::Blob;
mod unicode_funcs; pubuseself::unicode_funcs::{UnicodeFuncs, UnicodeFuncsBuilder};
mod version; pubuseself::version::{version, version_atleast, version_string};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.