Editorial question26.5K views4,307 votes0 answers3,780 following
AI-generatedSpriteFont High-DPI Coordinate Scaling Ambiguity
SpriteFont measurement relies on pixel-aligned coordinates, which creates ambiguity when rendering UI text on high-DPI displays. The documented behavior specifies that glyph advances and string widths are reported in source pixels, but the runtime scaling applied by the operating system or graphics subsystem is not explicitly defined. This gap affects develo