- Dec 23, 2006
-
-
Carl Worth authored
-
Carl Worth authored
-
Carl Worth authored
-
Carl Worth authored
-
Carl Worth authored
This custom stroking code allows backends to use optimized region-based drawing operations for rectilinear strokes. This results in a 5-25x performance improvement when drawing rectilinear shapes: image-rgb box-outline-stroke-100 0.18 -> 0.01: 25.58x speedup ████████████████████████▋ image-rgba box-outline-stroke-100 0.18 -> 0.01: 25.57x speedup ████████████████████████▋ xlib-rgb box-outline-stroke-100 0.49 -> 0.06: 8.67x speedup ███████▋ xlib-rgba box-outline-stroke-100 0.22 -> 0.04: 5.39x speedup ████▍ In other words, using cairo_stroke instead of cairo_fill to draw the same shape was 5-15x slower before, but is 1.2-2x faster now.
-
Carl Worth authored
I must not have the right font available, (test result is coming out looking like the result of ft-text-vertical-layout-type3, Vera?). We should switch this test to load a bundled font, (should do that for all font-using tests, too).
-
Carl Worth authored
-
Carl Worth authored
This is in preparation for an optimized implementation of cairo_stroke for rectilinear paths.
-
- Dec 22, 2006
-
-
Jinghua Luo authored
There is a race condition between glyph unlocking and glyph cache thawing. Moving down _cairo_scaled_font_thaw_cache a few lines fixes the problem and make crashes go away.
-
- Dec 20, 2006
-
-
Behdad Esfahbod authored
-
- Dec 19, 2006
-
-
Carl Worth authored
-
Carl Worth authored
-
Carl Worth authored
-
Carl Worth authored
-
- Dec 18, 2006
-
-
The glyph extent computation was totally busted. It was using "logical" extents and it was not correctly handling rotations, etc. It all looks a lot better now.
-
- Dec 17, 2006
-
-
Behdad Esfahbod authored
This test used to be named -truetype, which reflected the type of font used in the test, in contrast to the -type1 test that uses a Type1 font. However, we renamed this test to -type3 to emphasize the fact that a TrueType subset is not emitted for vertical fonts and a Type3 fallback font is generated. Now things have changed: we try generating a Type1 fallback font which is what is happening for this test. Moreover, the -typ1 test also is generating a Type1 fallback font since the Type1 subset font is not useful for vertical fonts.
-
Behdad Esfahbod authored
This fixes the last problem with vertical fonts in PS/PDF. As such, remove ft-text-vertical-layout-type1 test from XFAIL and add PS-specific ref image to pass.
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
math.h does not define __USE_ISOC99 otherwise.
-
Behdad Esfahbod authored
The float version of many math functions were introduced in C99, and were causing compile failure on systems like OS X. We now define them to their double variant if __USE_ISOC99 is not defined. We may want to expand it later to cover non-gcc compilers too, but since this is pdiff only, it's not really important.
-
Behdad Esfahbod authored
Previously we were defining a symbol INLINE and use that in one place, while other places were using straight inline. With the AC_C_INLINE macro we can just leave it to autoconf to correctly choose what inline should be defined to.
-
Behdad Esfahbod authored
The PS output for ft-text-vertical-layout-type3 looks correct, except for some antialiasing mismatch. Ading ref image to fix this, and so, remove the test from XFAIL.
-
- Dec 16, 2006
-
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
We have tests for this (ft-text-vertical-*), but unfortunately they didn't prevent the regression here because they have been marked XFAIL, since we didn't quite fix them for PS.
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
-
This is what cairo_scaled_font_show_glyphs() does, as well as backends like xlib and win32.
-
-
M. Pihlaja authored
-
Make symbol checks work on OPD platform (such as IA64 or PPC64).
-
- Dec 15, 2006
-
-
Carl Worth authored
-
Carl Worth authored
-
Carl Worth authored
-
Carl Worth authored
-
Jonathan Watt authored
-
-
- Dec 14, 2006
-
-
U-JONATHAN-X60S\jonathan authored
-
Carl Worth authored
-
We update the test suite reference images where needed, (pdiff avoided a few, but most still needed updating). We take advantage of the need for new reference images to shrink some of the giant tests to speed them up a bit. This optimization provides a 2x improvement in linear gradient generation performance (numbers from an x86 laptop): image-rgb paint_linear_rgba_source-512 26.13 -> 11.13: 2.35x speedup █▍ image-rgb paint_linear_rgba_source-256 6.47 -> 2.76: 2.34x speedup █▍ image-rgba paint_linear_rgb_over-256 6.51 -> 2.86: 2.28x speedup █▎ image-rgb paint_linear_rgba_over-512 28.62 -> 13.70: 2.09x speedup █▏ image-rgba fill_linear_rgb_over-256 3.24 -> 1.94: 1.66x speedup ▋ image-rgb stroke_linear_rgba_over-256 5.68 -> 4.10: 1.39x speedup ▍
-
Carl Worth authored
-