Patch from Tor Lillqvist <tml@novell.com>

Define TT_PRIM_CSPLINE if it wasn't in the headers. (_get_system_quality): Add missing variable smoothing_type.
This commit is contained in:
Owen Taylor 2005-07-22 07:15:57 +00:00
parent e9c321e66b
commit 5fb1c80333
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2005-07-22 Owen Taylor <otaylor@redhat.com>
Patch from Tor Lillqvist <tml@novell.com>
* src/cairo-win32-font.c: Define TT_PRIM_CSPLINE if it wasn't in
the headers.
(_get_system_quality): Add missing variable smoothing_type.
2005-07-22 Carl Worth <cworth@cworth.org>
* src/cairoint.h: Get the case right. It's cairo, not Cairo.

View file

@ -46,6 +46,9 @@
#ifndef CLEARTYPE_QUALITY
#define CLEARTYPE_QUALITY 5
#endif
#ifndef TT_PRIM_CSPLINE
#define TT_PRIM_CSPLINE 3
#endif
const cairo_scaled_font_backend_t cairo_win32_scaled_font_backend;
@ -185,6 +188,7 @@ static BYTE
_get_system_quality (void)
{
BOOL font_smoothing;
UINT smoothing_type;
if (!SystemParametersInfo (SPI_GETFONTSMOOTHING, 0, &font_smoothing, 0)) {
_cairo_win32_print_gdi_error ("_get_system_quality");