x/image/font/opentype: Thai language font does not render properly #43383
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes,
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I use
opentype
to render text to image with Thai language character and it rendered incorrectlyWhat did you expect to see?
The "tone mark" and the "vowel" should be rendered in the right places
compare to the render result. The glyph which is rendered above and below the line does not pick a glyph correctly
(image from http://aodr.org/_common/do.php?a=full&b=12&bidx=717&aidx=9769 )
What did you see instead?
opentype
must pick the right glyph from the character index table which need to be calculated from the combination rules of the Thai languageC90 Thai character combination rules
#27281
The text was updated successfully, but these errors were encountered: