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

fix: add Laos language support to glyphs #3364

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

BRaimbault
Copy link
Collaborator

@BRaimbault BRaimbault commented Oct 11, 2024

Implement: DHIS2-16395


Open Sans does not support Laos language.

A new bundle of glyphs is generated with OpenMapTiles' fonts tool: https://github.com/openmaptiles/fonts/
A custom bundle is created with:

Config:

[
  {
    "name": "Open Sans Regular",
    "sources": [
      "OpenSans-Regular.ttf",
      "NotoSansLao-Regular.ttf"
    ]
  },
  {
    "name": "Open Sans Bold",
    "sources": [
      "OpenSans-Bold.ttf",
      "NotoSansLao-Bold.ttf"
    ]
  },
  {
    "name": "Open Sans Italic",
    "sources": [
      "OpenSans-Italic.ttf",
      "NotoSansLao-Regular.ttf"
    ]
  },
  {
    "name": "Open Sans BoldItalic",
    "sources": [
      "OpenSans-BoldItalic.ttf",
      "NotoSansLao-Bold.ttf"
    ]
  }
]

Modify an OU name to contain Laos text (eg: ລະບົບຂໍ້ມູນ) and create a map with an OU layer including labels.

Before:
image

After:
image

@dhis2-bot
Copy link
Contributor

🚀 Deployed on https://pr-3364.maps.netlify.dhis2.org

@dhis2-bot dhis2-bot temporarily deployed to netlify October 11, 2024 13:25 Inactive
@BRaimbault BRaimbault marked this pull request as ready for review October 11, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants