Jeff Muizelaar
e53fe3ec24
[test] Add a test case for drawing glyphs with different metrics.
...
The ability to draw glyphs with different metrics is useful when doing
font substitution with fixed layout like in pdf and I eventually plan on
adding code to poppler to do something similar.
2008-09-16 01:59:28 +01:00
Chris Wilson
9c207b2454
[configure] Append -lz to LIBS
...
After going to the effort of detecting zlib for cairo-deflate-stream.c, it
rather defects the purpose of the exercise (and the mingw32 build) if we
forget to add the library to LIBS.
2008-09-16 01:50:30 +01:00
Chris Wilson
87094e8c78
[Makefile] Amend checks for horrible msys environment.
...
automake-1.8 requires $(EXEEXT) for TESTS and feeds lt-check-*.c to
check-cairoint.h. Workaround both misfeatures.
2008-09-16 01:50:29 +01:00
Adrian Johnson
7880ddd101
Fix scaling of glyphs in type3 subset glyphs
2008-09-16 10:04:34 +09:30
Jeff Muizelaar
e31462d399
Check for poppler_page_render instead of poppler_page_render_to_pixbuf
...
We now use poppler_page_render for testing. Further, poppler can be built
without poppler_page_render_to_pixbuf to avoid a dependency on gdk.
2008-09-15 19:31:28 -04:00
Behdad Esfahbod
fb0bf16595
[aclocal] Don't use m4_defn
...
Apparently autoconf 2.59 on msys is not quite happy it
2008-09-15 19:21:03 -04:00
Behdad Esfahbod
879b5c7057
[aclocal] Move CAIRO_PARSE_VERSION to acinclude.m4
...
It belongs there as it includes other files. It was breaking build
on older autoconf it seems.
2008-09-15 19:18:06 -04:00
Behdad Esfahbod
656b0e3ea7
[configure.ac] Avoid sed -i ( #17563 )
2008-09-15 19:17:27 -04:00
Behdad Esfahbod
4619c76d2f
[scaled_font] Improve readability
2008-09-15 18:51:50 -04:00
Behdad Esfahbod
e079ec03cb
[scaled-font] Fix bug unlocking the wrong mutex ( #16819 )
2008-09-15 18:51:24 -04:00
Behdad Esfahbod
096408d80e
[scaled-font] Improve comment
2008-09-15 18:51:04 -04:00
Behdad Esfahbod
bdb6f609d8
[configure.ac] Build -uninstalled.pc files
2008-09-15 18:03:50 -04:00
Behdad Esfahbod
856fedd235
[doc] Make "make check" build without gtk-doc
2008-09-15 16:19:12 -04:00
Behdad Esfahbod
2ab77236f8
[Makefile.am] Add util to SUBDIRS
...
We do nothing by default there right now, but it's correct to include it
anyway. And we will be installing utilities from there soon (cairo-trace for
example.)
2008-09-15 15:50:14 -04:00
Behdad Esfahbod
b4bbcda1c3
[Makefile.am] Add doc back to SUBDIRS
...
This reverts cac2ea0fcd
We need doc in SUBDIRS to install docs even if gtk-doc is not available.
The real fix for the build issue without gtk-doc should go under doc/
and is coming in a followup commit.
2008-09-15 15:47:53 -04:00
Behdad Esfahbod
e4753c82ff
[src/README] s/Source.mk/Makefile.sources/
2008-09-15 14:50:29 -04:00
Behdad Esfahbod
50f45d7768
[src/Makefile.am] Add comment referring to Makefile.sources
2008-09-15 14:50:07 -04:00
Chris Wilson
b24d2e4214
[autogen] Delete Makefile.am.config
...
Cause the Makefile.am.config to be regenerated every time as its contents
may be invalid for the current run - e.g. if a developer is switching
between branches with experimental surfaces.
2008-09-15 17:18:51 +01:00
Chris Wilson
5c7c2b5187
[test] Test handling of fractional device offsets.
2008-09-15 17:11:42 +01:00
Chris Wilson
2617d68a7b
[boilerplate] Restrict number of retries to create an error surface.
...
Sometimes we just cannot get what we want, so give up - it's only an error
surface after all!
2008-09-15 17:11:36 +01:00
Chris Wilson
77b43da99f
[test] Fixup potential use of uninitialized test_image.
...
In the churn of reordering the tests, some of the error paths were left
unaltered - causing potential invalid dereferences.
2008-09-15 16:48:22 +01:00
Chris Wilson
34f2506432
[surface] Trivial rejection of fill/stroke if clip extents is zero
...
Avoid tessellating the path if we know that the target extents is zero.
Besides the rare occurrence when everything is clipped out, a zero-sized
surface is often intended as a no-op surface for benchmarking.
2008-09-15 16:28:59 +01:00
Chris Wilson
cac2ea0fcd
[Makefile] Disable doc/ if we don't have gtk-doc.
...
make check dies in the documentation even if we have explicitly disabled
gtk-doc - so only enter doc/ with gtk-doc enabled.
2008-09-15 16:28:52 +01:00
M Joonas Pihlaja
4e731f7c90
[test] Only test truetype-tables if we can.
...
Doesn't build without CAIRO_HAS_FONT_SUBSET.
2008-09-12 09:40:23 +03:00
Behdad Esfahbod
93325a3f08
[configure.ac.enable] Cleanup Makefile.*.config generation
2008-09-11 19:12:31 -04:00
Behdad Esfahbod
66d6cb642c
[Makefile.am.common] Unify more common rules
2008-09-11 18:06:57 -04:00
Behdad Esfahbod
171a5edbff
[boilerplate/Makefile.am] Add unneeded rule
...
The check target by default depends on $(check_PROGRAMS).
2008-09-11 17:53:30 -04:00
Behdad Esfahbod
fe31c35d86
[doc] Don't rebuild after every configure run
...
The version.xml file was rebuilt all the time and forcing a full
doc rebuild. Not anymore unless cairo-version.h was changed.
2008-09-11 17:31:07 -04:00
Behdad Esfahbod
694fee9e7c
Update gtk-doc makefile fragment
...
Also move it to build/.
We still do not call gtkdocize from autogen.sh.
2008-09-11 16:38:12 -04:00
Behdad Esfahbod
de5b8bce37
Makefile.am cleanup
...
Use a common build/Makefile.am.common file.
2008-09-11 15:49:09 -04:00
Behdad Esfahbod
66f0d56a8a
[aclocal.enable.m4] Escape shell arguments
2008-09-11 15:31:28 -04:00
Behdad Esfahbod
90210ac4ac
[autogen.sh] Quote ORIGDIR
2008-09-11 15:31:28 -04:00
Chris Wilson
e9e439a7a8
[test] Check for updated reference images.
...
Delete the results of previous runs if the reference images are more
recent.
There's still potential error if the conversion utility or its required
libraries are modified...
2008-09-11 12:58:48 +01:00
Adrian Johnson
e1c1bba3ff
Update user-font-proxy PDF/PS ref images
2008-09-11 19:00:17 +09:30
Chris Wilson
140ffa6e27
[test] Fix order of deleting images vs checks.
...
The early-checks assume that the images are still available - so it helps
not to unlink them before comparing results to the previous run.
2008-09-11 10:00:57 +01:00
Adrian Johnson
1cf1b723c7
Return correct status
2008-09-11 18:36:55 +09:30
Adrian Johnson
15dd80c894
Don't overwrite previous status
2008-09-11 18:26:04 +09:30
Behdad Esfahbod
d1560bd687
Mark private symbol so
2008-09-11 04:23:05 -04:00
Behdad Esfahbod
2b4a26f097
[configure.ac] Add CAIRO_BEGINEND_DECLS
2008-09-11 04:21:29 -04:00
Behdad Esfahbod
b7a838261b
Move m4 macros into build/aclocal.*.m4 files
2008-09-11 04:17:43 -04:00
Behdad Esfahbod
ac6e4b83e7
[configure.ac.enable] Use AS_CASE
2008-09-11 03:45:51 -04:00
Behdad Esfahbod
7c4fdafc8c
[configure.ac.enable] Add some dnl's
2008-09-11 03:30:25 -04:00
Behdad Esfahbod
c358abfb15
[configure.ac.enable] Implement accumulators
2008-09-11 03:08:15 -04:00
Behdad Esfahbod
1efb5e0810
[configure.ac.enable] Don't collect .pc files for builtin features
2008-09-11 01:15:01 -04:00
Behdad Esfahbod
2bc53fb152
[configure.ac] Really fix pixman config
2008-09-11 01:04:13 -04:00
Behdad Esfahbod
f9a332c8fd
[configure.ac] Fix pixman requires
2008-09-11 00:49:17 -04:00
Behdad Esfahbod
391bef58fc
Add support for always-builtin features in the build system
...
Like image surface and user fonts.
2008-09-11 00:38:30 -04:00
Behdad Esfahbod
4a01b1d9c9
Build -uninstalled.pc files
2008-09-11 00:38:30 -04:00
Behdad Esfahbod
a18c75c3e9
[configure.ac.enable] More fixes for private features
...
Don't expect pkgconfig files for them. Also, don't give them a chance
to install public headers.
2008-09-11 00:38:30 -04:00
Behdad Esfahbod
771ff1a06e
[configure.ac.enable] Don't collect .pc files in win32 Makefile
...
We only generate them using autotools. No point.
2008-09-11 00:38:30 -04:00