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

Allow QSVGGenerator to write SVG sizes in px

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • SVG Support
    • None

    Description

      We're interested in generating SVG image files that contains a size specification similar to this one
       

      <svg width="400px" height="400px" viewBox="0 0 400 400"

       
       
      Currently it looks like QSVGGenerator hard-codes the width and height specifications to be written in mm, so we'd get something like
       

      <svg width="141.111mm" height="141.111mm" viewBox="0 0 400 400"

       
      It would be nice to be able to set the unit in which width and height are outputted.
       

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            nicola_zonta Nicola Zonta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes