stadiamaps / maplibre-swiftui-dsl-playground

DSL and SwiftUI integration for MapLibre
BSD 3-Clause "New" or "Revised" License
20 stars 6 forks source link

Add `textFontNames` modifier to `SymbolStyleLayer` to support overriding the font #46

Closed NaifAlrashed closed 1 month ago

NaifAlrashed commented 1 month ago

Problem

When adding text modifier to SymbolStyleLayer, the text does not show characters for RTL languages (I tested with Arabic, Urdu & Hebrew). The issue appears to be with MLNSymbolStyleLayer. It doesn't support be that the default fonts do not support these languages. MapLibre allows us to change the font names to fix this problem via textFontNames.