ebiten/text/v2
Hajime Hoshi 20c216b2b1 text/v2: bug fix: glyph image sizes might not be enough
Hajime found that one glyph 'ら' was not rendered correctly in a
vertical Japanese text in examples/texti18n. This was due to an
incorrect calculation of the image sizes.

This change fixes this issue by always adding +1 to the sizes no matter
what the glyph size is or the position is. It is in theory possible to
determine whether this addition is necessary, but this is pretty
complicated and might cause other issues.
2023-11-25 01:26:52 +09:00
..
glyph.go text/v2: define different key types for StdFace and GoTextFaceSource 2023-11-19 23:40:47 +09:00
gotext.go text/v2: bug fix: Measure didn't work correctly with vertical faces 2023-11-23 23:25:10 +09:00
gotextfacesource.go text/v2: define different key types for StdFace and GoTextFaceSource 2023-11-19 23:40:47 +09:00
gotextseg.go text/v2: bug fix: glyph image sizes might not be enough 2023-11-25 01:26:52 +09:00
layout.go text/v2: add AppendVectorPath 2023-11-20 03:38:26 +09:00
std.go text/v2: bug fix: glyph image sizes might not be enough 2023-11-25 01:26:52 +09:00
stdcache.go all: add text/v2 2023-11-12 17:04:25 +09:00
text_test.go text/v2: fix test 2023-11-21 14:32:30 +09:00
text.go text/v2: add AppendVectorPath 2023-11-20 03:38:26 +09:00