mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 13:28:03 +02:00
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:
parent
e9c321e66b
commit
5fb1c80333
2 changed files with 12 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue