repro1086

command
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2026 License: BSD-3-Clause Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command repro1086 drives the pre-rebrand tracker #1086 aligned-oversized-container scene on a real window (WebGPU/Metal by default) so the anchor point can be eyeballed against the software golden (hack/repro1086 TestSoftwareGolden). With the pre-rebrand tracker #1086 fix the scaled glyphs pivot on the text-box origin (they stay left, matching software); a pre-fix draw.go shifts center/trailing glyphs right of the magenta guide.

Package main hosts the pre-rebrand tracker #1086 repro scene: a Transform-scaled canvas.Text laid out center-aligned inside a container that is *wider and taller* than the text's natural content, next to reference markers. pre-rebrand tracker #1086 is the residual gap left by pre-rebrand tracker #960: drawText shifts pos for alignment *before* anchoring, so the scale used to pivot on the alignment-shifted glyph position rather than the text-box origin. This scene makes that offset visible on a real GPU.

BuildAlignedScene is shared by the software-golden test and the on-GPU main so the software reference and the GPU screenshot depict the same geometry; with the pre-rebrand tracker #1086 fix they must coincide, and a pre-fix draw.go visibly shifts the scaled glyphs to the right of the software reference.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL