Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.4, 5.0.1
-
None
-
7df995a9bd3e989b4136f98424490604eb5178aa
Description
Arabic text is broken in different ways.
// With this font the letters are overlapping each other in a very bad way
QApplication::setFont(QFont("KFGQPC Uthman Taha Naskh", 72));
QTextEdit *text = new QTextEdit(QObject::trUtf8("الرَّحْمَنِ"));
// With this font the letter Ha and Meem should be connected
// Attached is a file with a red circle where the sapce is wrong
QApplication::setFont(QFont("Amiri", 72));
QTextEdit *text = new QTextEdit(QObject::trUtf8("رحْمن"));
Those fonts are free to use. I created a package for them at
https://aur.archlinux.org/packages/ttf-amiri/
https://aur.archlinux.org/packages/ttf-qurancomplex-fonts/
Attachments
Issue Links
- depends on
-
QTBUG-18980 Use harfbuzz-ng for text layout
- Closed
- replaces
-
QTBUG-22585 path.addText introduces gaps between the should-be connected Arabic characters
- Open