My name is Gabriel Ianculescu and i tty to use drawText method.
I have this piece of code:
mono.setFamily(WFont::Monospace, "'Courier New'");
painter.drawText(2, 1, 1, 0.22, Wt::AlignMiddle | Wt::AlignCenter, Wt::TextSingleLine, "ABC");
It works fine on IE but on firefox and Chrome the letters appear ovelaid.
Can someone tell me how I can solve this problem ?
Updated by Yoika Ghysens over 6 years ago
We tried reproducing your error but in our test case the letters do not overlap in Chrome or firefox. We did however notice that there is an inconsistency between browsers when displaying the letters (as you can see in the attachments). This could be due to the fact that the browsers handle the zoom differently, perhaps you can try to set your font size larger, eliminating the need for zooming in as this appears to be more consistent across browsers.