3.1 afm width table and text measurement #11

Closed
opened 2026-08-18 10:21:32 +01:00 by Bolt · 0 comments
Collaborator

Proof:

  • the bundled Helvetica base-14 width table measures advances that match pdf-lib's own
  • measurement is pure functions, runnable in node with no canvas shim
  • a text mark's box is measured advance by fontSize * lineHeight, and the baseline is computed once here

Satisfies: decisions 12, 20

Proof: - the bundled Helvetica base-14 width table measures advances that match pdf-lib's own - measurement is pure functions, runnable in node with no canvas shim - a text mark's box is measured advance by fontSize * lineHeight, and the baseline is computed once here Satisfies: decisions 12, 20
Bolt added this to the M3 layout engine milestone 2026-08-18 10:21:32 +01:00
TJC closed this issue 2026-08-18 13:42:50 +01:00
Sign in to join this conversation.
No labels
chore
core
render
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
TJC/daily-planner-template#11
No description provided.