Carl Worth
c35bfffa10
Add new pdf-features test to exercise cairo_pdf_surface_set_size
2006-05-03 12:39:45 -07:00
Carl Worth
eb1b102e9a
PDF: Add new cairo_pdf_surface_set_size for doing per-page size changes
2006-05-03 12:39:23 -07:00
Carl Worth
5448278d6e
ps-features: Minor touchups (missing include, typo in error message)
2006-05-03 12:38:49 -07:00
Carl Worth
a4fc0c2e2c
PS: Use ceil, not rounding when computing integers for BoundingBox
2006-05-03 11:11:25 -07:00
Emmanuel Pacaud
e91b2c87cc
SVG: Emit "svg" version in document_finish.
...
At least when there's something valid in document->svg_version.
2006-05-03 14:53:25 +02:00
Emmanuel Pacaud
5336cf5a98
SVG: Only "comp-op" property when svg_version >= 1.2
2006-05-03 14:47:01 +02:00
Emmanuel Pacaud
57ddc7a869
SVG: Emit correct version property of "svg" element.
2006-05-03 14:29:54 +02:00
Carl Worth
3ee4bae920
Increment CAIRO_VERSION to 1.1.5 after making the 1.1.4 snapshot
2006-05-03 01:58:03 -07:00
Carl Worth
044bc5b2a5
Update version to 1.1.4 and add notes to NEWS file.
...
Also update libtool version information to 7:0:5.
2006-05-03 01:32:05 -07:00
Carl Worth
7cf6bcaeca
RELEASING: Replace references to ChangeLog with git log commands (and improve those)
2006-05-03 01:30:55 -07:00
Carl Worth
65dd361c49
SVG: Enable the SVG backend to be built by default (if dependencies are met)
2006-05-03 01:18:06 -07:00
Carl Worth
6acc836df2
Add backend-specific reference images to EXTRA_DIST so they'll go out in the tar file.
2006-05-03 00:57:28 -07:00
Carl Worth
b6fefaef9b
ROADMAP: Indicate that PS printing-oriented API is done now.
2006-05-03 00:56:34 -07:00
Carl Worth
09dfd6c3c1
PS: Add three new public functions for emitting DSC comments.
...
This commit adds the following new functions to the cairo-ps API:
cairo_ps_surface_dsc_comment
cairo_ps_surface_dsc_begin_setup
cairo_ps_surface_dsc_begin_page_setup
Many thanks are due to Michael Sweet who provided invaluble guidance
during the design of this API.
It is hoped that with this API in place, basically all printer control
that is likely to be desired to be performed with cairo PostScript
output is now possible.
This commit augments the ps-features test to exercise the new API.
2006-05-03 00:26:22 -07:00
Carl Worth
253472492e
pdf2png: Use new poppler_page_render to render directly through cairo.
...
...as opposed to using poppler_page_render_to_pixbuf.
2006-05-02 16:57:27 -07:00
Emmanuel Pacaud
e7459428dc
SVG: Convert SVG file with a resolution of 72 dpi.
...
That means 1 point = 1 pixel
2006-05-02 23:37:23 +02:00
Emmanuel Pacaud
1264ae9af4
SVG: Really use width and height in point unit.
...
I guess it makes more sense to use a unit for
specifying image size that doesn't depend on context.
2006-05-02 23:35:06 +02:00
Emmanuel Pacaud
773692b7df
Merge branch 'master' of git+ssh://emmanuel@git.cairographics.org/git/cairo
2006-05-02 21:52:41 +02:00
Emmanuel Pacaud
bd85701b4f
SVG: Minor documentation fixes.
2006-05-02 21:48:11 +02:00
Carl Worth
8488aaee1a
PS: Add cairo_ps_surface_set_size along with ps-features test
...
Add a new cairo_ps_surface_set_size which can be used to produce a
PostScript file consisting of pages of various different sizes (or
orientations).
Also add a new test (ps-features.c) for testing this and subsequent
ps-specific function calls.
2006-05-02 12:36:35 -07:00
Carl Worth
e59f35291f
atsui: Add missing check of return-value of malloc.
...
This addresses the original problem noted in mozilla's bug #336129 :
Missing out-of-memory check at gfx/cairo/cairo/src/cairo-atsui-font.c:185
https://bugzilla.mozilla.org/show_bug.cgi?id=336129
This also adds a comment pointing out another malloc that is not
checked, (but does not fix it).
2006-05-02 11:38:29 -07:00
Carl Worth
41e288a880
Make backend-specific function set a surface error on type mismatch.
...
If any backend-specific, surface-modifying function is called with
the wrong surface type we set an error on that surface.
2006-05-02 11:38:28 -07:00
Emmanuel Pacaud
0e4527c67e
SVG: Rework of API for SVG selection.
...
I've removed cairo_svg_surface_create_xxx functions, and instead implemented
the following ones:
cairo_svg_surface_restrict_to_version
cairo_svg_get_versions
cairo_svg_version_to_string
2006-05-02 14:50:40 +02:00
Carl Worth
32f120e488
Don't return void from void-returning function ( fix #6792 ).
...
It's a dumb part of the C standard and it's even dumber when compilers are
picky about it. But oh, well.
2006-05-01 15:12:46 -07:00
Carl Worth
df2f05876d
ROADMAP: Mark bug #4705 as fixed.
2006-05-01 14:54:57 -07:00
Carl Worth
87bd00326e
Fix silly typo from previous commit.
2006-05-01 14:52:25 -07:00
Carl Worth
8dff692db6
Support multiple glyph image formats within the same font ( fix #4705 ).
...
If we find a glyph image of a format that is different from the font's
format, then we use a temporary image and convert to the font's
format.
This provides a simple fix for the crash identified in bug #4705 :
crash at XRenderAddGlyphs
https://bugs.freedesktop.org/show_bug.cgi?id=4705
A later improvement would guarantee that the "font's format" was
carefully chosen to be able to contain all glyphs in the font without
information loss.
2006-05-01 14:50:48 -07:00
Emmanuel Pacaud
0c927c5388
SVG: Add reference images for tests failing on 1 digit error on color.
2006-05-01 23:23:02 +02:00
Emmanuel Pacaud
e3b3402eb8
SVG: Correct use of paginated surface. Fix emit of alpha filter.
2006-05-01 23:21:37 +02:00
Emmanuel Pacaud
8e5ada5201
SVG: Trivial indentation and comment fixes.
2006-05-01 22:53:46 +02:00
Emmanuel Pacaud
62831dc10e
SVG: Remove outdated comment.
2006-05-01 22:53:12 +02:00
Emmanuel Pacaud
22c799d5b3
SVG: Fix error handling in create_for_document and in composite_image_pattern.
2006-05-01 22:52:47 +02:00
Emmanuel Pacaud
6f49f7b76d
SVG: Add an additionnal API for creating SVG 1.1 or 1.2 files.
...
And update documentation.
2006-05-01 22:51:25 +02:00
Emmanuel Pacaud
2e4d0e5ba7
SVG: Some variable/type renaming.
2006-05-01 22:50:42 +02:00
Emmanuel Pacaud
e5ea8268b0
SVG: Reenable optimisation of CLEAR and SOURCE in paint when there's
...
no active clipping path.
2006-05-01 22:49:58 +02:00
Emmanuel Pacaud
55685d7173
SVG: Code cleanup.
2006-05-01 22:49:29 +02:00
Emmanuel Pacaud
926bb6480c
SVG: Initial support of operators support via image fallbacks.
...
We need to add a public API that will let user select
a compatibility level regarding produced SVG files.
This patch also plugs a memleak.
2006-05-01 22:47:41 +02:00
Emmanuel Pacaud
061d508898
SVG: Sort of working implementation of a SVG backend with paginated surface
...
support.
Unoptimized and with memory leaks.
2006-05-01 22:43:15 +02:00
Emmanuel Pacaud
59dcb95ce5
SVG: First pass for analyze-surface support
2006-05-01 22:41:12 +02:00
Emmanuel Pacaud
0625d4cd3f
SVG: Ignore SVG test files.
2006-05-01 22:15:38 +02:00
Emmanuel Pacaud
d1dcbbb8c3
SVG: Update rgb24 reference files.
...
(cherry picked from 7173951535f4b95da37cbf3d51143deeec95e47a commit)
2006-05-01 22:13:18 +02:00
Emmanuel Pacaud
bdc1c1ac78
Copy content property when doing a snapshot of a meta surface.
2006-05-01 22:12:20 +02:00
Emmanuel Pacaud
6a33993b15
Merge branch 'origin'
2006-05-01 22:01:38 +02:00
Emmanuel Pacaud
b920dfd3df
SVG: Reenable operator tests, and rgb24 surface are meta-surfaces.
2006-05-01 21:59:53 +02:00
Carl Worth
3aa5d76d23
Add missing file leaky-dash-ref.png
2006-04-29 14:28:21 -07:00
Henning Noren
516ac16de1
Fix PS Surface Memleak
...
Fixes leak of 16 bytes when calling _cairo_ps_surface_finish by never freeing
the closure allocated in _word_wrap_stream_create.
2006-04-28 07:04:56 -07:00
Carl Worth
9729fe6024
Add line-width-scale test to demonstrate cairo_set_line_width bug
2006-04-27 11:45:38 -07:00
Carl Worth
5821d88119
Correct documentation to say "user space", not "user-space" where appropriate.
2006-04-27 11:45:26 -07:00
Emmanuel Pacaud
5515191f84
Use CLEAR operator in mask.c in order to not trig image fallback
...
for polygon masking.
(cherry picked from 30b2d1c5df9d1c6b536838a6a3407fdfa7198e29 commit)
2006-04-27 06:50:37 -07:00
Emmanuel Pacaud
9bca27a1ad
Optimisation of CLEAR operator in meta-surface.
...
This optimisation takes care to not replay what was done
before surface is cleared. We don't erase recorded commands
since we may have earlier snapshots of this surface.
(cherry picked from 926e2494ca2211e9117ab70fc427208d125e1bd5 commit)
2006-04-27 06:39:41 -07:00