QML Arabic font rendering incorrectly in iOS

179 Views Asked by At

There seems to be difference in font rendering with QML in ios and android as given below

This one is correctly rendered in android

enter image description here

Please check the difference in ios. Here its showing incorrectly.

enter image description here

Do i have to do anything different in iOS for properly displaying? Or does this have to do anything with language support.

Below is the code used.

FontLoader 
{
     id: fontArabicSoq
     source: "qrc:/fonts/quran_soq.OTF"
}                 

Text 
{
      id: dataText
      font.pointSize: Qt.platform.os == 'osx' ? 27 : slider1.value
      font.family:  fontArabicSoq.name  //'Al Bayan'  --> osx
      renderType: Text.NativeRendering
      font.styleName: 'Medium'
      font.weight: Font.Thin
      text: modelData.word                                                
}
0

There are 0 best solutions below