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

PDF internals should always use dots as a decimal separators

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.x, 5.2.0
    • 4.8.0
    • GUI: Printing
    • None
    • Reproduced on Ubuntu 12.04 with Qt 4.8.0.

    Description

      Currently Qt creates blocks like this when exporting PDFs:

      /Rect [66,960000 765,260000 103,983750 772,580000]
      

      In my case, using commas (which seems to depend on locale) causes Evince to not draw a rectangle correctly. My locale in ru_RU.UTF-8.

      I attach two PDF files, first one is generated by QPrinter where I printed a QTextDocument with contents:

      <a href="http://www.google.com/">Google</a>
      

      The link isn't working in Evince.

      Second one differs from first one by using dots instead of commas, and the link works.

      Attachments

        1. link-fixed.pdf
          8 kB
        2. link-wrong.pdf
          8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            johnlayt John Layt
            mandriver Dmitry Shachnev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: