mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 13:28:03 +02:00
[test] Remove text-rotate test from XFAIL as the bugs are fixed now
All missing is subpixel text positioning, but we don't need an XFAIL test to remind us for that.
This commit is contained in:
parent
b54174e917
commit
155a1b48f6
6 changed files with 14 additions and 4 deletions
|
|
@ -330,7 +330,8 @@ text-pattern-rgb24-ref.png \
|
|||
text-pattern-svg-argb32-ref.png \
|
||||
text-pattern-svg-rgb24-ref.png \
|
||||
text-rotate-ref.png \
|
||||
text-rotate-rgb24-ref.png \
|
||||
text-rotate-ps-argb32-ref.png \
|
||||
text-rotate-svg-ref.png \
|
||||
text-zero-len-ref.png \
|
||||
transforms-ref.png \
|
||||
translate-show-surface-ref.png \
|
||||
|
|
@ -361,8 +362,7 @@ extend-reflect \
|
|||
filter-nearest-offset \
|
||||
long-lines \
|
||||
self-intersecting \
|
||||
text-glyph-range \
|
||||
text-rotate
|
||||
text-glyph-range
|
||||
|
||||
# Any test that doesn't generate a log file goes here
|
||||
NOLOG_TESTS = \
|
||||
|
|
|
|||
BIN
test/text-rotate-ps-argb32-ref.png
Normal file
BIN
test/text-rotate-ps-argb32-ref.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.5 KiB |
BIN
test/text-rotate-svg-ref.png
Normal file
BIN
test/text-rotate-svg-ref.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
|
|
@ -75,6 +75,12 @@
|
|||
* us look more closely at the remaining positioning problems. (In
|
||||
* particular, I want to make sure we're rounding as well as
|
||||
* possible).
|
||||
*
|
||||
* 2007-02-21
|
||||
*
|
||||
* Seems like all the "bugs" have been fixed and all remainint is
|
||||
* missing support for subpixel glyph positioning. Removing from
|
||||
* XFAIL now.
|
||||
*/
|
||||
|
||||
#include "cairo-test.h"
|
||||
|
|
@ -89,7 +95,6 @@ static cairo_test_draw_function_t draw;
|
|||
cairo_test_t test = {
|
||||
"text-rotate",
|
||||
"Tests show_text under various rotations"
|
||||
"\nminor bugs in positioning rotated glyphs",
|
||||
WIDTH, HEIGHT,
|
||||
draw
|
||||
};
|
||||
|
|
@ -103,6 +108,11 @@ draw (cairo_t *cr, int width, int height)
|
|||
cairo_font_options_t *font_options;
|
||||
static char text[] = "cairo";
|
||||
|
||||
/* paint white so we don't need separate ref images for
|
||||
* RGB24 and ARGB32 */
|
||||
cairo_set_source_rgb (cr, 1., 1., 1.);
|
||||
cairo_paint (cr);
|
||||
|
||||
cairo_select_font_face (cr, "Bitstream Vera Sans",
|
||||
CAIRO_FONT_SLANT_NORMAL,
|
||||
CAIRO_FONT_WEIGHT_NORMAL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue