Commit graph

1347 commits

Author SHA1 Message Date
Behdad Esfahbod
510d23acef Fix doc typo. 2006-07-13 13:39:04 -04:00
Kent Worsnop
778c4730a8 PDF: Fix for dash-no-dash test case, (so that dashing can be turned off) 2006-07-13 10:22:19 -07:00
Behdad Esfahbod
f8eeca9768 Tiny doc typo fix. 2006-07-13 11:48:42 -04:00
Behdad Esfahbod
f79a9f5a52 Improve backend .pc files generation:
- Add all non-pkgconfig libs to Libs.private in cairo.pc
- Make cairo-xlib-xrender.pc Require cairo-xlib.pc
2006-07-12 04:27:55 -04:00
Behdad Esfahbod
fe647ca42b Oops. Fix doc format. 2006-07-11 15:18:14 -04:00
Behdad Esfahbod
90a46affe6 Add note to docs for some enums about possible future additions. 2006-07-11 13:36:52 -04:00
Behdad Esfahbod
e0ad1aa995 Change version number of Sun's Xorg server with buggy repeat from 60800000 to
60900000. (#7483, pointed by Brian Cameron)
2006-07-10 13:45:51 -04:00
Behdad Esfahbod
ccb54b35ed Small doc fix. 2006-07-10 10:35:42 -04:00
Behdad Esfahbod
defa23206c Fix nil surface initializations for surface type. (#7322) 2006-07-10 10:26:19 -04:00
Behdad Esfahbod
6efd145882 Better creation rules for cairo.def. 2006-07-08 17:52:24 -04:00
Behdad Esfahbod
f3f374fb80 Include cairo-svg.h in cairo_win32_api_headers. (bug 7462) 2006-07-08 16:39:52 -04:00
Behdad Esfahbod
a443a42158 Fix doc typo. 2006-07-06 23:06:14 -04:00
Behdad Esfahbod
731925f00a Fix doc syntax. 2006-07-06 23:05:13 -04:00
Behdad Esfahbod
9c37cac22b Fix typo when printing error for unsupported X formats. It was mistakenly
marking Green and Blue swapped.
2006-07-06 17:52:13 -04:00
David Reveman
807cb2fd8e Ignore color for CAIRO_OPERATOR_CLEAR in glitz backend. 2006-07-06 13:50:41 -04:00
Jonathon Jongsma
91ad3ae784 Fix documentation typo in cairo_scaled_font_get_font_options() 2006-07-04 16:23:24 -05:00
Jonathon Jongsma
94c5537924 Fix a typo in cairo_font_extents_t documentation 2006-07-04 14:58:58 -05:00
Carl Worth
cea70741e8 Add src/cairo-features.h and test/*.ps to CLEANFILES 2006-07-01 03:24:21 +02:00
Behdad Esfahbod
cfddf93afb Make CAIRO_EXTEND_REFLECT and CAIRO_EXTEND_PAD not crash on surface patterns,
but return error.
2006-07-01 02:07:28 +02:00
Carl Worth
84b06eed4e SVG: Fix leak in _cairo_svg_surface_mask 2006-07-01 00:47:59 +02:00
Carl Worth
c6c943f3cf ps: Fix to not walk off the end of the data array.
This fixes a bug recently introduced with the special case for the ~> sequence.
2006-06-30 23:00:39 +02:00
Carl Worth
e0db22c6bc ps: Fix degenerate-path test failure.
This is as simple as simply not emitting any degenerate sub-paths when the cap
style is CAIRO_LINE_CAP_SQUARE or CAIRO_LINE_CAP_BUTT.
2006-06-30 16:54:16 +02:00
Carl Worth
057c0abeea ps: Fix transformation of source surfaces.
This makes the following four tests pass, (which were previously
failing on the ps backend).

	move-to-show-surface
	scale-source-surface-paint
	source-surface-scale-paint
	translate-show-surface
2006-06-30 16:10:54 +02:00
Behdad Esfahbod
45ebf2d1f3 Fix an oops. 2006-06-30 02:21:51 +02:00
Behdad Esfahbod
6c3deb0be1 Minor doc syntax fixes. 2006-06-30 02:21:51 +02:00
Behdad Esfahbod
8860263c6a Remove CAIRO_SVG_VERSION_LAST from public header file. 2006-06-30 02:21:50 +02:00
Behdad Esfahbod
66436d1327 Update lots of docs. 2006-06-30 02:21:50 +02:00
Behdad Esfahbod
647ca37ca3 Mark enum additions as "Since 1.2" too. 2006-06-30 02:21:50 +02:00
Behdad Esfahbod
320ce67d63 Add "Since: 1.2" to docs for most new API functions. 2006-06-30 02:21:49 +02:00
Carl Worth
bd92eb7f3c Move device_transform of path to before floating->fixed conversion.
This is an attempt to fix the following bug:

	http://bugzilla.gnome.org/show_bug.cgi?id=332266

With the recent rewrite of the device-offset code, which pushed things
from the gstate to the surface layer, the 16-bit limitations on coordinates
which previously applied to device space only, have lately been applying to
user space. This commit moves the device_transform back up above the conversion
from floating-point to fixed-point values so that once again the limitation
only applies to device space.
2006-06-29 21:33:34 +02:00
Behdad Esfahbod
29caf8915f Fix support for non-pkg-config cflags and libs (needed for supporting
freetype-config)
2006-06-29 16:09:46 +02:00
Behdad Esfahbod
195b1142e7 Prefix "cairo_*_test_*" symbols with underscore. 2006-06-29 15:22:44 +02:00
Behdad Esfahbod
f26da6c464 Remove cairo_public from source files. 2006-06-29 12:32:58 +02:00
Carl Worth
8aa306caac PS: Fix for dash-zero-length 2006-06-29 06:12:08 +02:00
Carl Worth
7285499700 Squelch some bogus compiler warnings about possibly uninitialized values. 2006-06-29 05:07:51 +02:00
Keith Packard
20e3a99bba Skip TrueType font output for PS/PDF until it handles vertical layout.
The TrueType font subsetting code fails to emit VHEA/VMTX headers for the
font, so WMode 1 doesn't work to switch to vertical metrics. Added a bug
about this, and changed the PS/PDF output code to just use Type3 in this
case until the bug is fixed. Updated the reference images to match the
output for PDF/PS backends for the vertical font check.
2006-06-29 04:10:35 +02:00
Carl Worth
988a28e259 Merge branch 'degenerate-path' into cairo 2006-06-27 15:37:58 +02:00
Jeff Muizelaar
973c9abd53 PS: Workaround to avoid splitting final ~> terminating sequence. 2006-06-27 15:35:22 +02:00
Michael Emmel
5d60ceb9b8 Added major updates fixes and enhancements by
Claudio Ciccani klan@directfb.org
Almost a full rewrite
2006-06-26 22:27:14 -07:00
Behdad Esfahbod
73a0e792b4 More configure foo fixes for .pc files. 2006-06-26 12:21:18 +02:00
Behdad Esfahbod
53a478d233 Rewrite configure caching. 2006-06-25 17:46:01 +02:00
Carl Worth
ce2b9e1b5c Prefer TRUE and FALSE over 1 and 0 for assigning cairo_bool_t values 2006-06-25 16:57:59 +02:00
Carl Worth
58a60ed9fd Prefer sub-path over subpath in documentation. 2006-06-25 16:53:13 +02:00
Carl Worth
773cb6475b Prefer sub_path over subpath in identifiers. 2006-06-25 16:51:25 +02:00
Carl Worth
8f0dd658b1 Add documentation for how degenerate segments and sub-paths are treated. 2006-06-25 16:49:45 +02:00
Jeff Muizelaar
15caa88c64 Initial support for degenerate-path stroking
This follows the PDF and SVG specifications which only draw degenerate paths when
round caps are in effect.

With this commit, the degenerate-path test passes with the image, xlib, and pdf
backends, (but still fails with ps and svg backends).
2006-06-25 16:12:38 +02:00
Carl Worth
7e0e503fba xlib: Fix failure path to do cache thawing cleanup. 2006-06-25 11:32:36 +02:00
Robert O'Callahan
ddead8e061 Surface size getters for xlib
When accessing the underlying drawable etc of an xlib surface, it is
also helpful to be able to get the width and height without a server
round trip. This patch provides those functions.
2006-06-25 11:23:43 +02:00
Carl Worth
9ab5678e53 Fix bug 7268: Fix coordinate space for _cairo_surface_get_extents
Previously this function was attempting to return values in surface
space, (but even then it was doing it wrong). However, all callers
actually expect values in backend space. Fixing this cleans up bug
7268 quite nicely.
2006-06-25 10:04:43 +02:00
Carl Worth
4c7074ceb4 Remove comment which had been incorrectly copied 2006-06-25 10:04:43 +02:00