[v0.1/P1] Rename font.size to font.size_px #28

Closed
opened 2026-09-03 16:18:07 +09:00 by natsukium · 0 comments
Owner

Parent: #12 (P1.7). Supersedes the unit-naming part of #7.

Why

The configured font size is measured in logical pixels, while an unqualified terminal font size is commonly read as points. The pixel model is coherent; only the public key is ambiguous.

Scope

  • Rename font.size to font.size_px without a compatibility alias before the first release.
  • Keep internal variables explicit about logical versus physical pixels.
  • Update defaults, validation, live reload, keybinding zoom, and effective-config output.
  • Regenerate the JSON Schema.

Acceptance criteria

  • No user-facing config or diagnostic calls the value points or leaves the unit implicit.
  • The logical-pixel clamp and scaling behavior remain unchanged.
  • The old key is rejected or diagnosed according to the unknown-key contract, not silently accepted as an alias.
  • Config tests, schema, reference/manual examples, Home Manager module, and changelog are updated.
Parent: #12 (P1.7). Supersedes the unit-naming part of #7. ## Why The configured font size is measured in logical pixels, while an unqualified terminal font size is commonly read as points. The pixel model is coherent; only the public key is ambiguous. ## Scope - Rename `font.size` to `font.size_px` without a compatibility alias before the first release. - Keep internal variables explicit about logical versus physical pixels. - Update defaults, validation, live reload, keybinding zoom, and effective-config output. - Regenerate the JSON Schema. ## Acceptance criteria - [ ] No user-facing config or diagnostic calls the value points or leaves the unit implicit. - [ ] The logical-pixel clamp and scaling behavior remain unchanged. - [ ] The old key is rejected or diagnosed according to the unknown-key contract, not silently accepted as an alias. - [ ] Config tests, schema, reference/manual examples, Home Manager module, and changelog are updated.
Sign in to join this conversation.
No description provided.