chore(memory): close session — BDR-008, LRN-008, journal
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
d7ea99e040
commit
15a3ef2890
3 files changed
+17
No files matched your search
@@ -57,3 +57,10 @@ Apply: any "screen → print" pipeline where the screen SVG has interaction laye
|
||||
|
||||
pdf-lib's drawText({ maxWidth }) wraps the visible glyph run but the returned y is unchanged — caller must measure with widthOfTextAtSize and advance the cursor per wrapped line. Otherwise subsequent text blocks overlap the wrapped tail.
|
||||
Apply: any pdf-lib layout with variable-length user text. Always wrap explicitly + advance per line.
|
||||
|
||||
---
|
||||
|
||||
## LRN-008 | 2026-05-19 | pdf-lib eyebrow + title vertical spacing
|
||||
|
||||
Times-22 ascender ≈ 17pt. Eyebrow size-9 baseline above title baseline needs ≥22pt gap to clear the ascender + leave ≥6pt visual breathing. Header rule needs ≥30pt cushion below for a size-22 title (title baseline at height-120ish on A4).
|
||||
Apply: any pdf-lib heading stack (eyebrow + title or chained headings). Compute from font.heightAtSize/widthOfTextAtSize, never eyeball pixel offsets.
|
||||
Reference in new issue
Block a user