Skip to content

Fix/palette preview labels - #4

Merged
852wa merged 2 commits into
masterfrom
fix/palette-preview-labels
Sep 26, 2026
Merged

852wa merged 2 commits into
masterfrom
fix/palette-preview-labels

Conversation

@852wa

@852wa 852wa commented Sep 26, 2026

Copy link
Copy Markdown
Owner

No description provided.

852wa and others added 2 commits September 26, 2026 00:29
The file mixed CRLF and LF lines. No content change (git diff -w is empty).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K5PqyHqy9udCb9y3WWmeTx
…cOS/Linux

- textbbox was measured at the patch position and that position was then
  subtracted again, so every number was drawn inside patch 0. Measure at the
  origin and subtract only the glyph offset.
- Fall back to DejaVu Sans / Helvetica, then Pillow's scalable default font,
  so font_size works where Arial is not installed.
- Add regression tests for label placement and font size.
- Add the Linux/Windows CPU test workflow that the README already describes.
- Add .gitignore for __pycache__, bump version to 1.2.1, update README and
  VALIDATION.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K5PqyHqy9udCb9y3WWmeTx
@852wa
852wa merged commit 42ebdb3 into master Sep 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant