darksylinc/colibrigui

Text rendering some characters have wrong width or height

Closed this issue · 0 comments

With certain top_left offsets, some characters (not all of them) have wrong width and/or height, so far I've seen it being off by 1 pixel bigger than it should.

Looks like the snap to pixels rounding at https://github.com/darksylinc/colibrigui/blob/master/src/ColibriGui/ColibriLabel.cpp#L1059 and https://github.com/darksylinc/colibrigui/blob/master/src/ColibriGui/ColibriLabel.cpp#L953 is likely causing this problem.