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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 18 13:34:02 PDT 2010


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

Brent Fulgham <bfulgham at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #35732|0                           |1
        is obsolete|                            |

--- Comment #4 from Brent Fulgham <bfulgham at webkit.org> 2010-05-18 13:34:01 PDT ---
Created an attachment (id=35739)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=35739)
Example project demonstrating the problem.

Scaled down with less visual-studio generated cruft.

All the drawing logic is in the file 'cairo_test.cpp', and consists of some
sample code from the cairographics.org website, and the glyph test code from
the cairo sources.

The only other file of interest is 'Cairo_Preview_TestView.cpp', in its
"OnDraw" function.  This sets up a drawing context (either a print surface or a
display surface) and performs the drawing.

Setup of the HDC used in printing, display, or previewing is done somewhere in
the bowels of the MFC runtime.

-- 
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