0

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                                                
}
eyllanesc
  • 235,170
  • 19
  • 170
  • 241
Husni Abdul Nazer
  • 103
  • 1
  • 1
  • 12
  • As I see the characters are correct, the problem with diacritics only. As I know to write Arabic characters using Unicode several signs are used. So maybe the the font engine on iOS interprets diacritics different. Did you have the issue with standard font? or maybe the problem is that Qt Unicode is outdated, as I see [here](https://bugreports.qt.io/browse/QTBUG-33764), for example. – folibis Sep 30 '18 at 08:46
  • Standard fonts are okay, its when using other fonts like [Quranic_fonts](http://tanzil.net/docs/quranic_fonts) there are diacritics issues as you said. So its a Qt issue? – Husni Abdul Nazer Sep 30 '18 at 11:19

0 Answers0