Commit graph

147 commits

Author SHA1 Message Date
Behdad Esfahbod
3885fff3e6 [ps] Get rid of _cairo_ps_test_force_fallbacks
in favor of cairo_boilerplate_ps_surface_force_fallbacks.
2007-04-21 02:51:22 -04:00
Behdad Esfahbod
57dc972d6e [ps] Move cairo_ps_surface_t to cairo-ps-surface-private.h 2007-04-21 02:51:17 -04:00
Behdad Esfahbod
03477064fa [paginated] Move cairo_paginated_surface_t to cairo-paginated-surface-private.h
The old cairo-paginated-surface-private.h is cairo-paginated-private.h now.
2007-04-21 02:43:28 -04:00
Behdad Esfahbod
68e2158aae [pdf] Move cairo_pdf_surface_t to cairo-pdf-surface-private.h 2007-04-21 02:10:34 -04:00
Behdad Esfahbod
cd72167ede [xlib] Get rid of _cairo_xlib_test_disable_render
in favor of cairo_boilerplate_xlib_surface_disable_render.
2007-04-21 02:08:38 -04:00
Behdad Esfahbod
908418cb4d [cairo-surface] Move cairo_surface_t struct in cairo-surface-private.h 2007-04-21 02:08:37 -04:00
Behdad Esfahbod
1345552ac2 [xlib] Move cairo_xlib_surface_t definition into cairo-xlib-surface-private.h 2007-04-21 02:08:37 -04:00
Behdad Esfahbod
beadcdf9bd Rename cairo-font.c to cairo-font-face.c 2007-04-18 18:24:09 -04:00
Carl Worth
ae80d375f8 Rename cairo-mutex-list.h to cairo-mutex-list-private.h
Also add it (and cairo-mutex-private.h) to Makefile.am
where they should have been.
2007-04-12 13:22:36 -07:00
Chris Wilson
5c24711ee6 Restore gcov functionality
Add -lgcov to the shared library else the test programs fail to link.
Add a couple of lcov convenience targets to generate the coverage reports.
2007-04-04 10:13:13 +01:00
Behdad Esfahbod
ffc7d06da0 [src/check-cairoint.h] Test to check that all source files #include "cairoint.h"
as their first include.
2007-04-03 20:27:24 -04:00
Mathias Hasselmann
be52178443 Initialize mutexes at central location.
All mutex declarations have been moved to cairo-mutex-list.h.
This should avoid breaking of less frequently tested backends,
when mutexes are introduced or when existing mutexes are renamed.

Instead of initializing mutexes on library startup, mutexes are
lazily initialized within the few entry points of now by calling
CAIRO_MUTEX_INITIALIZE(). Currently only the OS/2 backend takes
care about releasing global mutexes. Therefore there is no counter
part of that macro for finalizing all global mutexes yet - but
as cairo-backend-os2.c shows such a function would be quite
easy to implement.
2007-03-20 10:11:14 +01:00
Carl Worth
2242550b48 Make compilation of cairo-deflate-stream.c conditional on compilation of PDF backend.
Otherwise we risk pulling in an otherwise-unneeded dependency on zlib.

This fixes the bug reported here:

	Without PDF surface backend we don't need cairo-deflate-stream
	https://bugs.freedesktop.org/show_bug.cgi?id=10202
2007-03-15 23:17:19 -07:00
Behdad Esfahbod
a7595c1295 [Makefile.am] Do not distribute cairo-features.h, Ouch!
We were accidentally doing that by not marking it noinst.
Moreover, no need to mark it as BUILD_SOURCES, since it's
created by configure, not make.
2007-03-13 17:21:19 -04:00
Behdad Esfahbod
62e864e73c [Type1] Add cairo-type1-private.h that Type1 fallback and subset code share 2007-03-07 16:02:08 -05:00
Brian Ewins
9032bf4e2d [quartz] rename remaining nquartz symbols to quartz.
Renaming any nquartz symbols and files left to quartz.
2007-03-06 23:24:33 +00:00
Vladimir Vukicevic
4c201723ce [quartz] Rename nquartz to quartz 2007-02-20 12:15:35 -08:00
Behdad Esfahbod
8133530ae5 [configure] Improve win32 detection
We now test for windows.h availability to automatically enable win32
backends.  This nicely enables compiling cairo against libwine by just
setting CC=winegcc LD=winegcc during configure.  This currently only
generates static libs though.
2007-02-20 01:01:34 -05:00
Adrian Johnson
7f246462eb Add cairo-deflate-stream.c
Add a new stream type that compresses the stream using the zlib deflate method.
This is intended for use by the PDF surface.
2007-01-17 13:21:03 -08:00
Behdad Esfahbod
11dd9eab69 [src/Makefile.am] Don't remove cairo-features.h in "make clean"
That's generated by configure, so it should be removed by "make distclean".
2007-01-04 23:36:32 -05:00
Carl Worth
def0e6d41d Rename cairo-path-data.c to cairo-path.c (and similar) 2006-12-19 13:10:06 -08:00
Carl Worth
13c143bb52 Rename cairo-path.c to cairo-path-fixed.c 2006-12-19 13:10:00 -08:00
Joonas Pihlaja
fac3684e68 perf: new-tessellator: Deferred trapezoid generation (first try) 2006-11-22 17:55:54 -08:00
Carl Worth
4cd871b6f3 Switch from old tessellator to new tessellator 2006-11-22 16:56:51 -08:00
Adrian Johnson
bd0f991908 Add OpenType/CFF Subsetting 2006-10-27 00:00:24 +09:30
Ian Osgood
aa017161a5 Move XCB sections next to XLIB sections. 2006-10-16 11:24:25 -07:00
Behdad Esfahbod
f6a2811c87 [slim] hide cairo_glitz_surface_create() (#8551) 2006-10-08 17:07:17 -04:00
Behdad Esfahbod
2041db9196 [Makefile.am] Pass srcdir down to the tests 2006-10-05 11:53:06 -04:00
Behdad Esfahbod
01f10fb27a check-headers.sh: Add a test for cairo_public decorators in public headers
Test fails currently because of bug 8313 and similar issues.
2006-09-18 13:31:26 -04:00
Peter Weilbacher
2fd0ad9489 OS/2 build changes 2006-09-15 11:18:47 +02:00
Vladimir Vukicevic
3623da441a [nquartz] Initial commit of native quartz surface
Inital commit of Native Quartz surface.  The main missing functionality
is mask() support (which is just a noop right now, except for the simple
solid-alpha case).
2006-09-13 14:48:40 -07:00
Carl Worth
79aed8c5fc Deprecated CAIRO_FORMAT_RGB16_565. Add cairo-deprecated.h . 2006-09-11 11:05:02 -07:00
Behdad Esfahbod
cd1b665064 Add scripts to sanity check the shared object for exported and PLT symbols
src/check-def.sh checks that the list of symbols exported is the same as the
list of symbols in cairo.def, ie. symbols in public header files. (except for
symbols starting with _cairo)

src/check-plt.sh checks that no PLT entries exist for local function calls.
This makes sure we keep the 'slim' annotations uptodate.

These two are defined as tests in src/ and will be run during "make distcheck".
However, they are skipped if the commands 'nm' and 'readelf' are not found.
(We don't really rely on any functionality of eu-readelf, so using readelf
proper which should be more commonlly installed.)
2006-09-06 13:54:12 -04:00
Adrian Johnson
d716020db2 Generate Type 1 fonts from glyph outlines
This patch generates Type 1 fonts for the PS/PDF backends when TrueType
or Type 1 subsetting fails. This has the advantage over the current
Type 3 fallback of reduced font size and better quality rendering
in some PDF viewers. xpdf shows a large improvement in text display
quality with this patch.
2006-09-05 15:57:47 -04:00
Behdad Esfahbod
6ed1613b51 [Makefile.am] Remove unnecessary parantheses that were causing trouble with old bash
Reported by Tor Lillqvist
2006-08-20 13:44:56 -04:00
Behdad Esfahbod
50be7951c9 Split the TrueType table definitions into a private header file
such that we can test the struct sizes in a test.
2006-08-07 21:23:08 -04:00
Kristian Høgsberg
f664a3b7a0 Renamed cairo-font-subset.c to cairo-truetype-subset.c 2006-08-02 19:30:55 -04:00
Adrian Johnson
a0989f427b Remove freetype dependency for truetype subsetting code.
Add a load_truetype_table function to cairo_scaled_font_backend_t and
use it to load the truetype sfnt tables.  Implement this with freetype
for the freetype font backend and use GetFontData for win32.  Atsui
remains unimplemented, and still falls back to type3 fonts.
2006-08-02 19:30:55 -04:00
Kristian Høgsberg
0da4b9319f Drop unused src/cairo-font-subset-private.h. 2006-08-02 15:18:56 -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
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
Carl Worth
cea70741e8 Add src/cairo-features.h and test/*.ps to CLEANFILES 2006-07-01 03:24:21 +02:00
Behdad Esfahbod
73a0e792b4 More configure foo fixes for .pc files. 2006-06-26 12:21:18 +02:00
Carl Worth
333ac8f4d9 Add 'private' cairo_scaled_font_test_set_max_glyphs_cached_per_font for testing 2006-06-22 22:03:06 -07:00
Behdad Esfahbod
83a8a50735 Pass --cache-file=config.cache and --disable-static to configure from
autogen.sh.
2006-06-21 19:57:40 -04:00
Behdad Esfahbod
c88bab66ab Make configure generate cairo-features.h. Generate AC_DEFINE and AM_CONDITIONALS
for all CAIRO_HAS_*  in CAIRO_BACKEND_ENABLE.
2006-06-21 07:05:13 -04:00
Kristian Høgsberg
b8231f8949 Add cairo-output-stream-private.h to libcairo_la_SOURCES.
We now pass distcheck again.
2006-06-15 22:07:17 -04:00
Behdad Esfahbod
7e0be461b5 Rename cairo-wideint.h to cairo-wideint-private.h. 2006-06-14 05:06:10 -07:00
Behdad Esfahbod
b9cfe941c8 Add backend-specific pkg-config files. 2006-06-14 05:06:09 -07:00