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
fe9434e4f0
Warm glyph cache for correct scale factor
2026-08-26 16:16:14 +02:00
meehl
f0be43cbdd
Add helper for iterating glyph runs
2026-08-26 15:51:42 +02:00
meehl
a678c8148d
Clean up glyph rasterization
2026-08-26 14:41:32 +02:00
meehl
e6c5ec3d42
Move font style cache into separate file
2026-08-26 11:18:16 +02:00
meehl
a50ea4cdaf
Introduce new coordinate space for glyph positions within a layout
2026-08-25 12:11:49 +02:00
meehl
8d17f8e64f
Use euclid::Scale to convert between physical and logical coord spaces
2026-08-24 23:57:19 +02:00
meehl
8cf5110eb2
Fix trailing whitespaces being ignored by string width query
2026-08-24 09:46:33 +02:00
meehl
3fc87339ca
Refactor draw command recording.
...
Remove distinct draw primitives and unify them into one shared form.
2026-08-15 19:19:55 +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
a2afd2de54
Upgrade parley to v0.11
2026-08-11 23:17:58 +02:00
meehl
479b7196cf
Add support for "faux italics"
2025-10-30 20:15:02 +01:00
meehl
43b20ecd0d
Refactor font loading
2025-10-30 13:10:42 +01:00
meehl
d8e52218f8
Remove global context
2025-10-27 23:10:11 +01:00
meehl
8d0f9502e3
Align layout origins with physical pixel grid for sharper text rendering
2025-10-20 12:24:31 +02:00
meehl
6e1613f73f
Initial commit
2025-10-16 17:00:59 +02:00