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

setPointSizeF() displays warning when loading Svg

    XMLWordPrintable

    Details

    • Commits:
      967536c12d8a8684899117aafd63faf8d831b656 (qtsvg/5.11, 27.2.2018, 5.11B2), afb5220592d7d687f70c8f3f8b8198d8c2cdd810 (qtbase/5.9. 28.2018, 5.9.5)

      Description

      Few SVG when loaded generates annoying 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

      This happens with svg file having
      font-family="none" font-weight="none" font-size="none" text-anchor="none"

      Attached svg where i just added none to font

        Attachments

        1. qtbug66646_stack.txt
          32 kB
        2. umts.svg
          8 kB
        For Gerrit Dashboard: QTBUG-66646
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes