Hi Users,
I need to write a mirrored (reversed) text in a QT application.
I'm triing to install a mirrored font (Windows environment) with this code but without success:
fontbase.addApplicationFont("c:\Resources\Backrg__.ttf");
painter.
setFont(fontbase.
font(QString("backwards"),
QString("Regular"),
10));
painter.drawText(posx, posy,text);
QFontDatabase fontbase;
fontbase.addApplicationFont("c:\Resources\Backrg__.ttf");
painter.setFont(fontbase.font(QString("backwards"),QString("Regular"),10));
painter.drawText(posx, posy,text);
To copy to clipboard, switch view to plain text mode
Someone have an idea or is there another approach to obtain a reverse text printing?
Thanks in advance
Bookmarks