Skip to content

Tamil characters rendered wrongly #9894

@cheeaun

Description

@cheeaun

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 சைனாடவுன்.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions