monkeytypegame / monkeytypegame/monkeytype

Thai characters with multiple vowels/tone marks overlap and render incorrectly

Open
#6,528 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
20.7k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

Did you clear cache before opening an issue?
  • I have cleared my cache
Is there an existing issue for this?
  • I have searched the existing issues
Does the issue happen when logged in?

Yes

Does the issue happen when logged out?

Yes

Does the issue happen in incognito mode when logged in?

Yes

Does the issue happen in incognito mode when logged out?

Yes

Account name

tancoding

Account config

No response

Current Behavior

When typing in Thai, some characters with multiple vowels or tone marks—such as "เฮี้ยบ"—are rendered incorrectly. Specifically, the vowel and tone mark in "ฮี้"

Image

overlap each other and appear stacked in a broken way. This makes the text hard to read.

This issue occurs with the Thai font "Boon", but I have also tested with several other Thai fonts and encountered the same issue.

I have tested on both Microsoft Edge and Google Chrome, and the issue occurs on both browsers.

Expected Behavior

Thai characters with multiple diacritics should render correctly, without overlapping or stacking incorrectly.

Steps To Reproduce
  1. Open Monkeytype on Windows OS.
  2. Set input language to Thai.
  3. Start typing Thai words that include stacked vowels or tone marks, e.g., "เฮี้ยบ".
  4. Observe the rendering issue in the word "ฮี้".
Environment
  • OS: Windows 11
  • Browser: Chrome / Edge (latest versions)
  • Fonts tested: Boon(ไทย), and other fonts
  • Issue persists across different browsers and fonts
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named in the issue. First reproduce the Thai rendering problem on Windows 11 in Chrome or Edge using "เฮี้ยบ" and inspect the frontend rendering path; done means stacked vowels and tone marks render correctly across the tested Thai fonts and browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.