dbader / dbader/large-type.com

Miscalculated "text-box" size on wide characters

Open
#23 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
213
Forks
58
PR merge metrics
No merged PRs in 30d

Description

When using japanese characters the "text-box" size appears to be calculated incorrectly.

Example: 博麗霊夢

![image](https://github.com/user-attachments/assets/331f9561-69fe-46c9-a9f4-11f3cd1b5066)

Maybe this is because it's a monospace font, and such characters take about twice as much width as plain ascii characters.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.