[Libreoffice-ux-advise] [Bug 154450] Incorrect symbol for images in RTL languages

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 23 23:21:19 UTC 2023


https://bugs.documentfoundation.org/show_bug.cgi?id=154450

--- Comment #5 from Rizal Muttaqin <rizmut at libreoffice.org> ---
(In reply to Heiko Tietze from comment #3)
> Rizal, what do you think?

Generally speaking, current non LTR icon behaviour is suboptimal. I would like
to see proper RTL support for icon themes from coding point of view. Currently,
many icons just flipped horizontally for RTL text and 90 degrees clockwise for
top to bottom text. See tdf#149956. 

Instead of using the flipping method above, I suggest that LibreOffice
intelligently recognizes the RTL content and then instructs it to use a
separate RTL version of the icon file. Say for example
lc_defaultnumbering.<png|svg> for LTR content, then there's
lc_defaultnumberingrtl.<png|svg> for RTL one.


The only way I as an icon designer can change the appearance of an icon from
LTR to RTL is to use a localized variant. For example I created some RTL icons
in cmd/ar/ and cmd/32/ar directories for Arabic (and linking it for Hebrew,
Urdu and Parsi). This is actually quite problematic, however, because there is
no guarantee that users of Arabic RTL text will definitely use the Arabic
interface. It is possible that the interface used is American English while the
content produced is RTL text.

Then the localized icons that I made became even more messy when given the
flipping treatment.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list