make QFontDatabase().writingSystemSample for Arabic useful
The current QFontDatabase().writingSystemSample for Arabic is an arbitrary text and meaningless. This suggested text is used in LibreOffice and it makes sense for Arabic people. Task-number: QTBUG-53390 Change-Id: I7456d2741fbc07b4cfffd6151b421cb4427dd3e9 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
This commit is contained in:
parent
da04322b4c
commit
6e21c3fafd
@ -2221,10 +2221,18 @@ QString QFontDatabase::writingSystemSample(WritingSystem writingSystem)
|
||||
sample += QChar(0x05D3);
|
||||
break;
|
||||
case Arabic:
|
||||
sample += QChar(0x0623);
|
||||
sample += QChar(0x0628);
|
||||
sample += QChar(0x062C);
|
||||
sample += QChar(0x062F);
|
||||
sample += QChar(0x064A);
|
||||
sample += QChar(0x0629);
|
||||
sample += QChar(0x0020);
|
||||
sample += QChar(0x0639);
|
||||
sample += QChar(0x0631);
|
||||
sample += QChar(0x0628);
|
||||
sample += QChar(0x064A);
|
||||
sample += QChar(0x0629);
|
||||
sample += QChar(0x062A);
|
||||
sample += QChar(0x063A);
|
||||
break;
|
||||
case Syriac:
|
||||
sample += QChar(0x0715);
|
||||
|
Loading…
Reference in New Issue
Block a user