Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-12024

It looks that text is much bigger when in print preview.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.6.3
    • GUI: Printing
    • None

      when I print preview the QGraphicsItem object, it looks that text is bigger. But print the QGraphicsItem object, the text is normal;
      Code:
      void CTextItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
      {
      painter->save();
      painter->setPen(m_fontColor);
      painter->setFont(m_font)
      painter->drawText(Geometry(), Qt::AlignCenter , m_strText);
      painter->restore();
      }

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            jasanye jasanye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes