<div dir="auto"><div>Hi Micha,</div><div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, 28 May 2024, 6:28 pm Micha Silver, <<a href="mailto:tsvibar@gmail.com">tsvibar@gmail.com</a>> wrote</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="direction:ltr" text="#933131" bgcolor="#FFFFFF">
    <p><font size="4">Thanks for following up on this. <br>
      </font></p>
    <p><font size="4">The few details (that are mentioned in the issue
        tracker) that might help track down the root of the problem:</font></p>
    <p><font size="4"><br>
      </font></p>
    <p><font size="4">1- There was no issue up to 3.28. The reports
        appeared only on 3.30 and above.</font></p>
    <p><font size="4">2- I'm pretty sure that it occurs only on Windows,
        and only Win 11. Just now checked again on my Debian machine,
        with 3.36, and the problem does not appear, and never has.<br>
      </font></p>
    <p><font size="4">3- Somehow I think this might be a Qt problem. Do
        you know if there were any Qt changes in Win installs between
        3.28 and 3.30.x?</font></p></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Actually, if it works on a given platform, it's by accident and not design 😁. There's no tests covering this and I don't think it's been actually thought out by design.</div><div dir="auto"><br></div><div dir="auto">So my questions related to high level design decisions, like:</div><div dir="auto"><br></div><div dir="auto">- should the switch to rtl layout determined by the content of a label alone? Or is it determined by the font choice? Or the users locale? Or should it be an explicit choice set per layer, so that the project will appear identical when shared with a user using a different locale for their qgis?</div><div dir="auto">- how should mixed ltr and rtl string work? Should users be required to manually insert rtl / ltr unicode markers?</div><div dir="auto">- how should rtl be handled with respect to multiline text alignment?</div><div dir="auto">- is rtl placement of characters determined by graphemes? Ie do we split the string to graphemes and then lay these out right to left? Or is it done on individual characters?</div><div dir="auto"><br></div><div dir="auto">Nyall</div><div dir="auto"><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="direction:ltr" text="#933131" bgcolor="#FFFFFF">
    <p><font size="4"><br>
      </font></p>
    <p><font size="4">If I can be of any further help testing, let me
        know. i.e. I can update a colleague's machine, and prepare a
        very simple test project...</font></p>
    <p><font size="4"><br>
      </font></p>
    <p><font size="4">Best, Micha<br>
      </font></p>
    <p><font size="4"><br>
      </font></p>
    <div>On 28/05/2024 5:56, Nyall Dawson via
      QGIS-User wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>Hi lists,

I'm looking for some assistance in fixing the right-to-left labeling
issues described in <a href="https://github.com/qgis/QGIS/issues/54098" target="_blank" rel="noreferrer">https://github.com/qgis/QGIS/issues/54098</a> . While
I can fix the code issues, I don't have the linguistic understanding
to know how right-to-left text SHOULD behave in QGIS labels!

Is there anyone out there from a RTL language background who can add
the missing information to the above ticket and help get this bug
fixed?

Nyall
_______________________________________________
QGIS-User mailing list
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-User@lists.osgeo.org</a>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
  </div>

</blockquote></div></div></div>