1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! A robust, ergonomic, high performance crate for OpenType fonts.
//!
//! Skrifa is a mid level library that provides access to various types
//! of [`metadata`](meta) contained in a font as well as support for
//! [`scaling`](scale) of glyph outlines.
//!
//! It is described as "mid level" because the library is designed to sit
//! above low level font parsing (provided by [`read-fonts`](https://crates.io/crates/read-fonts))
//! and below a higher level text layout engine.
//!
//! See the [readme](https://github.com/dfrg/fontations/blob/main/skrifa/README.md) for additional
//! details.
// TODO: this is temporary-- remove when hinting is added.
/// Expose our "raw" underlying parser crate.
pub extern crate read_fonts as raw;
pub use NormalizedCoords;
pub use ;
pub use Size;
pub use UniqueId;
/// Type for a glyph identifier.
pub type GlyphId = GlyphId;
/// Type for a 4-byte tag used to identify font tables and other resources.
pub type Tag = Tag;
/// Type for a normalized variation coordinate.
pub type NormalizedCoord = F2Dot14;
pub use MetadataProvider;