Expand description
Simple per-line metrics (fontdue-backed). Simple per-character layout helpers independent of Parley shaping.
Structs§
- Line
Layout - Per-line byte offsets and cumulative advances (simple fontdue metrics).
Functions§
- caret_
index_ at_ x - Returns the first cumulative-advance index at or beyond
x. - caret_
x_ at - Maps a UTF-8 byte position to the preceding recorded X advance.
- line_
layout - Measures each Unicode scalar and records its next UTF-8 boundary.