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

Tamil characters rendered wrongly #9894

Closed
cheeaun opened this issue Jul 24, 2020 · 3 comments
Closed

Tamil characters rendered wrongly #9894

cheeaun opened this issue Jul 24, 2020 · 3 comments
Labels

Comments

@cheeaun
Copy link

cheeaun commented Jul 24, 2020

mapbox-gl-js version: 1.11.1
browser: Chrome, Safari, Firefox

Link to Demonstration

https://jsfiddle.net/cheeaun/adrzysk7/1/ or https://jsbin.com/tojinod/edit?html,css,js,output

It's rendering (some of) the Tamil characters wrongly. I personally don't know how to read Tamil, but it's obviously rendered differently compared to how browsers render them.

Screenshot 2020-07-24 at 9 58 34 AM

I've tried few ways to "fix" it:

  1. Set localIdeographFontFamily: '"InaiMathi", "Tamil Sangam MN", "Nirmala UI", Latha, Bamini ,Roboto, Noto, "Noto Sans Tamil", sans-serif'.
  2. Upload Noto Sans Tamil to Mapbox studio and set them as symbol layer style.

Here's another screenshot of a web site I'm working on (using Noto Sans Tamil Medium):

Screenshot 2020-07-24 at 9 28 21 AM

The text is சைனாடவுன்.

@ansis ansis added the bug 🐞 label Jul 27, 2020
@planemad
Copy link

Issue lies upstream in Mapbox GL: mapbox/mapbox-gl-native#7774

@1ec5
Copy link
Contributor

1ec5 commented Jul 28, 2020

Also tracked in this repository in #4009.

@asheemmamoowala
Copy link
Contributor

@cheeaun Thank you for reporting this issue. As mentioned, this is a duplicate of #4009, let's focus the discussion in that ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants