A subclass of QPlainTextEdit with two fonts for two scripts?
General and Desktop
5
Posts
2
Posters
2.7k
Views
1
Watching
-
Hi there,
I'm interested in some kind of plain text editor with this specification: For each character 'c' if c a is a Persian or Arabic letter (its code is in a certain unicode range) then set its font to F else set its font to G. (Obviously reimplementing key-press will not help.) Also, the user should be able to change F and G.