Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
The layout library now contains support for implementing right-to-left layout for right-to-left languages and can support mixed direction layouts. This support comes from two features:
Symmetry between adobe::layout_attributes_alignment_t::align_forward / adobe::layout_attributes_alignment_t::align_forward_fill and adobe::layout_attributes_alignment_t::align_reverse / adobe::layout_attributes_alignment_t::align_reverse_fill, especially with regards to guides.
With these, implementing RTL support is fairly stright forward, if your content is in a RTL local, then add the items to the layout with the horizontal alignment attributes flipped and in reverse order.