sghtmltopdf 0.6.1

HTML to PDF renderer that does not depend on Chromium, WebKit or Gecko
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Font loading and shaping (harfrust/skrifa).

mod collection;
mod color;
mod face;
mod font;
mod shape;
mod system;

pub use collection::FontCollection;
pub use color::{ColorBitmap, ColorGlyph, ColorLayer};
pub use face::{load_font_faces, LoadedFontFace};
pub use font::{warn_font_cannot_render, BoundingBox, Font, FontLoadError};
pub use shape::{measure_text, shape_text, ShapedGlyph, ShapedText};
pub use system::{
    ensure_cjk_fallback_font, load_fonts_for_uncovered_chars, load_missing_system_fonts,
    warn_uncovered_chars, SystemFonts,
};