Skip to main content

max / shop

532 B · 18 lines History Blame Raw
1 //! wgpu text renderer for shop.
2 //!
3 //! Owns the glyph atlas (guillotiere-allocated R8Unorm wgpu texture) and the
4 //! text pipeline (single draw call per frame batching all glyph quads). Uses
5 //! [swash] for shaping and rasterization — GSUB/GPOS, so ligatures fall out
6 //! naturally when the font supports them.
7
8 mod atlas;
9 mod fallback;
10 mod image;
11 mod metrics;
12 mod pipeline;
13 mod shaper;
14
15 pub use image::{ImagePlacement, ImageRenderer};
16 pub use metrics::CellMetrics;
17 pub use pipeline::{BgFill, CellDraw, CellText, TextRenderer};
18