Skip to content

Font scales badly (uneven stroke width) #1706

@joshtriplett

Description

@joshtriplett

SolveSpace appears to be using a bitmapped font with no hinting or antialiasing, and the result scales with uneven stroke widths that make it even less readable.

Firefox, Linux, Wayland, running at DPIs that require scaling to be usable.

Firefox is scaling its base size based on the screen, and then the page is scaled up further from there to have a readable font size. My base is 150% scaling, but the UI has comparably uneven strokes at many different scales and page sizes. (The strokes get somewhat less obviously uneven the bigger they are, since at larger sizes there are more pixels to work with.)

Easy way to compare font scaling quality: At any scale, hitting one of the "change" links in the configuration menu brings up a browser UI element, using a font that looks great at any size.

Notice that the 0 in the browser textbox has an even stroke around the entire circle, while the 0s in the "chord tolerance" just above use a different number of pixels on the left and right side, and different 0s use different uneven numbers of pixels. The first, fifth, and sixth 0s are wider on the right; the rest are wider on the left.

Metadata

Metadata

Labels

UIWebThe emscripten based web version of SolveSpace

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions