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

Dozens of setPointSizeF warnings when launching Qt Creator on Ubuntu 10.10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.1
    • 4.7.0
    • SVG Support
    • None
    • Ubuntu 10.10
    • 4cd4160d85dc1e158a545422cac895792b14eda6

    Description

      On Ubuntu 10.10, Qt Creator spits out the following warnings:

      QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
      QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
      QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
      ...
      

      I tracked this down to QtSvg, in particular Qt Creator is trying to load one of the Humanity icons (example icon attached), which specifies font-size:medium. This resolves to 0 in parseLength(), used on line 1286 of qsvghandler.cpp. This is then passed to QFont::setPointSizeF in qsvgstyle_p.h.

      I suggest at least a priority fix is made to get rid of the warning. Proper support for handling these named font sizes would be nice (and they do seem part of the TinySVG 1.2 spec), but is not necessary for fixing the warning.

      Attachments

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

        Activity

          People

            kkalland Kim Motoyoshi Kalland (Inactive)
            lindeije Thorbjørn Lindeijer (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes