[cairo-bugs] [Bug 28161] New: Text Scaling Inconsistent for Windows Print Preview

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 18 11:44:47 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28161

           Summary: Text Scaling Inconsistent for Windows Print Preview
           Product: cairo
           Version: 1.9.7
          Platform: x86 (IA32)
        OS/Version: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: win32 backend
        AssignedTo: cairo-bugs at cairographics.org
        ReportedBy: bfulgham at webkit.org
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=35729)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=35729)
Screen display of example

If you use the Print Preview context provided by MFC with Cairo, text elements
are not scaled the same way as other parts of the Cairo scene.

The attached example displays the following:
1.  The text "Drawn With cairo_show_glyphs", drawn with the API call
'cairo_show_glyphs'.
2.  The text "cairo_text_path", drawn with the API call 'cairo_text_path'
3.  The text "cairo_show_text", drawn with the API call 'cairo_show_text'

The attached image "Screen.PNG" shows what this example looks like on screen.
The attached image "Preview_Max.PNG" shows the print preview displaying the
full printed page.
The attached image "Preview_Zoomed.PNG" shows the print preview at maximum
zoom.

As you can see, the scaling of the text is not consistent at the different zoom
levels.  The text generated by 'cairo_show_text' and 'cairo_show_glyphs' seem
to be rendered at a consistent size no matter what zoom level is used in the
preview.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the cairo-bugs mailing list