Commit graph

2114 commits

Author SHA1 Message Date
Kristian Høgsberg
cd5e08a9fe Implement 0-padding and field width for _cairo_output_stream_printf().
Use it instead of %c%c in PS and PDF surfaces.
2006-06-19 22:44:39 -04:00
Carl Worth
a3f2d92f11 PDF: Don't fallback due to CAIRO_ANTIALIAS_NONE
This was a gratuitous thing that was causing excessive fallbacks in
mozilla printing to PDF. The only reason it was ever there was to
get some of the tests that rely on CAIRO_ANTIALIAS_NONE to pass.
Instead we now simply don't run those tests against the PDF backend.
2006-06-19 11:03:32 -07:00
Behdad Esfahbod
72e7667ed9 Replace noinst_ with check_, such that nothing is built with default make
target.
2006-06-19 04:29:49 -04:00
Behdad Esfahbod
fdc109dc59 Add create-for-stream.* to .gitignore. 2006-06-19 04:17:19 -04:00
Behdad Esfahbod
d12afb7eac Update .gitignore 2006-06-19 04:12:39 -04:00
Behdad Esfahbod
a28557f55a Reference images for new test... 2006-06-19 04:12:39 -04:00
Jinghua Luo
2f59dd4a5e Turn hinting off to get consistent results for ft-text-vertical-layout test case. 2006-06-19 15:55:12 +08:00
Jinghua Luo
f5b6fc139c Turn hinting off to get consistent results for ft-text-antialias-none test case. 2006-06-19 15:55:12 +08:00
Behdad Esfahbod
ddc01a3c55 Correct comment about expected result in device-offset-positive test. 2006-06-19 03:22:53 -04:00
Behdad Esfahbod
70d3719ec9 Add test device-offset-positive. 2006-06-19 03:20:09 -04:00
Jinghua Luo
fde08da55f freetype: Don't ignore antialias in some cases. 2006-06-19 14:49:46 +08:00
Jinghua Luo
c9de7b1286 freetype: Compare all elements in ft_options but not use memcmp. 2006-06-19 14:17:24 +08:00
Jinghua Luo
e4736fcf76 freetype: Clear target mode correctly in _cairo_ft_options_merge. 2006-06-18 23:50:51 +08:00
Jinghua Luo
1e0e56e022 freetype: Fix warnings in _decompose_glyph_outline. 2006-06-18 17:30:39 +08:00
Jinghua Luo
117b062756 freetype: cleanup _cairo_ft_scaled_glyph_init. 2006-06-18 17:26:19 +08:00
Jinghua Luo
54b4a2fccd freetype: Respect configurations in font pattern.
cairo freetype font backend doesn't handle fontconfig configurations
quiet well, it always renders glyphs using configurations in
scaled_font->base.options which usually isn't corresponding to
font pattern used to create the font face and the load flags. As a
result, turning antialias off with fontconfig doesn't work with cairo
HEAD, subpixel order either.

This commit make cairo respect configurations in font pattern and handle
load flags correctly. The ft-text-antialias-none test case passess now.
And should fix bug #6759 and #4792.
2006-06-18 17:20:38 +08:00
Jinghua Luo
4b2b8f939a Add ft-text-antilaias-none test case demonstrating bug #6759. 2006-06-17 16:29:54 +08:00
Jinghua Luo
efaf88d409 Add missing prototype for _cairo_lzw_compress. 2006-06-17 15:52:05 +08:00
Ian Osgood
6f0a85c8f7 Update the XCB backend for screen sensitivity. 2006-06-16 22:43:49 -07:00
Behdad Esfahbod
bc4a6796f8 Accept CAIRO_TEST_TARGET being empty or containing a list of backends to test.
The list can be separated by any of space, tab, comma, colon, or semicolon.
Moreover, a CAIRO_TEST_TARGET of e.g. "glitz" matches any subtarget like
"glitz-glx".
2006-06-16 19:01:20 -04:00
Behdad Esfahbod
8bc05f15ab Note that create_similar clears surface. 2006-06-16 18:39:36 -04:00
Carl Worth
3bad1f0b0c Increment CAIRO_VERSION to 1.1.11 after making the 1.1.10 snapshot 2006-06-16 10:09:54 -07:00
Carl Worth
65e73c81b8 Update version to 1.1.10 and add notes to NEWS file.
Also update libtool version information to 10:0:8.
2006-06-16 09:45:44 -07:00
Carl Worth
b992e1e29d Annoying doc template churn. 2006-06-16 09:44:33 -07:00
Carl Worth
4a5111695c Update release rules in Makefile to add git signature information. 2006-06-16 09:22:36 -07:00
Carl Worth
c6164d0d2a New API: Add support for new CAIRO_FORMAT_RGB16_565 2006-06-16 08:46:34 -07:00
Jinghua Luo
36e59ca5f8 xlib: free resources before return if looking up glyph surface fails. 2006-06-16 21:13:21 +08:00
Behdad Esfahbod
bf2c0e44d8 Merge branch 'cairo' into cairo-origin 2006-06-16 00:13:18 -04:00
Behdad Esfahbod
a8b736c160 Use enum time instead of int (shuts intel compiler up.) 2006-06-16 00:08:44 -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
Carl Worth
abe1bfad8d Add missing breaks in switch statement.
Yes, I am an idiot.
2006-06-15 15:43:00 -07:00
Carl Worth
9fa24975b4 Drop _cairo_surface_is_opaque now that we have cairo_surface_get_content 2006-06-15 15:33:45 -07:00
Carl Worth
0ba040d7f6 Remove _cairo_image_surface_is_alpha_only in favor of just looking at content value. 2006-06-15 14:56:59 -07:00
Carl Worth
82496a6f7c _cairo_format_from_pixman_format: Add useful error mesage and assertion when failing. 2006-06-15 14:15:42 -07:00
Kristian Høgsberg
dedc51ba51 Only call close function for output streams if it's non-NULL. 2006-06-14 19:25:37 -04:00
Kristian Høgsberg
9ef99d10bb Add test case for the PDF, PS and SVG stream constructors. 2006-06-14 19:21:46 -04:00
Emmanuel Pacaud
8c8bcaf99b SVG: Update of reference images. 2006-06-14 21:09:16 +02:00
Kristian Høgsberg
2cea3a2710 Merge branch 'svg-rewrite' 2006-06-14 15:00:33 -04:00
Kristian Høgsberg
4932d09a06 Actually add src/cairo-output-stream-private.h. 2006-06-14 14:12:55 -04:00
Torsten Schönfeld
17ea755235 Add missing cairo_public tag for cairo_image_surface_get_stride 2006-06-14 11:09:00 -07:00
Carl Worth
1599ab8fa9 Increment CAIRO_VERSION to 1.1.9 after making the 1.1.8 snapshot 2006-06-14 10:41:29 -07:00
Carl Worth
dd859b8736 Update version to 1.1.8 and add notes to NEWS file.
Also update libtool version information to 9:0:7.
2006-06-14 08:14:43 -07:00
Carl Worth
65c9c072d2 Update refefence images due to pattern source shift.
The commit that introduced this change is:

commit b104a79502
Author: Bertram Felgenhauer <int-e@gmx.de>
Date:   Tue Jun 13 20:07:28 2006 -0400

    Patch to fix pixman samping location bug (#2488).
2006-06-14 06:40:36 -07:00
Carl Worth
4bdfff477a PS PDF: Update reference images due to truetype subsetting 2006-06-14 06:40:33 -07: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
Carl Worth
e346eca138 Add zero-alpha reference image to Makefile.am for the sake of make dist 2006-06-14 04:58:54 -07:00
Bertram Felgenhauer
211741cce6 Bug 4723: configure.in: Fix m4 quoting when examining pkg-config version 2006-06-14 04:51:27 -07:00
Brian Cameron
b8e93f9c55 Bug 4882: Flag Sun's X server has having buggy_repeat.
This is the Sun labelling of Xorg 6.8 as shipped with Solaris 10.
2006-06-14 04:44:01 -07:00