From 0c030d3b768718eac5d429d0c819934f32896b25 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 26 Sep 2008 15:26:40 +0100 Subject: [boilerplate] Add svg-1.2 target. SVG 1.2 is sufficiently different from 1.1 that it has separate code paths within cairo-svg-surface and so justifies its own boilerplate target. --- boilerplate/cairo-boilerplate-svg-private.h | 30 +++++++--- boilerplate/cairo-boilerplate-svg.c | 48 +++++++++++++-- boilerplate/cairo-boilerplate.c | 24 ++++++-- test/Makefile.am | 66 ++++++++++++++------- test/caps-joins-alpha-svg-ref.png | Bin 2454 -> 0 bytes test/caps-joins-alpha-svg11-ref.png | Bin 0 -> 2454 bytes test/caps-joins-alpha-svg12-ref.png | Bin 0 -> 2454 bytes test/font-matrix-translation-svg-ref.png | Bin 970 -> 0 bytes test/font-matrix-translation-svg11-ref.png | Bin 0 -> 970 bytes test/font-matrix-translation-svg12-ref.png | Bin 0 -> 970 bytes test/ft-show-glyphs-positioning-svg-ref.png | Bin 6590 -> 0 bytes test/ft-show-glyphs-positioning-svg11-ref.png | Bin 0 -> 6590 bytes test/ft-show-glyphs-positioning-svg12-ref.png | Bin 0 -> 6590 bytes test/ft-text-vertical-layout-type1-svg-ref.png | Bin 3973 -> 0 bytes test/ft-text-vertical-layout-type1-svg11-ref.png | Bin 0 -> 3973 bytes test/ft-text-vertical-layout-type1-svg12-ref.png | Bin 0 -> 3973 bytes test/ft-text-vertical-layout-type3-svg-ref.png | Bin 3957 -> 0 bytes test/ft-text-vertical-layout-type3-svg11-ref.png | Bin 0 -> 3957 bytes test/ft-text-vertical-layout-type3-svg12-ref.png | Bin 0 -> 3957 bytes test/linear-gradient-svg-ref.png | Bin 1000 -> 0 bytes test/linear-gradient-svg11-ref.png | Bin 0 -> 1000 bytes test/linear-gradient-svg12-ref.png | Bin 0 -> 1000 bytes test/mask-alpha-svg-argb32-ref.png | Bin 615 -> 0 bytes test/mask-alpha-svg11-argb32-ref.png | Bin 0 -> 615 bytes test/mask-alpha-svg12-argb32-ref.png | Bin 0 -> 615 bytes test/mask-ctm-svg-argb32-ref.png | Bin 108 -> 0 bytes test/mask-ctm-svg11-argb32-ref.png | Bin 0 -> 108 bytes test/mask-ctm-svg12-argb32-ref.png | Bin 0 -> 108 bytes test/mask-surface-ctm-svg-argb32-ref.png | Bin 108 -> 0 bytes test/mask-surface-ctm-svg11-argb32-ref.png | Bin 0 -> 108 bytes test/mask-surface-ctm-svg12-argb32-ref.png | Bin 0 -> 108 bytes test/mask-svg-argb32-ref.png | Bin 8527 -> 0 bytes test/mask-svg-rgb24-ref.png | Bin 7935 -> 0 bytes test/mask-svg11-argb32-ref.png | Bin 0 -> 8527 bytes test/mask-svg11-rgb24-ref.png | Bin 0 -> 7935 bytes test/mask-svg12-argb32-ref.png | Bin 0 -> 8527 bytes test/mask-svg12-rgb24-ref.png | Bin 0 -> 7935 bytes test/mask-transformed-similar-svg-ref.png | Bin 4051 -> 0 bytes test/mask-transformed-similar-svg11-ref.png | Bin 0 -> 4051 bytes test/mask-transformed-similar-svg12-ref.png | Bin 0 -> 4051 bytes test/meta-surface-pattern-svg-argb32-ref.png | Bin 3924 -> 0 bytes test/meta-surface-pattern-svg-rgb24-ref.png | Bin 4593 -> 0 bytes test/meta-surface-pattern-svg11-argb32-ref.png | Bin 0 -> 3924 bytes test/meta-surface-pattern-svg11-rgb24-ref.png | Bin 0 -> 4593 bytes test/meta-surface-pattern-svg12-argb32-ref.png | Bin 0 -> 3924 bytes test/meta-surface-pattern-svg12-rgb24-ref.png | Bin 0 -> 4593 bytes test/paint-source-alpha-svg-ref.png | Bin 505 -> 0 bytes test/paint-source-alpha-svg11-ref.png | Bin 0 -> 505 bytes test/paint-source-alpha-svg12-ref.png | Bin 0 -> 505 bytes test/paint-with-alpha-svg-ref.png | Bin 516 -> 0 bytes test/paint-with-alpha-svg11-ref.png | Bin 0 -> 516 bytes test/paint-with-alpha-svg12-ref.png | Bin 0 -> 516 bytes test/push-group-svg-argb32-ref.png | Bin 2935 -> 0 bytes test/push-group-svg11-argb32-ref.png | Bin 0 -> 2935 bytes test/push-group-svg12-argb32-ref.png | Bin 0 -> 2935 bytes test/radial-gradient-svg-ref.png | Bin 91039 -> 0 bytes test/radial-gradient-svg11-ref.png | Bin 0 -> 91039 bytes test/radial-gradient-svg12-ref.png | Bin 0 -> 91039 bytes test/rotate-image-surface-paint-svg-ref.png | Bin 248 -> 0 bytes test/rotate-image-surface-paint-svg11-ref.png | Bin 0 -> 248 bytes test/rotate-image-surface-paint-svg12-ref.png | Bin 0 -> 248 bytes test/scale-source-surface-paint-svg-argb32-ref.png | Bin 182 -> 0 bytes test/scale-source-surface-paint-svg-rgb24-ref.png | Bin 192 -> 0 bytes ...scale-source-surface-paint-svg11-argb32-ref.png | Bin 0 -> 182 bytes .../scale-source-surface-paint-svg11-rgb24-ref.png | Bin 0 -> 192 bytes ...scale-source-surface-paint-svg12-argb32-ref.png | Bin 0 -> 182 bytes .../scale-source-surface-paint-svg12-rgb24-ref.png | Bin 0 -> 192 bytes test/set-source-svg-argb32-ref.png | Bin 104 -> 0 bytes test/set-source-svg11-argb32-ref.png | Bin 0 -> 104 bytes test/set-source-svg12-argb32-ref.png | Bin 0 -> 104 bytes test/smask-fill-svg-ref.png | Bin 1166 -> 0 bytes test/smask-fill-svg11-ref.png | Bin 0 -> 1166 bytes test/smask-fill-svg12-ref.png | Bin 0 -> 1166 bytes test/smask-mask-svg-ref.png | Bin 2529 -> 0 bytes test/smask-mask-svg11-ref.png | Bin 0 -> 2529 bytes test/smask-mask-svg12-ref.png | Bin 0 -> 2529 bytes test/smask-paint-svg-ref.png | Bin 2612 -> 0 bytes test/smask-paint-svg11-ref.png | Bin 0 -> 2612 bytes test/smask-paint-svg12-ref.png | Bin 0 -> 2612 bytes test/smask-svg-ref.png | Bin 3634 -> 0 bytes test/smask-svg11-ref.png | Bin 0 -> 3634 bytes test/smask-svg12-ref.png | Bin 0 -> 3634 bytes test/smask-text-svg-ref.png | Bin 1886 -> 0 bytes test/smask-text-svg11-ref.png | Bin 0 -> 1886 bytes test/smask-text-svg12-ref.png | Bin 0 -> 1886 bytes test/source-clip-scale-svg-ref.png | Bin 119 -> 0 bytes test/source-clip-scale-svg11-ref.png | Bin 0 -> 119 bytes test/source-clip-scale-svg12-ref.png | Bin 0 -> 119 bytes test/surface-pattern-svg-ref.png | Bin 17663 -> 0 bytes test/surface-pattern-svg11-ref.png | Bin 0 -> 17663 bytes test/surface-pattern-svg12-ref.png | Bin 0 -> 17663 bytes test/text-pattern-svg-argb32-ref.png | Bin 1733 -> 0 bytes test/text-pattern-svg-rgb24-ref.png | Bin 1563 -> 0 bytes test/text-pattern-svg11-argb32-ref.png | Bin 0 -> 1733 bytes test/text-pattern-svg11-rgb24-ref.png | Bin 0 -> 1563 bytes test/text-pattern-svg12-argb32-ref.png | Bin 0 -> 1733 bytes test/text-pattern-svg12-rgb24-ref.png | Bin 0 -> 1563 bytes test/text-rotate-svg-ref.png | Bin 18301 -> 0 bytes test/text-rotate-svg11-ref.png | Bin 0 -> 18301 bytes test/text-rotate-svg12-ref.png | Bin 0 -> 18301 bytes test/user-font-proxy-svg-ref.png | Bin 17902 -> 0 bytes test/user-font-proxy-svg11-ref.png | Bin 0 -> 17902 bytes test/user-font-proxy-svg12-ref.png | Bin 0 -> 17902 bytes test/user-font-rescale-svg-ref.png | Bin 15741 -> 0 bytes test/user-font-rescale-svg11-ref.png | Bin 0 -> 15741 bytes test/user-font-rescale-svg12-ref.png | Bin 0 -> 15741 bytes test/user-font-svg-ref.png | Bin 6134 -> 0 bytes test/user-font-svg11-ref.png | Bin 0 -> 6134 bytes test/user-font-svg12-ref.png | Bin 0 -> 6134 bytes 109 files changed, 128 insertions(+), 40 deletions(-) delete mode 100644 test/caps-joins-alpha-svg-ref.png create mode 100644 test/caps-joins-alpha-svg11-ref.png create mode 100644 test/caps-joins-alpha-svg12-ref.png delete mode 100644 test/font-matrix-translation-svg-ref.png create mode 100644 test/font-matrix-translation-svg11-ref.png create mode 100644 test/font-matrix-translation-svg12-ref.png delete mode 100644 test/ft-show-glyphs-positioning-svg-ref.png create mode 100644 test/ft-show-glyphs-positioning-svg11-ref.png create mode 100644 test/ft-show-glyphs-positioning-svg12-ref.png delete mode 100644 test/ft-text-vertical-layout-type1-svg-ref.png create mode 100644 test/ft-text-vertical-layout-type1-svg11-ref.png create mode 100644 test/ft-text-vertical-layout-type1-svg12-ref.png delete mode 100644 test/ft-text-vertical-layout-type3-svg-ref.png create mode 100644 test/ft-text-vertical-layout-type3-svg11-ref.png create mode 100644 test/ft-text-vertical-layout-type3-svg12-ref.png delete mode 100644 test/linear-gradient-svg-ref.png create mode 100644 test/linear-gradient-svg11-ref.png create mode 100644 test/linear-gradient-svg12-ref.png delete mode 100644 test/mask-alpha-svg-argb32-ref.png create mode 100644 test/mask-alpha-svg11-argb32-ref.png create mode 100644 test/mask-alpha-svg12-argb32-ref.png delete mode 100644 test/mask-ctm-svg-argb32-ref.png create mode 100644 test/mask-ctm-svg11-argb32-ref.png create mode 100644 test/mask-ctm-svg12-argb32-ref.png delete mode 100644 test/mask-surface-ctm-svg-argb32-ref.png create mode 100644 test/mask-surface-ctm-svg11-argb32-ref.png create mode 100644 test/mask-surface-ctm-svg12-argb32-ref.png delete mode 100644 test/mask-svg-argb32-ref.png delete mode 100644 test/mask-svg-rgb24-ref.png create mode 100644 test/mask-svg11-argb32-ref.png create mode 100644 test/mask-svg11-rgb24-ref.png create mode 100644 test/mask-svg12-argb32-ref.png create mode 100644 test/mask-svg12-rgb24-ref.png delete mode 100644 test/mask-transformed-similar-svg-ref.png create mode 100644 test/mask-transformed-similar-svg11-ref.png create mode 100644 test/mask-transformed-similar-svg12-ref.png delete mode 100644 test/meta-surface-pattern-svg-argb32-ref.png delete mode 100644 test/meta-surface-pattern-svg-rgb24-ref.png create mode 100644 test/meta-surface-pattern-svg11-argb32-ref.png create mode 100644 test/meta-surface-pattern-svg11-rgb24-ref.png create mode 100644 test/meta-surface-pattern-svg12-argb32-ref.png create mode 100644 test/meta-surface-pattern-svg12-rgb24-ref.png delete mode 100644 test/paint-source-alpha-svg-ref.png create mode 100644 test/paint-source-alpha-svg11-ref.png create mode 100644 test/paint-source-alpha-svg12-ref.png delete mode 100644 test/paint-with-alpha-svg-ref.png create mode 100644 test/paint-with-alpha-svg11-ref.png create mode 100644 test/paint-with-alpha-svg12-ref.png delete mode 100644 test/push-group-svg-argb32-ref.png create mode 100644 test/push-group-svg11-argb32-ref.png create mode 100644 test/push-group-svg12-argb32-ref.png delete mode 100644 test/radial-gradient-svg-ref.png create mode 100644 test/radial-gradient-svg11-ref.png create mode 100644 test/radial-gradient-svg12-ref.png delete mode 100644 test/rotate-image-surface-paint-svg-ref.png create mode 100644 test/rotate-image-surface-paint-svg11-ref.png create mode 100644 test/rotate-image-surface-paint-svg12-ref.png delete mode 100644 test/scale-source-surface-paint-svg-argb32-ref.png delete mode 100644 test/scale-source-surface-paint-svg-rgb24-ref.png create mode 100644 test/scale-source-surface-paint-svg11-argb32-ref.png create mode 100644 test/scale-source-surface-paint-svg11-rgb24-ref.png create mode 100644 test/scale-source-surface-paint-svg12-argb32-ref.png create mode 100644 test/scale-source-surface-paint-svg12-rgb24-ref.png delete mode 100644 test/set-source-svg-argb32-ref.png create mode 100644 test/set-source-svg11-argb32-ref.png create mode 100644 test/set-source-svg12-argb32-ref.png delete mode 100644 test/smask-fill-svg-ref.png create mode 100644 test/smask-fill-svg11-ref.png create mode 100644 test/smask-fill-svg12-ref.png delete mode 100644 test/smask-mask-svg-ref.png create mode 100644 test/smask-mask-svg11-ref.png create mode 100644 test/smask-mask-svg12-ref.png delete mode 100644 test/smask-paint-svg-ref.png create mode 100644 test/smask-paint-svg11-ref.png create mode 100644 test/smask-paint-svg12-ref.png delete mode 100644 test/smask-svg-ref.png create mode 100644 test/smask-svg11-ref.png create mode 100644 test/smask-svg12-ref.png delete mode 100644 test/smask-text-svg-ref.png create mode 100644 test/smask-text-svg11-ref.png create mode 100644 test/smask-text-svg12-ref.png delete mode 100644 test/source-clip-scale-svg-ref.png create mode 100644 test/source-clip-scale-svg11-ref.png create mode 100644 test/source-clip-scale-svg12-ref.png delete mode 100644 test/surface-pattern-svg-ref.png create mode 100644 test/surface-pattern-svg11-ref.png create mode 100644 test/surface-pattern-svg12-ref.png delete mode 100644 test/text-pattern-svg-argb32-ref.png delete mode 100644 test/text-pattern-svg-rgb24-ref.png create mode 100644 test/text-pattern-svg11-argb32-ref.png create mode 100644 test/text-pattern-svg11-rgb24-ref.png create mode 100644 test/text-pattern-svg12-argb32-ref.png create mode 100644 test/text-pattern-svg12-rgb24-ref.png delete mode 100644 test/text-rotate-svg-ref.png create mode 100644 test/text-rotate-svg11-ref.png create mode 100644 test/text-rotate-svg12-ref.png delete mode 100644 test/user-font-proxy-svg-ref.png create mode 100644 test/user-font-proxy-svg11-ref.png create mode 100644 test/user-font-proxy-svg12-ref.png delete mode 100644 test/user-font-rescale-svg-ref.png create mode 100644 test/user-font-rescale-svg11-ref.png create mode 100644 test/user-font-rescale-svg12-ref.png delete mode 100644 test/user-font-svg-ref.png create mode 100644 test/user-font-svg11-ref.png create mode 100644 test/user-font-svg12-ref.png diff --git a/boilerplate/cairo-boilerplate-svg-private.h b/boilerplate/cairo-boilerplate-svg-private.h index ea429488..075bdcd1 100644 --- a/boilerplate/cairo-boilerplate-svg-private.h +++ b/boilerplate/cairo-boilerplate-svg-private.h @@ -28,15 +28,27 @@ #define _CAIRO_BOILERPLATE_SVG_PRIVATE_H_ cairo_surface_t * -_cairo_boilerplate_svg_create_surface (const char *name, - cairo_content_t content, - int width, - int height, - int max_width, - int max_height, - cairo_boilerplate_mode_t mode, - int id, - void **closure); +_cairo_boilerplate_svg11_create_surface (const char *name, + cairo_content_t content, + int width, + int height, + int max_width, + int max_height, + cairo_boilerplate_mode_t mode, + int id, + void **closure); + +cairo_surface_t * +_cairo_boilerplate_svg12_create_surface (const char *name, + cairo_content_t content, + int width, + int height, + int max_width, + int max_height, + cairo_boilerplate_mode_t mode, + int id, + void **closure); + cairo_status_t _cairo_boilerplate_svg_finish_surface (cairo_surface_t *surface); diff --git a/boilerplate/cairo-boilerplate-svg.c b/boilerplate/cairo-boilerplate-svg.c index c3ad8d2f..227088cc 100644 --- a/boilerplate/cairo-boilerplate-svg.c +++ b/boilerplate/cairo-boilerplate-svg.c @@ -39,16 +39,16 @@ cairo_user_data_key_t svg_closure_key; -typedef struct _svg_target_closure -{ +typedef struct _svg_target_closure { char *filename; int width, height; cairo_surface_t *target; } svg_target_closure_t; -cairo_surface_t * +static cairo_surface_t * _cairo_boilerplate_svg_create_surface (const char *name, cairo_content_t content, + cairo_svg_version_t version, int width, int height, int max_width, @@ -73,6 +73,7 @@ _cairo_boilerplate_svg_create_surface (const char *name, if (cairo_surface_status (surface)) goto CLEANUP_FILENAME; + cairo_svg_surface_restrict_to_version (surface, version); cairo_surface_set_fallback_resolution (surface, 72., 72.); if (content == CAIRO_CONTENT_COLOR) { @@ -101,6 +102,45 @@ _cairo_boilerplate_svg_create_surface (const char *name, return surface; } +cairo_surface_t * +_cairo_boilerplate_svg11_create_surface (const char *name, + cairo_content_t content, + int width, + int height, + int max_width, + int max_height, + cairo_boilerplate_mode_t mode, + int id, + void **closure) +{ + /* current default, but be explicit in case the default changes */ + return _cairo_boilerplate_svg_create_surface (name, content, + CAIRO_SVG_VERSION_1_1, + width, height, + max_width, max_height, + mode, id, + closure); +} + +cairo_surface_t * +_cairo_boilerplate_svg12_create_surface (const char *name, + cairo_content_t content, + int width, + int height, + int max_width, + int max_height, + cairo_boilerplate_mode_t mode, + int id, + void **closure) +{ + return _cairo_boilerplate_svg_create_surface (name, content, + CAIRO_SVG_VERSION_1_2, + width, height, + max_width, max_height, + mode, id, + closure); +} + cairo_status_t _cairo_boilerplate_svg_finish_surface (cairo_surface_t *surface) { @@ -207,7 +247,7 @@ cairo_boilerplate_svg_surface_force_fallbacks (cairo_surface_t *abstract_surface cairo_paginated_surface_t *paginated = (cairo_paginated_surface_t*) abstract_surface; cairo_svg_surface_t *surface; - if (cairo_surface_get_type (abstract_surface) != CAIRO_SURFACE_TYPE_PDF) + if (cairo_surface_get_type (abstract_surface) != CAIRO_SURFACE_TYPE_SVG) return CAIRO_STATUS_SURFACE_TYPE_MISMATCH; surface = (cairo_svg_surface_t*) paginated->target; diff --git a/boilerplate/cairo-boilerplate.c b/boilerplate/cairo-boilerplate.c index 65898e16..7c9890f3 100644 --- a/boilerplate/cairo-boilerplate.c +++ b/boilerplate/cairo-boilerplate.c @@ -479,20 +479,34 @@ static cairo_boilerplate_target_t targets[] = NULL, TRUE }, #endif #if CAIRO_HAS_SVG_SURFACE && CAIRO_CAN_TEST_SVG_SURFACE - /* It seems we should be able to round-trip SVG content perfrectly + /* It seems we should be able to round-trip SVG content perfectly * through librsvg and cairo, but for some mysterious reason, some * systems get an error of 1 for some pixels on some of the text * tests. XXX: I'd still like to chase these down at some point. * For now just set the svg error tolerance to 1. */ - { "svg", ".svg", CAIRO_SURFACE_TYPE_SVG, CAIRO_CONTENT_COLOR_ALPHA, 1, - _cairo_boilerplate_svg_create_surface, + { "svg11", ".svg", CAIRO_SURFACE_TYPE_SVG, CAIRO_CONTENT_COLOR_ALPHA, 1, + _cairo_boilerplate_svg11_create_surface, _cairo_boilerplate_svg_finish_surface, _cairo_boilerplate_svg_get_image_surface, _cairo_boilerplate_svg_surface_write_to_png, _cairo_boilerplate_svg_cleanup, NULL, TRUE }, - { "svg", ".svg", CAIRO_INTERNAL_SURFACE_TYPE_META, CAIRO_CONTENT_COLOR, 1, - _cairo_boilerplate_svg_create_surface, + { "svg11", ".svg", CAIRO_INTERNAL_SURFACE_TYPE_META, CAIRO_CONTENT_COLOR, 1, + _cairo_boilerplate_svg11_create_surface, + _cairo_boilerplate_svg_finish_surface, + _cairo_boilerplate_svg_get_image_surface, + _cairo_boilerplate_svg_surface_write_to_png, + _cairo_boilerplate_svg_cleanup, + NULL, TRUE }, + { "svg12", ".svg", CAIRO_SURFACE_TYPE_SVG, CAIRO_CONTENT_COLOR_ALPHA, 1, + _cairo_boilerplate_svg12_create_surface, + _cairo_boilerplate_svg_finish_surface, + _cairo_boilerplate_svg_get_image_surface, + _cairo_boilerplate_svg_surface_write_to_png, + _cairo_boilerplate_svg_cleanup, + NULL, TRUE }, + { "svg12", ".svg", CAIRO_INTERNAL_SURFACE_TYPE_META, CAIRO_CONTENT_COLOR, 1, + _cairo_boilerplate_svg12_create_surface, _cairo_boilerplate_svg_finish_surface, _cairo_boilerplate_svg_get_image_surface, _cairo_boilerplate_svg_surface_write_to_png, diff --git a/test/Makefile.am b/test/Makefile.am index 1081bb0a..0a0d499b 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -307,7 +307,8 @@ REFERENCE_IMAGES = \ bitmap-font-rgb24-ref.png \ caps-joins-alpha-quartz-ref.png \ caps-joins-alpha-ref.png \ - caps-joins-alpha-svg-ref.png \ + caps-joins-alpha-svg12-ref.png \ + caps-joins-alpha-svg11-ref.png \ caps-joins-ref.png \ caps-joins-ps-ref.png \ caps-sub-paths-ref.png \ @@ -442,24 +443,28 @@ REFERENCE_IMAGES = \ font-matrix-translation-ps-argb32-ref.png \ font-matrix-translation-ps-rgb24-ref.png \ font-matrix-translation-ref.png \ - font-matrix-translation-svg-ref.png \ + font-matrix-translation-svg12-ref.png \ + font-matrix-translation-svg11-ref.png \ font-matrix-translation-quartz-ref.png \ ft-text-antialias-none-ps-argb32-ref.png \ ft-text-antialias-none-ref.png \ ft-show-glyphs-positioning-ref.png \ ft-show-glyphs-positioning-pdf-ref.png \ ft-show-glyphs-positioning-ps-ref.png \ - ft-show-glyphs-positioning-svg-ref.png \ + ft-show-glyphs-positioning-svg12-ref.png \ + ft-show-glyphs-positioning-svg11-ref.png \ ft-show-glyphs-table-ref.png \ ft-show-glyphs-table-ps-ref.png \ ft-text-vertical-layout-type1-pdf-ref.png \ ft-text-vertical-layout-type1-ps-ref.png \ ft-text-vertical-layout-type1-ref.png \ - ft-text-vertical-layout-type1-svg-ref.png \ + ft-text-vertical-layout-type1-svg12-ref.png \ + ft-text-vertical-layout-type1-svg11-ref.png \ ft-text-vertical-layout-type3-pdf-ref.png \ ft-text-vertical-layout-type3-ps-ref.png \ ft-text-vertical-layout-type3-ref.png \ - ft-text-vertical-layout-type3-svg-ref.png \ + ft-text-vertical-layout-type3-svg12-ref.png \ + ft-text-vertical-layout-type3-svg11-ref.png \ get-group-target-ref.png \ glitz-surface-source-ref.png \ glyph-cache-pressure-ref.png \ @@ -503,7 +508,8 @@ REFERENCE_IMAGES = \ linear-gradient-ps-ref.png \ linear-gradient-quartz-ref.png \ linear-gradient-ref.png \ - linear-gradient-svg-ref.png \ + linear-gradient-svg12-ref.png \ + linear-gradient-svg11-ref.png \ line-width-ref.png \ line-width-scale-ps-ref.png \ line-width-scale-quartz-ref.png \ @@ -533,7 +539,8 @@ REFERENCE_IMAGES = \ mask-transformed-image-ref.png \ mask-transformed-similar-ref.png \ mask-transformed-similar-pdf-ref.png \ - mask-transformed-similar-svg-ref.png \ + mask-transformed-similar-svg12-ref.png \ + mask-transformed-similar-svg11-ref.png \ meta-surface-pattern-ref.png \ meta-surface-pattern-rgb24-ref.png \ meta-surface-pattern-pdf-ref.png \ @@ -593,9 +600,11 @@ REFERENCE_IMAGES = \ paint-repeat-ref.png \ paint-source-alpha-pdf-argb32-ref.png \ paint-source-alpha-ref.png \ - paint-source-alpha-svg-ref.png \ + paint-source-alpha-svg12-ref.png \ + paint-source-alpha-svg11-ref.png \ paint-with-alpha-ref.png \ - paint-with-alpha-svg-ref.png \ + paint-with-alpha-svg12-ref.png \ + paint-with-alpha-svg11-ref.png \ paint-source-alpha-pdf-ref.png \ paint-with-alpha-pdf-ref.png \ pattern-getters-ref.png \ @@ -611,7 +620,8 @@ REFERENCE_IMAGES = \ radial-gradient-ref.png \ radial-gradient-pdf-ref.png \ radial-gradient-quartz-ref.png \ - radial-gradient-svg-ref.png \ + radial-gradient-svg12-ref.png \ + radial-gradient-svg11-ref.png \ random-intersections-ref.png \ random-intersections-ps-ref.png \ random-intersections-quartz-ref.png \ @@ -634,7 +644,8 @@ REFERENCE_IMAGES = \ rotate-image-surface-paint-pdf-argb32-ref.png \ rotate-image-surface-paint-quartz-ref.png \ rotate-image-surface-paint-ref.png \ - rotate-image-surface-paint-svg-ref.png \ + rotate-image-surface-paint-svg12-ref.png \ + rotate-image-surface-paint-svg11-ref.png \ scale-down-source-surface-paint-ref.png \ scale-source-surface-paint-pdf-argb32-ref.png \ scale-source-surface-paint-ref.png \ @@ -665,24 +676,29 @@ REFERENCE_IMAGES = \ smask-ref.png \ smask-pdf-ref.png \ smask-ps-ref.png \ - smask-svg-ref.png \ + smask-svg12-ref.png \ + smask-svg11-ref.png \ smask-fill-ref.png \ smask-fill-pdf-ref.png \ - smask-fill-svg-ref.png \ + smask-fill-svg12-ref.png \ + smask-fill-svg11-ref.png \ smask-image-mask-ref.png \ smask-image-mask-pdf-ref.png \ smask-mask-ref.png \ smask-mask-pdf-ref.png \ - smask-mask-svg-ref.png \ + smask-mask-svg12-ref.png \ + smask-mask-svg11-ref.png \ smask-paint-ref.png \ smask-paint-pdf-ref.png \ - smask-paint-svg-ref.png \ + smask-paint-svg12-ref.png \ + smask-paint-svg11-ref.png \ smask-stroke-ref.png \ smask-stroke-pdf-ref.png \ smask-text-ref.png \ smask-text-pdf-ref.png \ smask-text-ps-ref.png \ - smask-text-svg-ref.png \ + smask-text-svg12-ref.png \ + smask-text-svg11-ref.png \ stroke-image-ref.png \ stroke-image-pdf-ref.png \ stroke-image-ps-ref.png \ @@ -693,7 +709,8 @@ REFERENCE_IMAGES = \ source-clip-scale-ps-argb32-ref.png \ source-clip-scale-ps-rgb24-ref.png \ source-clip-scale-ref.png \ - source-clip-scale-svg-ref.png \ + source-clip-scale-svg12-ref.png \ + source-clip-scale-svg11-ref.png \ source-clip-scale-pdf-ref.png \ source-surface-scale-paint-ref.png \ source-surface-scale-paint-rgb24-ref.png \ @@ -709,7 +726,8 @@ REFERENCE_IMAGES = \ surface-pattern-scale-up-pdf-argb32-ref.png \ surface-pattern-scale-up-ps-argb32-ref.png \ surface-pattern-scale-up-ref.png \ - surface-pattern-svg-ref.png \ + surface-pattern-svg12-ref.png \ + surface-pattern-svg11-ref.png \ svg-surface-source-ref.png \ text-antialias-gray-ref.png \ text-antialias-gray-quartz-ref.png \ @@ -732,7 +750,8 @@ REFERENCE_IMAGES = \ text-rotate-ref.png \ text-rotate-pdf-ref.png \ text-rotate-ps-ref.png \ - text-rotate-svg-ref.png \ + text-rotate-svg12-ref.png \ + text-rotate-svg11-ref.png \ text-rotate-quartz-ref.png \ text-transform-ref.png \ text-transform-pdf-ref.png \ @@ -754,14 +773,17 @@ REFERENCE_IMAGES = \ unbounded-operator-rgb24-ref.png \ user-font-ref.png \ user-font-ps-ref.png \ - user-font-svg-ref.png \ + user-font-svg12-ref.png \ + user-font-svg11-ref.png \ user-font-proxy-ref.png \ user-font-proxy-pdf-ref.png \ user-font-proxy-ps-ref.png \ - user-font-proxy-svg-ref.png \ + user-font-proxy-svg12-ref.png \ + user-font-proxy-svg11-ref.png \ user-font-rescale-ref.png \ user-font-rescale-ps-ref.png \ - user-font-rescale-svg-ref.png \ + user-font-rescale-svg12-ref.png \ + user-font-rescale-svg11-ref.png \ unbounded-operator-quartz-ref.png \ unbounded-operator-quartz-rgb24-ref.png \ xlib-expose-event-ref.png \ diff --git a/test/caps-joins-alpha-svg-ref.png b/test/caps-joins-alpha-svg-ref.png deleted file mode 100644 index 24689364..00000000 Binary files a/test/caps-joins-alpha-svg-ref.png and /dev/null differ diff --git a/test/caps-joins-alpha-svg11-ref.png b/test/caps-joins-alpha-svg11-ref.png new file mode 100644 index 00000000..24689364 Binary files /dev/null and b/test/caps-joins-alpha-svg11-ref.png differ diff --git a/test/caps-joins-alpha-svg12-ref.png b/test/caps-joins-alpha-svg12-ref.png new file mode 100644 index 00000000..24689364 Binary files /dev/null and b/test/caps-joins-alpha-svg12-ref.png differ diff --git a/test/font-matrix-translation-svg-ref.png b/test/font-matrix-translation-svg-ref.png deleted file mode 100644 index 92ad17b2..00000000 Binary files a/test/font-matrix-translation-svg-ref.png and /dev/null differ diff --git a/test/font-matrix-translation-svg11-ref.png b/test/font-matrix-translation-svg11-ref.png new file mode 100644 index 00000000..92ad17b2 Binary files /dev/null and b/test/font-matrix-translation-svg11-ref.png differ diff --git a/test/font-matrix-translation-svg12-ref.png b/test/font-matrix-translation-svg12-ref.png new file mode 100644 index 00000000..92ad17b2 Binary files /dev/null and b/test/font-matrix-translation-svg12-ref.png differ diff --git a/test/ft-show-glyphs-positioning-svg-ref.png b/test/ft-show-glyphs-positioning-svg-ref.png deleted file mode 100644 index 43b83cbe..00000000 Binary files a/test/ft-show-glyphs-positioning-svg-ref.png and /dev/null differ diff --git a/test/ft-show-glyphs-positioning-svg11-ref.png b/test/ft-show-glyphs-positioning-svg11-ref.png new file mode 100644 index 00000000..43b83cbe Binary files /dev/null and b/test/ft-show-glyphs-positioning-svg11-ref.png differ diff --git a/test/ft-show-glyphs-positioning-svg12-ref.png b/test/ft-show-glyphs-positioning-svg12-ref.png new file mode 100644 index 00000000..43b83cbe Binary files /dev/null and b/test/ft-show-glyphs-positioning-svg12-ref.png differ diff --git a/test/ft-text-vertical-layout-type1-svg-ref.png b/test/ft-text-vertical-layout-type1-svg-ref.png deleted file mode 100644 index 4ad4268b..00000000 Binary files a/test/ft-text-vertical-layout-type1-svg-ref.png and /dev/null differ diff --git a/test/ft-text-vertical-layout-type1-svg11-ref.png b/test/ft-text-vertical-layout-type1-svg11-ref.png new file mode 100644 index 00000000..4ad4268b Binary files /dev/null and b/test/ft-text-vertical-layout-type1-svg11-ref.png differ diff --git a/test/ft-text-vertical-layout-type1-svg12-ref.png b/test/ft-text-vertical-layout-type1-svg12-ref.png new file mode 100644 index 00000000..4ad4268b Binary files /dev/null and b/test/ft-text-vertical-layout-type1-svg12-ref.png differ diff --git a/test/ft-text-vertical-layout-type3-svg-ref.png b/test/ft-text-vertical-layout-type3-svg-ref.png deleted file mode 100644 index 7aa322db..00000000 Binary files a/test/ft-text-vertical-layout-type3-svg-ref.png and /dev/null differ diff --git a/test/ft-text-vertical-layout-type3-svg11-ref.png b/test/ft-text-vertical-layout-type3-svg11-ref.png new file mode 100644 index 00000000..7aa322db Binary files /dev/null and b/test/ft-text-vertical-layout-type3-svg11-ref.png differ diff --git a/test/ft-text-vertical-layout-type3-svg12-ref.png b/test/ft-text-vertical-layout-type3-svg12-ref.png new file mode 100644 index 00000000..7aa322db Binary files /dev/null and b/test/ft-text-vertical-layout-type3-svg12-ref.png differ diff --git a/test/linear-gradient-svg-ref.png b/test/linear-gradient-svg-ref.png deleted file mode 100644 index 4ed4bfa8..00000000 Binary files a/test/linear-gradient-svg-ref.png and /dev/null differ diff --git a/test/linear-gradient-svg11-ref.png b/test/linear-gradient-svg11-ref.png new file mode 100644 index 00000000..4ed4bfa8 Binary files /dev/null and b/test/linear-gradient-svg11-ref.png differ diff --git a/test/linear-gradient-svg12-ref.png b/test/linear-gradient-svg12-ref.png new file mode 100644 index 00000000..4ed4bfa8 Binary files /dev/null and b/test/linear-gradient-svg12-ref.png differ diff --git a/test/mask-alpha-svg-argb32-ref.png b/test/mask-alpha-svg-argb32-ref.png deleted file mode 100644 index 3e56aa34..00000000 Binary files a/test/mask-alpha-svg-argb32-ref.png and /dev/null differ diff --git a/test/mask-alpha-svg11-argb32-ref.png b/test/mask-alpha-svg11-argb32-ref.png new file mode 100644 index 00000000..3e56aa34 Binary files /dev/null and b/test/mask-alpha-svg11-argb32-ref.png differ diff --git a/test/mask-alpha-svg12-argb32-ref.png b/test/mask-alpha-svg12-argb32-ref.png new file mode 100644 index 00000000..3e56aa34 Binary files /dev/null and b/test/mask-alpha-svg12-argb32-ref.png differ diff --git a/test/mask-ctm-svg-argb32-ref.png b/test/mask-ctm-svg-argb32-ref.png deleted file mode 100644 index 049d5f0d..00000000 Binary files a/test/mask-ctm-svg-argb32-ref.png and /dev/null differ diff --git a/test/mask-ctm-svg11-argb32-ref.png b/test/mask-ctm-svg11-argb32-ref.png new file mode 100644 index 00000000..049d5f0d Binary files /dev/null and b/test/mask-ctm-svg11-argb32-ref.png differ diff --git a/test/mask-ctm-svg12-argb32-ref.png b/test/mask-ctm-svg12-argb32-ref.png new file mode 100644 index 00000000..049d5f0d Binary files /dev/null and b/test/mask-ctm-svg12-argb32-ref.png differ diff --git a/test/mask-surface-ctm-svg-argb32-ref.png b/test/mask-surface-ctm-svg-argb32-ref.png deleted file mode 100644 index 049d5f0d..00000000 Binary files a/test/mask-surface-ctm-svg-argb32-ref.png and /dev/null differ diff --git a/test/mask-surface-ctm-svg11-argb32-ref.png b/test/mask-surface-ctm-svg11-argb32-ref.png new file mode 100644 index 00000000..049d5f0d Binary files /dev/null and b/test/mask-surface-ctm-svg11-argb32-ref.png differ diff --git a/test/mask-surface-ctm-svg12-argb32-ref.png b/test/mask-surface-ctm-svg12-argb32-ref.png new file mode 100644 index 00000000..049d5f0d Binary files /dev/null and b/test/mask-surface-ctm-svg12-argb32-ref.png differ diff --git a/test/mask-svg-argb32-ref.png b/test/mask-svg-argb32-ref.png deleted file mode 100644 index c5828591..00000000 Binary files a/test/mask-svg-argb32-ref.png and /dev/null differ diff --git a/test/mask-svg-rgb24-ref.png b/test/mask-svg-rgb24-ref.png deleted file mode 100644 index 79957237..00000000 Binary files a/test/mask-svg-rgb24-ref.png and /dev/null differ diff --git a/test/mask-svg11-argb32-ref.png b/test/mask-svg11-argb32-ref.png new file mode 100644 index 00000000..c5828591 Binary files /dev/null and b/test/mask-svg11-argb32-ref.png differ diff --git a/test/mask-svg11-rgb24-ref.png b/test/mask-svg11-rgb24-ref.png new file mode 100644 index 00000000..79957237 Binary files /dev/null and b/test/mask-svg11-rgb24-ref.png differ diff --git a/test/mask-svg12-argb32-ref.png b/test/mask-svg12-argb32-ref.png new file mode 100644 index 00000000..c5828591 Binary files /dev/null and b/test/mask-svg12-argb32-ref.png differ diff --git a/test/mask-svg12-rgb24-ref.png b/test/mask-svg12-rgb24-ref.png new file mode 100644 index 00000000..79957237 Binary files /dev/null and b/test/mask-svg12-rgb24-ref.png differ diff --git a/test/mask-transformed-similar-svg-ref.png b/test/mask-transformed-similar-svg-ref.png deleted file mode 100644 index b4344cd1..00000000 Binary files a/test/mask-transformed-similar-svg-ref.png and /dev/null differ diff --git a/test/mask-transformed-similar-svg11-ref.png b/test/mask-transformed-similar-svg11-ref.png new file mode 100644 index 00000000..b4344cd1 Binary files /dev/null and b/test/mask-transformed-similar-svg11-ref.png differ diff --git a/test/mask-transformed-similar-svg12-ref.png b/test/mask-transformed-similar-svg12-ref.png new file mode 100644 index 00000000..b4344cd1 Binary files /dev/null and b/test/mask-transformed-similar-svg12-ref.png differ diff --git a/test/meta-surface-pattern-svg-argb32-ref.png b/test/meta-surface-pattern-svg-argb32-ref.png deleted file mode 100644 index 6250f26c..00000000 Binary files a/test/meta-surface-pattern-svg-argb32-ref.png and /dev/null differ diff --git a/test/meta-surface-pattern-svg-rgb24-ref.png b/test/meta-surface-pattern-svg-rgb24-ref.png deleted file mode 100644 index feda67da..00000000 Binary files a/test/meta-surface-pattern-svg-rgb24-ref.png and /dev/null differ diff --git a/test/meta-surface-pattern-svg11-argb32-ref.png b/test/meta-surface-pattern-svg11-argb32-ref.png new file mode 100644 index 00000000..6250f26c Binary files /dev/null and b/test/meta-surface-pattern-svg11-argb32-ref.png differ diff --git a/test/meta-surface-pattern-svg11-rgb24-ref.png b/test/meta-surface-pattern-svg11-rgb24-ref.png new file mode 100644 index 00000000..feda67da Binary files /dev/null and b/test/meta-surface-pattern-svg11-rgb24-ref.png differ diff --git a/test/meta-surface-pattern-svg12-argb32-ref.png b/test/meta-surface-pattern-svg12-argb32-ref.png new file mode 100644 index 00000000..6250f26c Binary files /dev/null and b/test/meta-surface-pattern-svg12-argb32-ref.png differ diff --git a/test/meta-surface-pattern-svg12-rgb24-ref.png b/test/meta-surface-pattern-svg12-rgb24-ref.png new file mode 100644 index 00000000..feda67da Binary files /dev/null and b/test/meta-surface-pattern-svg12-rgb24-ref.png differ diff --git a/test/paint-source-alpha-svg-ref.png b/test/paint-source-alpha-svg-ref.png deleted file mode 100644 index 3b3a990c..00000000 Binary files a/test/paint-source-alpha-svg-ref.png and /dev/null differ diff --git a/test/paint-source-alpha-svg11-ref.png b/test/paint-source-alpha-svg11-ref.png new file mode 100644 index 00000000..3b3a990c Binary files /dev/null and b/test/paint-source-alpha-svg11-ref.png differ diff --git a/test/paint-source-alpha-svg12-ref.png b/test/paint-source-alpha-svg12-ref.png new file mode 100644 index 00000000..3b3a990c Binary files /dev/null and b/test/paint-source-alpha-svg12-ref.png differ diff --git a/test/paint-with-alpha-svg-ref.png b/test/paint-with-alpha-svg-ref.png deleted file mode 100644 index 97a2100e..00000000 Binary files a/test/paint-with-alpha-svg-ref.png and /dev/null differ diff --git a/test/paint-with-alpha-svg11-ref.png b/test/paint-with-alpha-svg11-ref.png new file mode 100644 index 00000000..97a2100e Binary files /dev/null and b/test/paint-with-alpha-svg11-ref.png differ diff --git a/test/paint-with-alpha-svg12-ref.png b/test/paint-with-alpha-svg12-ref.png new file mode 100644 index 00000000..97a2100e Binary files /dev/null and b/test/paint-with-alpha-svg12-ref.png differ diff --git a/test/push-group-svg-argb32-ref.png b/test/push-group-svg-argb32-ref.png deleted file mode 100644 index 34f06bf7..00000000 Binary files a/test/push-group-svg-argb32-ref.png and /dev/null differ diff --git a/test/push-group-svg11-argb32-ref.png b/test/push-group-svg11-argb32-ref.png new file mode 100644 index 00000000..34f06bf7 Binary files /dev/null and b/test/push-group-svg11-argb32-ref.png differ diff --git a/test/push-group-svg12-argb32-ref.png b/test/push-group-svg12-argb32-ref.png new file mode 100644 index 00000000..34f06bf7 Binary files /dev/null and b/test/push-group-svg12-argb32-ref.png differ diff --git a/test/radial-gradient-svg-ref.png b/test/radial-gradient-svg-ref.png deleted file mode 100644 index 7e047019..00000000 Binary files a/test/radial-gradient-svg-ref.png and /dev/null differ diff --git a/test/radial-gradient-svg11-ref.png b/test/radial-gradient-svg11-ref.png new file mode 100644 index 00000000..7e047019 Binary files /dev/null and b/test/radial-gradient-svg11-ref.png differ diff --git a/test/radial-gradient-svg12-ref.png b/test/radial-gradient-svg12-ref.png new file mode 100644 index 00000000..7e047019 Binary files /dev/null and b/test/radial-gradient-svg12-ref.png differ diff --git a/test/rotate-image-surface-paint-svg-ref.png b/test/rotate-image-surface-paint-svg-ref.png deleted file mode 100644 index 5a75aef2..00000000 Binary files a/test/rotate-image-surface-paint-svg-ref.png and /dev/null differ diff --git a/test/rotate-image-surface-paint-svg11-ref.png b/test/rotate-image-surface-paint-svg11-ref.png new file mode 100644 index 00000000..5a75aef2 Binary files /dev/null and b/test/rotate-image-surface-paint-svg11-ref.png differ diff --git a/test/rotate-image-surface-paint-svg12-ref.png b/test/rotate-image-surface-paint-svg12-ref.png new file mode 100644 index 00000000..5a75aef2 Binary files /dev/null and b/test/rotate-image-surface-paint-svg12-ref.png differ diff --git a/test/scale-source-surface-paint-svg-argb32-ref.png b/test/scale-source-surface-paint-svg-argb32-ref.png deleted file mode 100644 index de274f95..00000000 Binary files a/test/scale-source-surface-paint-svg-argb32-ref.png and /dev/null differ diff --git a/test/scale-source-surface-paint-svg-rgb24-ref.png b/test/scale-source-surface-paint-svg-rgb24-ref.png deleted file mode 100644 index 099b8a0d..00000000 Binary files a/test/scale-source-surface-paint-svg-rgb24-ref.png and /dev/null differ diff --git a/test/scale-source-surface-paint-svg11-argb32-ref.png b/test/scale-source-surface-paint-svg11-argb32-ref.png new file mode 100644 index 00000000..de274f95 Binary files /dev/null and b/test/scale-source-surface-paint-svg11-argb32-ref.png differ diff --git a/test/scale-source-surface-paint-svg11-rgb24-ref.png b/test/scale-source-surface-paint-svg11-rgb24-ref.png new file mode 100644 index 00000000..099b8a0d Binary files /dev/null and b/test/scale-source-surface-paint-svg11-rgb24-ref.png differ diff --git a/test/scale-source-surface-paint-svg12-argb32-ref.png b/test/scale-source-surface-paint-svg12-argb32-ref.png new file mode 100644 index 00000000..de274f95 Binary files /dev/null and b/test/scale-source-surface-paint-svg12-argb32-ref.png differ diff --git a/test/scale-source-surface-paint-svg12-rgb24-ref.png b/test/scale-source-surface-paint-svg12-rgb24-ref.png new file mode 100644 index 00000000..099b8a0d Binary files /dev/null and b/test/scale-source-surface-paint-svg12-rgb24-ref.png differ diff --git a/test/set-source-svg-argb32-ref.png b/test/set-source-svg-argb32-ref.png deleted file mode 100644 index 754f1c46..00000000 Binary files a/test/set-source-svg-argb32-ref.png and /dev/null differ diff --git a/test/set-source-svg11-argb32-ref.png b/test/set-source-svg11-argb32-ref.png new file mode 100644 index 00000000..754f1c46 Binary files /dev/null and b/test/set-source-svg11-argb32-ref.png differ diff --git a/test/set-source-svg12-argb32-ref.png b/test/set-source-svg12-argb32-ref.png new file mode 100644 index 00000000..754f1c46 Binary files /dev/null and b/test/set-source-svg12-argb32-ref.png differ diff --git a/test/smask-fill-svg-ref.png b/test/smask-fill-svg-ref.png deleted file mode 100644 index 06ab12a6..00000000 Binary files a/test/smask-fill-svg-ref.png and /dev/null differ diff --git a/test/smask-fill-svg11-ref.png b/test/smask-fill-svg11-ref.png new file mode 100644 index 00000000..06ab12a6 Binary files /dev/null and b/test/smask-fill-svg11-ref.png differ diff --git a/test/smask-fill-svg12-ref.png b/test/smask-fill-svg12-ref.png new file mode 100644 index 00000000..06ab12a6 Binary files /dev/null and b/test/smask-fill-svg12-ref.png differ diff --git a/test/smask-mask-svg-ref.png b/test/smask-mask-svg-ref.png deleted file mode 100644 index 0820cd18..00000000 Binary files a/test/smask-mask-svg-ref.png and /dev/null differ diff --git a/test/smask-mask-svg11-ref.png b/test/smask-mask-svg11-ref.png new file mode 100644 index 00000000..0820cd18 Binary files /dev/null and b/test/smask-mask-svg11-ref.png differ diff --git a/test/smask-mask-svg12-ref.png b/test/smask-mask-svg12-ref.png new file mode 100644 index 00000000..0820cd18 Binary files /dev/null and b/test/smask-mask-svg12-ref.png differ diff --git a/test/smask-paint-svg-ref.png b/test/smask-paint-svg-ref.png deleted file mode 100644 index 09c01deb..00000000 Binary files a/test/smask-paint-svg-ref.png and /dev/null differ diff --git a/test/smask-paint-svg11-ref.png b/test/smask-paint-svg11-ref.png new file mode 100644 index 00000000..09c01deb Binary files /dev/null and b/test/smask-paint-svg11-ref.png differ diff --git a/test/smask-paint-svg12-ref.png b/test/smask-paint-svg12-ref.png new file mode 100644 index 00000000..09c01deb Binary files /dev/null and b/test/smask-paint-svg12-ref.png differ diff --git a/test/smask-svg-ref.png b/test/smask-svg-ref.png deleted file mode 100644 index f1885614..00000000 Binary files a/test/smask-svg-ref.png and /dev/null differ diff --git a/test/smask-svg11-ref.png b/test/smask-svg11-ref.png new file mode 100644 index 00000000..f1885614 Binary files /dev/null and b/test/smask-svg11-ref.png differ diff --git a/test/smask-svg12-ref.png b/test/smask-svg12-ref.png new file mode 100644 index 00000000..f1885614 Binary files /dev/null and b/test/smask-svg12-ref.png differ diff --git a/test/smask-text-svg-ref.png b/test/smask-text-svg-ref.png deleted file mode 100644 index 2665370c..00000000 Binary files a/test/smask-text-svg-ref.png and /dev/null differ diff --git a/test/smask-text-svg11-ref.png b/test/smask-text-svg11-ref.png new file mode 100644 index 00000000..2665370c Binary files /dev/null and b/test/smask-text-svg11-ref.png differ diff --git a/test/smask-text-svg12-ref.png b/test/smask-text-svg12-ref.png new file mode 100644 index 00000000..2665370c Binary files /dev/null and b/test/smask-text-svg12-ref.png differ diff --git a/test/source-clip-scale-svg-ref.png b/test/source-clip-scale-svg-ref.png deleted file mode 100644 index 87c29174..00000000 Binary files a/test/source-clip-scale-svg-ref.png and /dev/null differ diff --git a/test/source-clip-scale-svg11-ref.png b/test/source-clip-scale-svg11-ref.png new file mode 100644 index 00000000..87c29174 Binary files /dev/null and b/test/source-clip-scale-svg11-ref.png differ diff --git a/test/source-clip-scale-svg12-ref.png b/test/source-clip-scale-svg12-ref.png new file mode 100644 index 00000000..87c29174 Binary files /dev/null and b/test/source-clip-scale-svg12-ref.png differ diff --git a/test/surface-pattern-svg-ref.png b/test/surface-pattern-svg-ref.png deleted file mode 100644 index 5569a557..00000000 Binary files a/test/surface-pattern-svg-ref.png and /dev/null differ diff --git a/test/surface-pattern-svg11-ref.png b/test/surface-pattern-svg11-ref.png new file mode 100644 index 00000000..5569a557 Binary files /dev/null and b/test/surface-pattern-svg11-ref.png differ diff --git a/test/surface-pattern-svg12-ref.png b/test/surface-pattern-svg12-ref.png new file mode 100644 index 00000000..5569a557 Binary files /dev/null and b/test/surface-pattern-svg12-ref.png differ diff --git a/test/text-pattern-svg-argb32-ref.png b/test/text-pattern-svg-argb32-ref.png deleted file mode 100644 index 97d7534c..00000000 Binary files a/test/text-pattern-svg-argb32-ref.png and /dev/null differ diff --git a/test/text-pattern-svg-rgb24-ref.png b/test/text-pattern-svg-rgb24-ref.png deleted file mode 100644 index c1f76c23..00000000 Binary files a/test/text-pattern-svg-rgb24-ref.png and /dev/null differ diff --git a/test/text-pattern-svg11-argb32-ref.png b/test/text-pattern-svg11-argb32-ref.png new file mode 100644 index 00000000..97d7534c Binary files /dev/null and b/test/text-pattern-svg11-argb32-ref.png differ diff --git a/test/text-pattern-svg11-rgb24-ref.png b/test/text-pattern-svg11-rgb24-ref.png new file mode 100644 index 00000000..c1f76c23 Binary files /dev/null and b/test/text-pattern-svg11-rgb24-ref.png differ diff --git a/test/text-pattern-svg12-argb32-ref.png b/test/text-pattern-svg12-argb32-ref.png new file mode 100644 index 00000000..97d7534c Binary files /dev/null and b/test/text-pattern-svg12-argb32-ref.png differ diff --git a/test/text-pattern-svg12-rgb24-ref.png b/test/text-pattern-svg12-rgb24-ref.png new file mode 100644 index 00000000..c1f76c23 Binary files /dev/null and b/test/text-pattern-svg12-rgb24-ref.png differ diff --git a/test/text-rotate-svg-ref.png b/test/text-rotate-svg-ref.png deleted file mode 100644 index 35fd019f..00000000 Binary files a/test/text-rotate-svg-ref.png and /dev/null differ diff --git a/test/text-rotate-svg11-ref.png b/test/text-rotate-svg11-ref.png new file mode 100644 index 00000000..35fd019f Binary files /dev/null and b/test/text-rotate-svg11-ref.png differ diff --git a/test/text-rotate-svg12-ref.png b/test/text-rotate-svg12-ref.png new file mode 100644 index 00000000..35fd019f Binary files /dev/null and b/test/text-rotate-svg12-ref.png differ diff --git a/test/user-font-proxy-svg-ref.png b/test/user-font-proxy-svg-ref.png deleted file mode 100644 index e5e9e9a7..00000000 Binary files a/test/user-font-proxy-svg-ref.png and /dev/null differ diff --git a/test/user-font-proxy-svg11-ref.png b/test/user-font-proxy-svg11-ref.png new file mode 100644 index 00000000..e5e9e9a7 Binary files /dev/null and b/test/user-font-proxy-svg11-ref.png differ diff --git a/test/user-font-proxy-svg12-ref.png b/test/user-font-proxy-svg12-ref.png new file mode 100644 index 00000000..e5e9e9a7 Binary files /dev/null and b/test/user-font-proxy-svg12-ref.png differ diff --git a/test/user-font-rescale-svg-ref.png b/test/user-font-rescale-svg-ref.png deleted file mode 100644 index 871e27e4..00000000 Binary files a/test/user-font-rescale-svg-ref.png and /dev/null differ diff --git a/test/user-font-rescale-svg11-ref.png b/test/user-font-rescale-svg11-ref.png new file mode 100644 index 00000000..871e27e4 Binary files /dev/null and b/test/user-font-rescale-svg11-ref.png differ diff --git a/test/user-font-rescale-svg12-ref.png b/test/user-font-rescale-svg12-ref.png new file mode 100644 index 00000000..871e27e4 Binary files /dev/null and b/test/user-font-rescale-svg12-ref.png differ diff --git a/test/user-font-svg-ref.png b/test/user-font-svg-ref.png deleted file mode 100644 index 28ba652a..00000000 Binary files a/test/user-font-svg-ref.png and /dev/null differ diff --git a/test/user-font-svg11-ref.png b/test/user-font-svg11-ref.png new file mode 100644 index 00000000..28ba652a Binary files /dev/null and b/test/user-font-svg11-ref.png differ diff --git a/test/user-font-svg12-ref.png b/test/user-font-svg12-ref.png new file mode 100644 index 00000000..28ba652a Binary files /dev/null and b/test/user-font-svg12-ref.png differ -- cgit v1.2.3