Commit graph

275 commits

Author SHA1 Message Date
Dave Beckett
8b00a61e8b Add compatibility defines FONTCONFIG_LIBS, X_LIBS, XRENDER_LIBS to keep automake happy - they look like automake variable names. 2003-12-12 16:00:19 +00:00
Dave Beckett
b694e4d1ff (libpixman_la_SOURCES): slim_export.h slim_import.h gone. 2003-12-12 15:11:23 +00:00
Dave Beckett
d9febe2fb4 src/Makefile.am: Remove LIBPIXMAN_CFLAGS/LIBS cruft. 2003-12-12 15:10:12 +00:00
Dave Beckett
09abb6df40 Remove LIBPIXMAN_CFLAGS/LIBS cruft. 2003-12-12 15:09:55 +00:00
Carl Worth
2309a8b98a Add comment about building in a font.
Check for NULL return value from cairo_ft_font_create.
2003-12-12 12:00:50 +00:00
Carl Worth
e232072c12 Add conditionals for ps_surface functions, etc.
Get rid of AC_PATH_XTRA. Instead, find X includes/libraries only via pkg-config xrender. Switch option from --without-x to --disable-xlib Add option --disable-ps
Add -lz only if ps_surface backend is compiled.
2003-12-12 11:44:16 +00:00
Carl Worth
a02d8aaa59 Add missing definitions from slim_import.h. 2003-12-12 11:02:07 +00:00
Carl Worth
47000a1737 Updated .cvsignore 2003-12-12 10:51:21 +00:00
Carl Worth
0278468fc1 Fold contents of slim_export/import.h directly into this file to avoid dependence on external slim package.
Use quote-based include now that slim_internal is an internal file.
Follow convention of other files for multi-inclusion guard (_IC_INT_H_)
Remove cruft.
2003-12-12 10:47:59 +00:00
Carl Worth
849c780a63 Rename surface->ic_image to surface->pixman_image.
Rename functions and indentifiers with ic_ in the name that were missed by the recent renaming. Fix indentation problems left by the recent renaming.
Shift everything over from libic/libpixregion/slim to libpixman. Many thanks to Dave Beckett <dave.beckett@bristol.ac.uk> for all of the heavy lifting with this renaming effort.
2003-12-11 13:04:39 +00:00
Carl Worth
5b38b14ff2 Directly fold in slim stuff rather than depending on it from an external package.
Switch from libic to libpixman.
Include pixman.h not ic.h. (__external_linkage): Directly fold in slim stuff rather than depending on it from an external package.
Look for libpixman instead of libic and slim.
2003-12-11 12:43:58 +00:00
Andrew Chant
18ae004832 cairo_select_font: _cairo_font_create: _cairo_gstate_select_font: cairo_ft_font_create: change char * family to const char * family 2003-12-11 11:12:59 +00:00
Carl Worth
c2696a7d8d Replace mysterious image->depth == 32 ? 24 : image->depth with simply image->depth. 2003-12-11 10:01:10 +00:00
Carl Worth
6cd6ac5a05 Add xrender to cairo.pc Renders line if needed. 2003-12-11 09:35:07 +00:00
Carl Worth
b95d2066a5 Fix to use shifts and masks for endianness-correct PS image generation. Rename bgr to rgb now that the byte order issues are clear. 2003-12-11 07:03:41 +00:00
Dave Beckett
9da5af44f4 Correct some more renames where the order of the renaming caused later renames to fail due to earlier prefixes failing. 2003-12-10 15:42:01 +00:00
Dave Beckett
b24029f4d0 fixes for wrong order of renames 2003-12-10 15:41:14 +00:00
Dave Beckett
af1ab1a9f2 Correct some more renames where the order of the renaming caused later renames to fail due to earlier prefixes failing. 2003-12-10 15:39:45 +00:00
Dave Beckett
4409b9fff9 Add rename fixes 2003-12-10 15:27:11 +00:00
Dave Beckett
22b133453d Correct over-eager renames of the form pixman_thing_tName into pixman_thing_name. It was inevitable really this would happen! 2003-12-10 15:25:38 +00:00
Dave Beckett
4ecffdf8b9 Correct over-eager renames of the form pixman_thing_tName into pixman_thing_name. It was inevitable really this would happen! 2003-12-10 15:23:11 +00:00
Dave Beckett
0070bd372c Added helper script for updating names in source. 2003-12-10 14:28:55 +00:00
Dave Beckett
c2d04cfb0b Rename exported Ic* and PixRegion* functions, types, enums to be prefixed pixman (or PIXMAN for enum values) 2003-12-10 14:26:22 +00:00
Dave Beckett
94988dbe09 Rename exported Ic* and PixRegion* functions, types, enums to be prefixed pixman (or PIXMAN for enum values) 2003-12-10 14:20:05 +00:00
Dave Beckett
e39e756403 libpixman is the pixel manipulation library 2003-12-10 14:04:15 +00:00
Dave Beckett
2841a71842 libpixman is the pixel manipulation library 2003-12-10 13:29:40 +00:00
Dave Beckett
05bcf7a4b5 Initial version with the following changes to do the merging:
Change ic.h/pixregion.h headers inclusions to be pixman.h
Removed ic.h, merged into pixman.h
Merged pixregion.h (former name and CVS history of this file) and ic.h (now CVS deleted here).
Updated for libpixregion,libic to libpixman source merges. Added -I$(srcdir) so we get internal headers from here even when srcdir != builddir.
Updated for libpixregion,libic to libpixman package name, dependencies.
Merge of libic, slim AUTHORS, COPYING, README
Initial repository copy of libpixregion, libic, slim CVS.
Constructed a merged ChangeLog below via emacs VC mode (which rocks!)
2003-12-09 16:10:29 +00:00
Dave Beckett
7ba9ad2973 Change ic.h/pixregion.h headers inclusions to be pixman.h 2003-12-09 16:09:33 +00:00
Dave Beckett
b76a5ccf7f Removed ic.h, merged into pixman.h 2003-12-09 16:08:36 +00:00
Dave Beckett
08e0943c9f Merged pixregion.h (former name and CVS history of this file) and ic.h (now CVS deleted here). 2003-12-09 16:08:16 +00:00
Dave Beckett
9b086c3330 Updated for libpixregion,libic to libpixman source merges. Added -I$(srcdir) so we get internal headers from here even when srcdir != builddir. 2003-12-09 16:06:52 +00:00
Dave Beckett
d5bcf9e4f0 Updated for libpixregion,libic to libpixman package name, dependencies. 2003-12-09 16:05:24 +00:00
Dave Beckett
43129191fe Merge of libic, slim AUTHORS, COPYING, README 2003-12-09 15:59:18 +00:00
Carl Worth
f59f92836c Allow names of all autofoo programs to be overridden via environment variables. 2003-12-08 18:07:56 +00:00
Carl Worth
0949a86dd1 Track change in cairo_path_callbacks interface. 2003-12-08 17:39:32 +00:00
Carl Worth
08553e75b7 Clean up cairo_path_callbacks to have move_to, line_to, curve_to, abd close_path instead of add_edge, add_spline, and done_sub_path. Much, much nicer.
Provide cairo_polygon_move_to and cairo_polygon_line_to instead of cairo_polygon_add_point.
Track change in cairo_polygon interface.
2003-12-08 13:38:26 +00:00
Carl Worth
6aff3cbf96 Bump version to 0.1.16 since it actually has a hope of building, (due to fix for broken cairo-xlib.h includes). 2003-12-08 12:31:22 +00:00
Carl Worth
76e2cd9a74 Don't include obsolete cairo-xlib.h. 2003-12-05 10:47:42 +00:00
Carl Worth
97666464c0 Allow names of all autofoo programs to be overridden via environment variables. 2003-12-05 10:30:39 +00:00
Carl Worth
928095693b Bump version to 0.1.15 for new CAIRO_HAS_XLIB_SURFACE macro.
Add missing #include <cairo-features.h>
Rename cairo-config.h to cairo-features.h.
Rename XLIB_BACKEND_DEFINE to XLIB_SURFACE_FEATURE. Rename AM_CONDITIONAL HAVE_XLIB_BACKEND to CAIRO_HAS_XLIB_SURFACE. Rename user-visibile macro CAIRO_HAS_XLIB_BACKEND to CAIRO_HAS_XLIB_SURFACE.
2003-12-05 08:53:07 +00:00
Carl Worth
aae17d3b6b Bumped version to 0.1.14 to indicate dropped cairo-xlib.h and new cairo-config.h.
New support for "./configure --without-x" to compile without the xlib backend. Many thanks to Sasha V. <sasha@aftercode.net>.
We do three things here: Make the pkg-config check for xrender conditional, set XLIB_BACKEND_DEFINE to either CAIRO_HAS_XLIB_BACKEND or CAIRO_HAS_NO_XLIB_BACKEND to be substituted into cairo-config.h, and set an AM_CONDITIONAL for HAVE_XLIB_BACKEND to enable conditional compilation of cairo_xlib_surface.c. Perhaps that could be simplified a tad, but it's what we have working now. Also split up various PKG_CHECK_MODULES into separate checks.
Remove errant reference to cairo_gstate_set_drawable.
Move xlib-specific calls in from old cairo-xlib.h, now guarded in #ifdef CAIRO_HAS_XLIB_BACKEND.
Make compilation of cairo_xlib_surface.c conditional. (INCLUDES, libcairo_la_LIBADD): Add the new variables from splitting up the PKG_CHECK_MODULES calls.
2003-12-03 12:27:44 +00:00
Carl Worth
9cf63b0390 Add -lz for the compress function used in the PS backend. 2003-12-03 07:14:59 +00:00
Keith Packard
ae96c8ab92 Add note about degenerate path caps being broken 2003-12-01 10:59:57 +00:00
Carl Worth
3369c676f0 Bump version to 0.1.5 for new 64-bit fixes.
One more fix needed for 64-bit machine (alpha in this case). Thanks to Jakub Bogusz <qboosh@pld-linux.org>.
2003-11-25 07:45:34 +00:00
Carl Worth
765a1ad0fd Use 0 and 1 not False and True, (to avoid false dependency on X headers).
Use cairo_point_double_t not XPointDouble, (to avoid false dependency on X headers). Thanks to "Sasha V." <sasha@aftercode.net> for pointing these out.
2003-11-21 06:22:02 +00:00
Carl Worth
567f28e62a Bump version to 0.1.13 for new freetype header compatibility. Fix comments regarding freetype version checking. 2003-11-18 13:21:29 +00:00
James Henstridge
a26c3d4a59 add FREETYPE_CFLAGS/LIBS to Libs/Cflags rather than requiring "freetype2", which doesn't exist in anything but the most recent version of freetype.
add freetype cflags/libs substitutions.
2003-11-18 07:28:16 +00:00
Carl Worth
97cfea914d Fix build for new freetype header include mechanism, (thanks to Christof Petig <christof@petig-baender.de>) 2003-11-18 06:18:05 +00:00
Carl Worth
75ced44ae0 Fixes needed to compile libic on x86_64. Many thanks to David R Bacon <dbacon@cis.ksu.edu>. 2003-11-17 07:43:06 +00:00
Carl Worth
f27af5d98d Remove infinite looping when stroking with a line width at or close to 0.0. Thanks to Rob Buis <buis@kde.org> and Noah Levitt <nlevitt@columbia.edu> for providing in-the-wild examples of SVG files with stroke-width:0 that demonstrated the problem, (cowboy.svg and albania.svg).
Do nothing if the pen is a degenerate, single point. This happens when the line width is a very small, non-zero value.
Do nothing when asked to stroke a path with a line_width of 0.0. Previously, this would lead to an infinite loop.
Force negative line width to 0.0.
Updated TODO list.
2003-11-17 07:04:15 +00:00