demo · v135

Multilingual canvas test

Swap the canvas lang property and watch ambiguous Han characters re-render with locale-specific glyph forms — the same codepoint draws differently for zh-Hans, zh-Hant, ja, and ko. The browser also picks the right line-break shaping rules.

canvas lang: ?

see also