I am working in a map with mixed names (Arabic and English). Data comes from OSM, a PBF export from BBBIKE, imported to Spatialite using OGR2OGR. I am adding the spatialite database using UTF-8 encoding.
Using the same display technique for both points and lines, for the POINTS layer I am getting the names displayed in Arabic as expected, without issues. However for the LINES layer, the names get displayed with the correct Arabic character but reversed (instead of being displayed for reading from right to left, are displayed in inverted order, as if they were meant to be read from left to right).
Note that the mosque name gets displayed correctly in QGIS (font is slightly different, but the order is the correct one). On the other hand, the Brega Road below gets displayed inverted. That's it, should say "AQIRBLA QIRT" (for "TRIQ ALBRIQA", the name of the road in Arabic characters) but it says instead "TRIQ ALBRIQA" displaying the letters in the correct ORDER but in the wrong direction (as if it was meant to read like in English, from left to right).
Here below the capture of the content of the cells with the names. In both cases the content is the correct one, displayed correctly both in order and direction. The mosque name cell:
The road name cell:
Any idea on what could be wrong?