Commit graph

122 commits

Author SHA1 Message Date
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
Behdad Esfahbod
2249fb89ae Move cairo.pc into src/. 2006-06-14 05:05:30 -07:00
Behdad Esfahbod
e9269aefcb Bug 7075: Fix make clean to remove cairo.def 2006-06-14 04:07:29 -07:00
Carl Worth
1d18af9f5a Merge branch 'type1-subsetting' into cairo
Conflicts:

	src/cairo-ps-surface.c
2006-06-13 15:51:57 -07:00
Carl Worth
c7b194c595 Merge branch 'truetype-subsetting' into cairo
Conflicts:

	src/Makefile.am
	src/cairo-font-subset.c
	src/cairo-pdf-surface.c
	src/cairo-ps-surface.c
2006-06-13 15:46:14 -07:00
Carl Worth
7015cc0b90 Add cairo-ps-test.h and cairo-svg-test.h to Makefile.am 2006-06-12 09:01:06 -07:00
Carl Worth
28d47d332a Move rectangle functions to new cairo-rectangle.c 2006-06-05 14:25:22 -07:00
Carl Worth
11b2481862 PDF: Add new, private test function: cairo_pdf_test_force_fallbacks 2006-05-24 14:02:30 -07:00
Carl Worth
0a1ec91977 Move prototype of cairo_debug_reset_static_data from uninstalled cairo-debug.h to cairo.h 2006-05-22 09:31:31 -07:00
Kristian Høgsberg
c36de5b7c5 Pull in type1 subset code from the cvs repo it was sitting in. 2006-05-18 02:16:45 -04:00
Kristian Høgsberg
b16c29ff0c Set libcairo_font_subset_sources for ps, pdf, and svg backends.
Backends that use the font subsetting code should add the font subsetting
sources to the build.  This is dont by setting libcairo_font_subset_sources,
in the conditional section for each backend.  If any one is enabled, the
sources will be added to the build.
2006-05-17 01:30:43 -04:00
Carl Worth
0544515279 Generalize font subsetting code in cairo-scaled-font-subsets for use by more than just PS backend 2006-05-10 14:47:28 -07:00
Carl Worth
f3703b1806 PS: Move type 3 support out into cairo-ps-font.c
This is in preparation for generalizing this code for sharing among
several backends.
2006-05-09 14:40:36 -07:00
Carl Worth
7601a07ae9 Remove cairo.def from the generated tar file. It's not useful there. 2006-04-26 14:34:02 -07:00
Christian Biesinger
a98b44a1de Fixing bad merge
The merge in 66ed9811cc
re-added this line, which makes cairo link to C++
libraries even on non-BeOS systems.

This was originally fixed in 69acfa6576
2006-04-19 02:34:55 +02:00
Carl Worth
a7f4f1b350 Move analysis of operators from cairo-ps-surface.c to cairo-operator.c 2006-04-14 17:03:39 -07:00
Carl Worth
66ed9811cc Merge branch 'cairo-origin' into analysis-surface
With the string-array-stream stuff that this merge picks up, the
analysis-surface branch is now passing all of the test suite again.
2006-04-04 14:58:52 -07:00
Carl Worth
57fe9b17b0 Move base85 code out of cairo-output-stream.c into new cairo-base85-stream.c 2006-04-03 15:26:17 -07:00
Christian Biesinger
69acfa6576 Don't link to C++ libraries on non-BeOS systems 2006-03-17 21:26:27 +01:00
Alexander Larsson
a7f58f8862 Add LZW image compression and ASCII85 encoding for PostScript image output.
* src/Makefile.am:
Add cairo-lzw.c to sources
Remove erronous space at start of line

* src/cairo-lzw.c:
New file implementing _cairo_compress_lzw which does Lempel-Ziv & Welch
compression as used by postscript. Based on code from libtiff.

* src/cairo-output-stream.c:
Add _cairo_output_stream_write_base85_string which implements
an encoder for the ASCII85Decode postscript filter.

* src/cairoint.h:
Add _cairo_compress_lzw and _cairo_output_stream_write_base85_string.

* src/cairo-ps-surface.c:
Write Images LZW + Base85 encoded.
Change ps level to 2 (we only needed level 3 for FlateDecode).
Change DocumentData to Clean7Bit as we don't include binary data
anymore.
2006-03-15 10:47:10 -08:00
Carl Worth
2660e79e67 Rename cairo_analyze_surface_t to cairo_analysis_surface_t. 2006-02-27 14:56:41 -08:00
Keith Packard
f9d4482137 rename evaluate surface to analyze surface, pull to separate files 2006-02-27 17:14:57 -05:00
Anders Carlsson
ae807fc936 Add cairo-quartz-private.h
If the destination surface is a quartz surface, get the clip mask from it.
Added.
Keep a copy of the clip mask around.
(_cairo_surface_is_quartz): New function which determines if a given surface is a quartz surface.
2006-01-10 05:28:59 +00:00
Michael Emmel
23e5e55841 New directfb backend for cairo includes test suite and example to run the test is in the comment at the top of cairo-test-directfb.c enable with
--enable-directfb
2005-12-29 07:17:01 +00:00
Carl Worth
e71e2fc4f1 Add a private cairo_paginated_surface_t which builds on top of the meta surface and is intended to provide an easy interface with common functionality for the various paginated surface types (ps, pdf, etc.).
Add test_paginated_surface_t which is another test surface enabled with --enable-test-surfaces. The test_meta_surface code served as the basis for cairo_paginated_surface_t so that test surface may be entirely superfluous now.
2005-12-21 16:46:44 +00:00
Carl Worth
ff486bec0f Begin moving fallback code out of cairo-surface.c and into cairo-surface-fallback.c. 2005-12-19 22:45:41 +00:00