Commit Graph
15 Commits
Author SHA1 Message Date
meehl 6cca05f2f5 Upgrade parley to v0.12 2026-10-21 11:11:02 +02:00
meehl 20a1db073d Lint 2026-09-02 16:37:59 +02:00
meehl 1f5e30ae5a Decouple anchor offset from parley alignment 2026-08-26 17:59:01 +02:00
meehl d217af94c3 Pass scale factor to layout builder.
This means `parley::Layout`'s internal coordinates are now in physical
space.
2026-08-26 17:34:11 +02:00
meehl a678c8148d Clean up glyph rasterization 2026-08-26 14:41:32 +02:00
meehl 963a9ba1d1 Add comments about glyph baseline offset 2026-08-26 11:59:01 +02:00
meehl e6c5ec3d42 Move font style cache into separate file 2026-08-26 11:18:16 +02:00
meehl 8f98a9c8f1 Store size instead of rect for cached glyphs.
Their origin is always at (0.0, 0.0).
2026-08-26 10:24:13 +02:00
meehl a50ea4cdaf Introduce new coordinate space for glyph positions within a layout 2026-08-25 12:11:49 +02:00
meehl 7b925876a5 Cleanup of UV space handling 2026-08-25 10:46:12 +02:00
meehl 8d17f8e64f Use euclid::Scale to convert between physical and logical coord spaces 2026-08-24 23:57:19 +02:00
meehl e20a28fef7 Use layered font atlas.
Add layers instead of growing in height as more and more glyphs are
added. This allows us to return normalized UV coordinates since the
dimensions of each layer stay the same.
2026-08-15 15:49:25 +02:00
meehl e43da1b9e8 Lint 2026-08-12 20:46:43 +02:00
meehl 479b7196cf Add support for "faux italics" 2025-10-30 20:15:02 +01:00
meehl 6e1613f73f Initial commit 2025-10-16 17:00:59 +02:00