Commit graph

1308 commits

Author SHA1 Message Date
Carl Worth
2cd76fc77f Update name from "0.5 porting guide" to "1.0 porting guide." 2005-08-24 08:46:02 +00:00
Carl Worth
aa4b9f4b00 Some text cleanups from Øyvind Kolås. 2005-08-24 08:28:00 +00:00
Carl Worth
d86f5af717 Add Amaury Jacquot. 2005-08-24 08:12:22 +00:00
Carl Worth
ccc7a2f115 Fix typo. 2005-08-24 08:07:24 +00:00
Carl Worth
f4188a4680 Fix typos. 2005-08-24 07:58:07 +00:00
Tor Lillqvist
bd510d8b4b Drop PDF and PS backend and FT font API from Win32 DLL entry points for now. 2005-08-24 07:56:45 +00:00
Carl Worth
d86b741b4e Fix typos. 2005-08-24 07:16:01 +00:00
Carl Worth
83b2f98d49 Move glitz into the experimental list. 2005-08-24 06:50:51 +00:00
Carl Worth
9fde3cc0e3 Put glitz in the experimental section.
Give glitz the experimental treatment, (disable it by default.
2005-08-24 06:48:02 +00:00
Carl Worth
19c25d63c2 Add some more detailed build instructions. 2005-08-24 06:17:39 +00:00
Billy Biggs
985d8571d2 Fix some minor typos in the doc. 2005-08-24 06:09:11 +00:00
Carl Worth
b5a7a19579 Disable ATSUI by default as well. 2005-08-24 06:07:58 +00:00
Carl Worth
3a9f977817 Add pointer to http://bugs.freedesktop.org. 2005-08-24 05:43:48 +00:00
Carl Worth
9282036cd3 Add more detailed notes on what is required to compile cairo on Mac OS X or win32. 2005-08-24 05:36:05 +00:00
Carl Worth
4569aeda97 Change upload directory from snapshots to releases now thatwe're doing stable releases of cairo. 2005-08-24 05:28:28 +00:00
Carl Worth
18ef8944dc Give PostScript and PDF backends the experimental treatment, disabling them by default. 2005-08-24 05:25:51 +00:00
Carl Worth
5ca5ddde0b Add notes for 1.0 release. Thanks to Owen Taylor.
Note that PS and PDF backends are experimental.
Note the progress that has been completed so that 1.0 is ready now.
2005-08-24 05:21:50 +00:00
Carl Worth
112094a350 Update documentation for most path construction functions. Add discussion of the effects on the current point to all functions. Rephrase the wording of the relative functions. Big rewrite of cairo_arc description. Add discussion of join not caps to cairo_close_path. 2005-08-24 02:25:39 +00:00
Keith Packard
235838d49f Use new device_x_scale/device_y_scale surface fields to set the device coordinate space to the nominal pixels.
Treat more alpha values as translucent (up to 0.999)
Fix emit_image to actually use a temporary image when necessary.
Change PS coordinate space to match cairo (top-down), adjust PS output to use new space.
Find more cases where PS output was not supported and fall back to image surface.
reviewed by: cworth
2005-08-24 01:47:13 +00:00
Keith Packard
5198e71eaf _cairo_surface_show_glyphs may return UNSUPPORTED in which case a call to scaled_font->backend->show_glyphs is needed.
reviewed by: cworth
2005-08-24 01:42:19 +00:00
Keith Packard
e4166936b9 Add device_x_scale and device_y_scale to surface so that the coordinate system seen by the backend can differ from the nominal device coordinate space used by the application.
Useful for printer backends where the device coordinate space should be in pixels while the user visible device space is in points.
There is no API to set these values; the backends using this functionality should do that themselves before the first cairo_t is created.
reviewed by: cworth
2005-08-24 01:39:56 +00:00
Carl Worth
77a0ae7439 Fix cairo_show_text to advance the current point. Add documentation for cairo_show_text.
Add test to verify that the current-point-advancing behavior of cairo_show_text is working.
Remove bug about cairo_show_text not advancing the current point.
2005-08-24 01:13:36 +00:00
Carl Worth
5ac2d216ab Update documentation for most path construction functions. Add discussion of the effects on the current point to all functions. Rephrase the wording of the relative functions. Big rewrite of cairo_arc description. Add discussion of join not caps to cairo_close_path. 2005-08-24 00:19:52 +00:00
Carl Worth
4f44cd809d Minor doc edit. 2005-08-23 23:20:53 +00:00
Carl Worth
ef8b5b6a50 Minor doc edits. 2005-08-23 23:13:35 +00:00
Carl Worth
4047fa5077 Prefer cairo over Cairo when not at the beginning of a sentence. 2005-08-23 22:48:13 +00:00
Billy Biggs
0b616d20dd Add a long description.
Fix a typo.
Document the return value of cairo_scaled_font_reference().
Document the width and height parameters of cairo_xlib_surface_set_drawable().
2005-08-23 21:36:08 +00:00
Billy Biggs
86889a55de Document the rest of the path functions (except the two text ones, which should coordinate with their corresponding non-path versions).
Minor shuffling.
2005-08-23 21:10:39 +00:00
Kristian Høgsberg
1e054fa396 More minor edits. 2005-08-23 20:08:21 +00:00
Billy Biggs
ebb5433356 Minor edits. 2005-08-23 19:54:11 +00:00
Billy Biggs
326911a749 Update the long description of cairo_matrix_t to match the current sources.
Add cairo_path_data_t.
Some documentation updates and improvements.
2005-08-23 19:52:09 +00:00
Carl Worth
ee3e72e6a9 Add suppression for uninitialized data in fbBltOne. 2005-08-23 19:34:20 +00:00
Carl Worth
0b063224a6 Big update in preparation for 1.0. 2005-08-23 19:31:10 +00:00
Carl Worth
83aae92063 Added several names to the AUTHORS file (since 2005-01-24):
Josh Aas <joshmoz@gmail.com> Billy Biggs <vektor@dumbterm.net> Damien Carbery <damien.carbery@sun.com> Steve Chaplin <stevech1097@yahoo.com.au> Tomasz Cholewo <cholewo@ieee-cis.org> John Ehresman <jpe@wingide.com> Behdad Esfahbod <behdad@behdad.org> Bertram Felgenhauer <int-e@gmx.de> J. Ali Harlow <ali@avrc.city.ac.uk> Adrian Johnson <ajohnson@redneon.com> Michael Johnson <ahze@ahze.net> Øyvind Kolås <pippin@freedesktop.org> Martin Kretzschmar <martink@gnome.org> Tor Lillqvist <tml@novell.com> Luke-Jr <luke-jr@utopios.org> Jeff Muizelaar <jeff@infidigm.net> Peter Nilsson <c99pnn@cs.umu.se> Geoff Norton <gnorton@customerdna.com> Robert O'Callahan <rocallahan@novell.com> Mike Owens <etc@filespanker.com> Stuart Parmenter <pavlov@pavlov.net> Tim Rowley <tim.rowley@gmail.com> Jason Dorje Short <jdorje@users.sf.net> Travis Spencer <tspencer@cs.pdx.edu> Malcolm Tredinnick <malcolm@commsecure.com.au>
2005-08-23 17:36:20 +00:00
Billy Biggs
b4d43d7fdd Experimental Quartz and XCB backends removed from the public doc for now. 2005-08-23 16:31:59 +00:00
Owen Taylor
f5c16c2e48 Reverse the help text for --enable-xcb,
--enable-quartz.
2005-08-23 15:16:37 +00:00
Owen Taylor
b8d610c56e Disable XCB and Quartz backends unless explicitely enabled. Add a big warning message if they are enabled about bugs and API instability. 2005-08-23 15:11:44 +00:00
Owen Taylor
00af78735e Rip out all the code for doing anything other than linear interpolation between color stops, instead of doing different funky things based on pattern->filter. (#4184) 2005-08-23 14:53:08 +00:00
Owen Taylor
48b3a1cacd Check for AlphaBlend() with GetProcAddress() to support older compilation environments like MSVC 6. (Also fixes this portion of the code to run on Win98 and Win95, but much of the rest of cairo-win32-* won't work in that environment) (#3926, Hans Breuer, Christian Biesinger, based on code originally from Mozilla)
Remove WINVER define, since it was there only for AlphaBlend().
2005-08-23 14:52:38 +00:00
Carl Worth
c4c1c4db96 Remove assert statements that violate two intentional instances of ref_count == 0. 2005-08-23 14:51:51 +00:00
Carl Worth
2dfb7a662f Fix memory leak of pattern. 2005-08-23 14:37:09 +00:00
Owen Taylor
a96a4a7ce6 Check for AlphaBlend() with GetProcAddress() to support older compilation environments like MSVC 6. (Also fixes this portion of the code to run on Win98 and Win95, but much of the rest of cairo-win32-* won't work in that environment) (#3926, Hans Breuer, Christian Biesinger, based on code originally from Mozilla)
Remove WINVER define, since it was (hopefully) there only for AlphaBlend().
2005-08-23 14:30:52 +00:00
Owen Taylor
6d8df3957d Call _get_pattern_load_flags() on the resolved pattern, not the input pattern. (Further fix from sunmoon1997) 2005-08-23 14:12:01 +00:00
Carl Worth
f219b83466 if users attempt to twice destroy or re-reference a destroyed object. The condition for detecting this case is a ref_count of 0.
Reviewed by: otaylor Fixes bug #4198
2005-08-23 14:04:28 +00:00
Carl Worth
a0ecb16417 Move CAIRO_CONTENT_VALID and CAIRO_FORMAT_VALID from the public cairo.h to the private cairoint.h where they belong. 2005-08-23 13:57:00 +00:00
Owen Taylor
f229b1abfb when creating the temporary mask, do glyph ADD mask, not (glyph IN source) ADD mask. Set the mask as having component alpha when it's 4-channel.
test/text-antialias-subpixel.c test/Makefile.am: No longer XFAIL.
test/text-antialias-gray.c test/text-antialias-subpixel.c
Don't turn off metrics hinting, it doesn't make sense.
Update.
2005-08-23 13:34:14 +00:00
Carl Worth
c11f0376d4 Revise the description of indentation and tabs to be clear (I hope). 2005-08-23 12:48:17 +00:00
Carl Worth
317af5618c Fix inadvertent commit of incorrect reference image 2005-08-23 10:55:00 +00:00
Carl Worth
9aa1f4d868 Clear to opaque white at the beginning of the test so that the 0 alpha values in the destination don't cause bizarre results. (main): Note that only the image backend should fail now.
Add new reference image.
2005-08-23 10:39:27 +00:00
Carl Worth
9e68e0ceef Add more comments on the improved state of this bug. Commit a reference image generated with cairo_text_path; cairo_fill. (We may not require getting this exact result, but I think it is worth examining the differences closely.) 2005-08-23 10:11:16 +00:00