Skip to content

release: v0.22.0 — FontSmoothing type + coordinate space docs - #22

Merged
kolkov merged 2 commits into
mainfrom
release/v0.22.0
Jul 29, 2026
Merged

release: v0.22.0 — FontSmoothing type + coordinate space docs#22
kolkov merged 2 commits into
mainfrom
release/v0.22.0

Conversation

@kolkov

@kolkov kolkov commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

[0.22.0] - 2026-07-29

Added

  • FontSmoothing type (gogpu#396, ADR-057) — three-state enum (None, Grayscale, Subpixel) for OS text anti-aliasing mode. Separate from SubpixelLayout — answers "how is text AA'd?" vs "what is the display's pixel arrangement?". PlatformProvider.FontSmoothing() method added. NullPlatformProvider defaults to FontSmoothingGrayscale. String() method for debugging. 6 test cases.
  • Coordinate space documentation (gogpu#398) — explicit "logical DIP, do NOT divide by ScaleFactor" godoc on PointerEvent.X/Y, ScrollEvent.X/Y, and all OnMouse* callbacks.

kolkov added 2 commits July 29, 2026 18:58
Three-state enum (None/Grayscale/Subpixel) for OS text anti-aliasing
detection. Separate from SubpixelLayout — answers HOW text is AA'd vs
the display's physical pixel arrangement.

PlatformProvider.FontSmoothing() added to interface.
NullPlatformProvider defaults to FontSmoothingGrayscale.
String() method for debugging. 6 test cases.

ADR-057. Cascade: gpucontext → gogpu → gg.
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kolkov
kolkov merged commit 2ceb0a3 into main Jul 29, 2026
10 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