-
Notifications
You must be signed in to change notification settings - Fork 14
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
IGAPP-1372: Support RTL for POI Title on Map #2295
Comments
steffenkleinle - 9.8.2023, 14:25:56 <~andreas.fischer> is this ready/blocked/are you working on this? f1sh1918 - 9.8.2023, 14:43:33 It's ready and no |
Hi @maxammann, We would have to add arabic font-glyphs to support that feature. Just found this repo for creating them: https://github.com/openmaptiles/fonts just created a zip file with pbf that includes. So we could probably cover all languages {
"name": "Noto Sans Regular",
"sources": [
"NotoSans-Regular.ttf",
"NotoNaskhArabic-Regular.ttf",
"NotoSansArmenian-Regular.ttf",
"NotoSansBalinese-Regular.ttf",
"NotoSansBengali-Regular.ttf",
"NotoSansCJKtc-Regular.otf",
"NotoSansDevanagari-Regular.ttf",
"NotoSansEthiopic-Regular.ttf",
"NotoSansGeorgian-Regular.ttf",
"NotoSansGujarati-Regular.ttf",
"NotoSansGurmukhi-Regular.ttf",
"NotoSansHebrew-Regular.ttf",
"NotoSansJavanese-Regular.ttf",
"NotoSansKannada-Regular.ttf",
"NotoSansKhmer-Regular.ttf",
"NotoSansLao-Regular.ttf",
"NotoSansMongolian-Regular.ttf",
"NotoSansMyanmar-Regular.ttf",
"NotoSansOriya-Regular.ttf",
"NotoSansSinhala-Regular.ttf",
"NotoSansTamil-Regular.ttf",
"NotoSansThai-Regular.ttf",
"NotoSansTibetan-Regular.ttf",
"//NotoSansTifinagh-Regular.ttf"
]
}, |
We are currently using these fonts: https://github.com/orangemug/font-glyphs/tree/master So preferably we adjust those. Not sure which glyphs we need and how maplibre handles Arabic characters right now. My guess is that it does not use the pbf font stacks for complex layout like arabic. |
ok. i think both libraries use fontnik and shouldn't have a big differences. Anyway we need to fork one of it and generate the glyphs we need. For me the repo i suggested looks way simpler and clearer to build pbf file for "Noto Sans Regular" out of different *.ttf's Noto Sans Regular_integreat_fonts.zip General question is also why we want to provide all these unneeded glyphs within this submodule instead of just "Noto Sans Regular" @maxammann Not sure if Noto Sans SC is supported |
i just added this pr on the mapstyle repo. |
Both repos seem to do roughly the same thing. Both use fontnik to generate fonts for maplibre. Switching fine, though make sure not to break paths used in the style Json. |
f1sh1918 - 7.8.2023, 10:08:48
As a user with a rtl language i would like to have the title of the pois displayed on the map
Acceptance Criteria
Note:
https://github.com/digitalfabrik/integreat-maplibre-style
Environment: -
Linked issues:
The text was updated successfully, but these errors were encountered: