Commit graph

2412 commits

Author SHA1 Message Date
Carl Worth
ccf60202d3 Add SVG-specific reference image for source-clip-scale test
The difference here is that the SVG backend uses a meta-surface for
its similar surface, so there are no rasterization/filtering
artefacts when scaling the source surface.
2006-08-17 13:35:16 -07:00
Vladimir Vukicevic
72e25648c4 pixman: Use pSourceClip rather than pCompositeClip when fetching
This fixes the source-clip-scale test failures for most backends.
2006-08-17 13:35:16 -07:00
Carl Worth
64d2feb9f6 Harmonize implementations of source-clip and source-clip-scale to make similarities more evident. 2006-08-17 13:35:15 -07:00
Carl Worth
524507c39f Rename src-clip test to source-clip-scale 2006-08-17 13:35:15 -07:00
Vladimir Vukicevic
afb50580ce Add src-clip test case to demonstrate bug with clipping applying to a source surface. 2006-08-17 13:35:15 -07:00
Behdad Esfahbod
540db69aef [ROADMAP] Add more entries for 1.2.4. 2006-08-17 15:28:47 -04:00
Behdad Esfahbod
6122cc85c8 [test] Add $(LDADD) to svg2png_LDADD, to link to correct cairo
Previously it was using the cairo found in system.
2006-08-16 20:07:06 -04:00
Behdad Esfahbod
30cd66fe9a [test] Add ft-text-vertical-layout-truetype. 2006-08-16 19:43:55 -04:00
Behdad Esfahbod
158e160211 [.gitignore] Add truetype-tables 2006-08-16 19:43:41 -04:00
Behdad Esfahbod
cbcf1ddd64 [test] New torture tests ft-text-vertical-layout-truetype/type1
that combine vertical layout with font_matrix rotation and translation.
Currently Type3 and Type1 font paths both show broken behavior.
The type1 test uses "Nimbus Sans L" as the font.
2006-08-16 14:27:40 -04:00
Behdad Esfahbod
c385922c19 [ROADMAP] Add two assertion failures to 1.2.4 plans 2006-08-15 14:15:47 -04:00
Behdad Esfahbod
89008ad1c7 [FreeType] Use _cairo_ft_scaled_font_is_vertical where appropriate
instead of poking at the loadflags.
2006-08-15 13:53:51 -04:00
Behdad Esfahbod
b7bc263842 [FreeType] Fix vertical metrics adjustment to work with non-identity shapes 2006-08-15 08:33:20 -04:00
Behdad Esfahbod
d47388ad75 [PS] Set correct ImageMatrix in _cairo_ps_surface_emit_bitmap_glyph_data
which should be set to device_transform_inverse, not device_transform.
Moreover, no negation is needed anymore, as that has been working around
the inverse matrix :-).
2006-08-15 07:29:18 -04:00
Behdad Esfahbod
91eb56998c [test] ft-text-vertical-layout: Update ref images 2006-08-15 05:49:21 -04:00
Behdad Esfahbod
4b3fadefc8 [FreeType] Fix comment about font coordinate 2006-08-15 05:48:12 -04:00
Behdad Esfahbod
db779b5121 [test] ft-text-vertical-layout: Use the string "i-W" to better show vertical metrics 2006-08-15 05:27:59 -04:00
Behdad Esfahbod
f183b835b1 Respect font_matrix translation in _cairo_gstate_glyph_path 2006-08-15 04:59:48 -04:00
Emmanuel Pacaud
17ec33aa4f New test for long line bug.
This shows at least an issue in cairo_fixed_from_double where values
> 32767 are converted to -32768, instead of being clamped to 32767.
2006-08-14 20:19:15 +02:00
Behdad Esfahbod
09e1eb04ca [ROADMAP] Update. Adding 1.2.4 milestone and a few other items 2006-08-14 00:15:44 -04:00
Behdad Esfahbod
c802cd2d62 [Type1] Synch comments in the encoding table 2006-08-13 20:16:22 -04:00
Pavel Roskin
e5f36a54da [Type1] Use NULL instead of 0
Using NULL is encouraged for pointers.  While fixing that, it turned out
that the comments indicating the current index were wrong, so I'm fixing
them too.
2006-08-13 05:09:28 -04:00
Pavel Roskin
fdd7518b8b Update nil surface structs to the surface struct
Quite a few fields were missing, but all zero, so didn't matter
practically, but comments were out of synch.
2006-08-13 05:02:46 -04:00
Pavel Roskin
a06af40c35 [test] Fix warnings in tests on 64-bit systems
Cast argiments from size_t to int.  size_t is 64-bit on 64-bit systems,
which causes a warning.  The actual data should fit 32 bit comfortably.
2006-08-13 04:47:11 -04:00
Pavel Roskin
58963a2bf9 [test] Allow overriding Valgrind flags on the command line
Don't hardcode Valgrind flags in tests/Makefile.am so that
tests/Makefile doesn't need to be rebuilt to use different flags.  Not
everybody is looking for memory leaks.
2006-08-13 04:44:39 -04:00
Pavel Roskin
b29cc61fac [pixman] Don't cast pointers to integers
This causes warnings on 64-bit platforms that may indicate very serious
problems.  Fortunately, not in this case.
2006-08-13 04:44:20 -04:00
Jens Granseuer
abd16e47d6 [configure] Let env-vars override backend CFLAGS/LIBS (bug 7838)
In particular, $png_REQUIRES can be used now to set the name of the pkg-config
module that contains libpng.
2006-08-11 13:06:37 -04:00
Jens Granseuer
97524a8fdb [warnings] Only use supported compiler warning flags
Also cache the result.
2006-08-11 11:51:10 -04:00
Kjartan Maraas
22eee1db00 [warnings] Fixes for sparse. This fixes a lot of instances of 0 vs NULL 2006-08-11 11:18:24 -04:00
Behdad Esfahbod
ab3b400bda [Makefile.am] Move ChangeLog creation voodoo to ChangeLog.mk 2006-08-11 00:43:24 -04:00
Behdad Esfahbod
affc9c71ac [Makefile.am] Add $(AM_MAKEFLAGS) to recursive make invocations 2006-08-11 00:24:47 -04:00
Behdad Esfahbod
c04ccc95fa [ChangeLog] Make ChangeLog creation faster by caching partial results
The ChangeLog.pre-* files once generated, cannot be outdated and don't need
update anymore, but the main ChangeLog needs update everytime a git operation
is performed (commit, checkout, etc.)  Previously, we were forcing a ChangeLog
recreation by making it a phony target.  Now, we break it into two parts:  One
up to the latest tag (as returned by git-describe), and another from there.
The former is, again, up-to-date when it exists.  The latter, we make it
depend on .git.  And since the latter is pretty short anyway, you get a very
first regeneration of it when you change your repo (and that only happens
during 'make dist' by the way.)
2006-08-11 00:11:49 -04:00
Behdad Esfahbod
9b5c5b7570 [ChangeLog] Remove 'fmt' formatting of the ChangeLogs
We assume that people write wrapped commit messages, which is true these days
but was not back in the CVS days.
2006-08-10 20:41:05 -04:00
Behdad Esfahbod
91a5925180 Create multiple ChangeLog files segmented around major releases
For an imaginary cairo-3.6.4 version, we now will generate the following
ChangeLog files:

	ChangeLog
	ChangeLog.pre-3.4
	ChangeLog.pre-3.2
	ChangeLog.pre-3.0
	ChangeLog.pre-2.0
	ChangeLog.pre-1.0
2006-08-10 20:36:16 -04:00
Behdad Esfahbod
ee885c76af [test] Update EXTRA_DIST after beos_bitmap -> beos-bitmap change 2006-08-10 18:54:18 -04:00
Behdad Esfahbod
915448e50f [test] Add target check-ref-dups that lists reference images having duplicate sha1sum hash
This is useful to review every once in a while to drop duplicate images that
can be dropped.  For example, if there are two identical images one named
some-test-svg-rgb24-ref.png and other some-test-svg-argb32-ref.png, those two
can be replaced with some-test-svg-ref.png.
2006-08-10 15:35:36 -04:00
Behdad Esfahbod
cecf396f6f [test] Point out to the test log file on failures 2006-08-10 15:11:46 -04:00
Behdad Esfahbod
15074cbb04 [test] Behave better if no ref image was found for a test 2006-08-10 14:58:33 -04:00
Behdad Esfahbod
67ff765e30 [test] Rename beos_bitmap target to beos-bitmap. Same for directfb-bitmap. 2006-08-10 13:53:24 -04:00
Behdad Esfahbod
c6869b7415 [ROADMAP] Add generating EPS. 2006-08-10 13:21:57 -04:00
Behdad Esfahbod
1af80b70c0 Test for libz only once and reuse result for PS and PDF
This causes configure to check for libz even if PS/PDF are disabled
or their results is already cached.  But that's not much of a problem
as if the cache is enabled, libz results are cached too.
2006-08-10 13:10:24 -04:00
Behdad Esfahbod
d1520a99d4 Remove the ft_load_sfnt_table check from PS/PDF/SVG backends
and make sure that _cairo_ft_load_truetype_table returns UNSUPPORTED
if the version of FreeType used doesn't support FT_Load_Sfnt_Table.
2006-08-10 13:05:26 -04:00
Behdad Esfahbod
aea83b908d Fix typos in configure.in for PS/PDF/SVG backends 2006-08-10 12:47:47 -04:00
Behdad Esfahbod
dc8da1ca06 Save configure cache after checking all backends
This makes sure that backend enabling results are cached even
if a later test in configure fails.
2006-08-10 12:47:11 -04:00
Behdad Esfahbod
6d0e326044 Don't link to -lm unconditionally in cairo.pc
Reuse $LIBM results.
2006-08-10 12:45:35 -04:00
Behdad Esfahbod
24374ad613 Implement configure cache versioning for backend enabling results
such that removing config.cache is not needed as frequently as it
is currently.  We just detect and stale the cache results for our
own backends.  If the user installs missing libraries, they still
need to remove the cache manually.

Note that everytime a change is made to configure.in and may change
the results of at least one CAIRO_BACKEND_ENABLE call, the
cairo_cache_version number should be increased.
2006-08-10 12:44:35 -04:00
Carl Worth
c3c706873e ROADMAP: Remove 1.2.2 stuff now that that release is out the door 2006-08-08 16:56:20 -07:00
Carl Worth
27842ff06f NEWS: Fix some misspellings 2006-08-08 16:51:48 -07:00
Carl Worth
c96e1b6d8f README: Update backend list.
PDF, PS, and SVG are no longer experimental. And DirectFB and BeOS now exist as well.
2006-08-08 16:32:26 -07:00
Carl Worth
38b42c5025 Increment CAIRO_VERSION to 1.2.3 after making the 1.2.2 release 2006-08-08 16:23:07 -07:00