diff --git a/qad/graphic/graphic.cpp b/qad/graphic/graphic.cpp index edc5323..8a06b3d 100644 --- a/qad/graphic/graphic.cpp +++ b/qad/graphic/graphic.cpp @@ -303,7 +303,11 @@ void Graphic::canvasPaintEvent() { lasth = hei; font_sz = fontMetrics().size(0, "0"); font_sz.setHeight(font_sz.height() * 1.); +#ifdef Q_OS_ANDROID + font_sz.setWidth(font_sz.width() * 6); +#else font_sz.setWidth(font_sz.width() * 8); +#endif thick = lineThickness(); if (buffer != 0) if (buffer->width() != wid || buffer->height() != hei) {delete buffer; buffer = 0;} if (buffer == 0) buffer = new QImage(wid, hei, QImage::Format_RGB32);