Skip to content

Fill empty Quick fix notes cells; correct digit ink-centering in diagram - #82

Merged
msgwing merged 1 commit into
mainfrom
docs/fill-fix-notes-and-center-digits
Aug 4, 2026
Merged

Fill empty Quick fix notes cells; correct digit ink-centering in diagram#82
msgwing merged 1 commit into
mainfrom
docs/fill-fix-notes-and-center-digits

Conversation

@msgwing

@msgwing msgwing commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

AFFECTED-SYSTEMS.md — the six rows that had an empty "Quick fix notes" cell now carry a real fix path. For the two vendors whose advisories were read directly (Konica Minolta/DEVELOP, Xerox) the note states what to check and what to do when firmware won't help, linking the matching PRINTERS.md brand section.

Link integrity verified per the request: all 20 URLs in the file return 200, and both new anchor targets (#xerox, #konica-minolta) resolve to real id attributes in the built PRINTERS.html.

setup-comparison.svg — the previous x=cx fix was insufficient. text-anchor="middle" centers a glyph's advance box, not its visible ink — and getBBox() on SVG text returns that same advance box, which is why my first measurement misleadingly reported a 0px offset. Re-measured true ink extents with canvas TextMetrics (actualBoundingBoxLeft/Right) in the real font:

digit ink width advance ink offset from center
1 5px 6.33px −0.66px
2,3,5 6px 6.33px −0.16px
4 8px 6.33px −0.16px

Applied those exact values as dx, leaving x equal to cx so the geometry stays self-documenting.

Test plan

  • Built HTML contains zero <td></td> in the table.
  • All 20 URLs return 200; both anchors resolve to real IDs.
  • 8 dx corrections present in the deployed SVG.

🤖 Generated with Claude Code

AFFECTED-SYSTEMS.md: the six rows with an empty third column now carry an
actual fix path instead of blank space. Where a vendor advisory was read
directly (Konica Minolta/DEVELOP, Xerox) the note says what to check and
what to do when firmware won't help, linking the matching PRINTERS.md
section. Verified both anchor targets (#xerox, #konica-minolta) resolve to
real id attributes in the built HTML, and re-checked all 20 URLs in the
file return 200.

setup-comparison.svg: the earlier x=cx fix wasn't enough. text-anchor
="middle" centers the glyph's *advance box*, not its visible ink, and
getBBox() on SVG text reports that same advance box - which is why the
first measurement misleadingly showed a 0px offset. Measured true ink
extents via canvas TextMetrics (actualBoundingBoxLeft/Right) in the real
font instead: digit "1" sits 0.66px left of center (5px ink in a 6.33px
advance, asymmetric bearings), digits 2-5 sit 0.16px left. Applied those
exact values as dx, keeping x equal to cx so the geometry stays
self-documenting.
@github-actions github-actions Bot added the docs label Aug 4, 2026
@msgwing
msgwing merged commit b98ada2 into main Aug 4, 2026
24 checks passed
@msgwing
msgwing deleted the docs/fill-fix-notes-and-center-digits branch August 4, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant