-
Notifications
You must be signed in to change notification settings - Fork 414
Description
Feature request
What is missing?
Currently, when using legend templates with multiple columns in Mapfish Print, the columns are always rendered from left to right. This behavior does not support right-to-left (RTL) languages such as Hebrew or Arabic.
Why is it important?
In RTL documents and maps, the natural reading order starts from the right side of the page. When the legend columns are rendered left-to-right, it breaks the visual and linguistic consistency of the layout, especially in RTL environments.
Suggested solution
Introduce a configuration parameter (e.g., rtl: true) in the legend block, which reverses the column order so that columns are laid out from right to left. This would align with the direction of RTL languages and improve accessibility and usability.
Additional context
RTL support for legend layout would improve localization capabilities and ensure consistent presentation in documents using right-to-left languages. This is a common requirement in multilingual environments and aligns with internationalization best practices.
Thank you for considering this improvement!