-
-
Notifications
You must be signed in to change notification settings - Fork 791
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
[label] Full-width hyphen in Japanese ー
is accidently disappeared
#5420
Comments
Thanks for taking the time to report this issue! |
Yes, I'm researching this now.👍 |
When
|
That can be a result of my refactoring of the callback hell, including the glyphs code, which was a nightmare to read and understand... |
The problem is here: maplibre-gl-js/src/render/glyph_manager.ts Line 129 in bedcb86
This regexp judges whether a character is CJK or not. Japansese full-width dash
IMHO, there are two ways:
|
IMO, we can use
|
I made draft: #5421 IMO:
I'm not sure how much is a cost to broaden it but it looks useful. |
maplibre-gl-js version: latest
browser: Chrome
Steps to Trigger Behavior
ー
ー
ー
is not shown.Link to Demonstration
Following two are using same style.
GL JS v4
https://jsbin.com/wosopasika/edit?html,output
GL JS v3
https://jsbin.com/qiduxehete/edit?html,output
A-BーC
in v3 but in v4A-BC
.Expected Behavior
v3 is correct.
Actual Behavior
ー
is missing. It occurs also on latest version.The text was updated successfully, but these errors were encountered: