zircon icon indicating copy to clipboard operation
zircon copied to clipboard

Weird bug with TTF at certain resolutions

Open HOWZ1T opened this issue 3 years ago • 4 comments

When using TrueTypeFonts and resizing it based on the resolution height and the grid height, at some resolutions characters will render inconsistently, with gaps between them for example. It appears to affect all the true type fonts provided by Zircon.

Here are some examples:

Box doesn't render line straight

Resolution: 1920 x 1080, GridSize: 80 x 45

No artifact at Resolution: 1280 x 720, GridSize: 80 x 45

Examples from Zircon README.md, look at top left corner of the box

HOWZ1T avatar Oct 25 '20 23:10 HOWZ1T

It appears to affect only the Box Decoration.

HOWZ1T avatar Oct 27 '20 18:10 HOWZ1T

This is interesting. Have you tried using the Box class to reproduce the problem? I'm curious if using it has the same effect.

adam-arold avatar Oct 27 '20 21:10 adam-arold

What OS are you using? Can't reproduce this on Windows 10.

adam-arold avatar Nov 02 '20 22:11 adam-arold

Windows 10.

HOWZ1T avatar Nov 11 '20 17:11 HOWZ1T