Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: The clipping box for the text() is too small for some letters in languages such as Vietnamese #625

Open
huyng opened this issue Mar 4, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@huyng
Copy link

huyng commented Mar 4, 2025

Describe the bug

In some languages such as Vietnamese, there are diacritic & tone marks for a subset of characters. For example: "Ấ" . When displaying these characters using the text() component, the accents at the top of the character is clipped off. See the example image below:

Image

this was produced with the following code:

 add([
      text("Â"),
      pos(40, 40),
      color(0, 0, 0),
  ]);

I am running v3001

Expected behavior

The clipping box should be expandable / customizable to accommodate non-english text.

@huyng huyng added the bug Something isn't working label Mar 4, 2025
@lajbel lajbel self-assigned this Mar 4, 2025
@lajbel lajbel moved this to In Progress in KAPLAY.js Bugs Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

2 participants