Commit graph

1088 commits

Author SHA1 Message Date
Carl Worth
f2dc1ebe82 Ignore cairo.def.
Remove cairo_private since we only use it in .h files, not .c files.
2005-09-06 15:19:00 +00:00
Carl Worth
5b5eecc2e1 Make a very preliminary attempt at 1.0.2, 1.2.0, and 1.4.0 roadmaps. 2005-09-02 16:17:48 +00:00
Carl Worth
7d93d26e1e Add description of cairo's versioning scheme. 2005-09-02 13:42:34 +00:00
Carl Worth
93289f14cc Clean up some documentation issues pointed out by otaylor. 2005-09-02 11:22:40 +00:00
Keith Packard
0cfa350fa8 Oops. Call _cairo_scaled_font_set_metrics to set user-space metrics for scaled fonts.
reviewed by: otaylor deserves credit for noticing a problem
2005-09-01 20:38:07 +00:00
Bertram Felgenhauer
25edf235f0 Add missing pair of braces. This fixes a crash on text output. 2005-09-01 06:13:46 +00:00
Carl Worth
7e4465819b Add includes to get sized-integer types such as uint32_t.
Fix declaration of image data array to be uint32_t rather than unsigned long. Fixes four out of the remaining five failures in bug #4245.
2005-09-01 02:14:31 +00:00
Carl Worth
0f4beab507 Add call to XSynchronize, (the expected clip-all failure isn't occuring without it for some reason).
Note reason for expected failure.
src/cairo-scaled-font.c: Add an optional text_to_glyphs() virtual function that the backend can implement instead of ucs4_to_index().
Protect inclusion of fontconfig.h with HAVE_FCFINI.
2005-08-31 19:11:22 +00:00
Carl Worth
f25ebec368 Add call to XSynchronize, (the expected clip-all failure isn't occuring without it for some reason).
Note reason for expected failure.
2005-08-31 16:17:28 +00:00
Owen Taylor
d56b0d1d80 Handle displays which don't match the local endianness by byteswapping on GetImage/PutImage. (#4321, reported by Sjoerd Simons) 2005-08-31 15:09:35 +00:00
Keith Packard
b0c58593b3 Split out scaled font code to cairo-scaled-font.c
Replace cairo cache implementation (this code from cworth)
No more global glyph cache to clean up
Store glyphs in new per-scaled font caches which hold user-space metrics and device space bounding boxes
Refactor glyph drawing APIs so that the surface API is invoked directly from the gstate code.
Add path creation/destruction routines (to hold glyph paths)
New implementation of scaled fonts which uses per-scaled_font caches for glyphs and keeps user-space metrics, device-space bboxes along with glyph images and/or glyph paths.
Adapt to new scaled font API changes.
New cache and scaled_font APIs
Repond to bug fix in metrics computation for glyphs where y values were rounded up instead of down because of a sign difference between cairo and FreeType.
Reviewed by: otaylor, cworth
2005-08-31 15:08:02 +00:00
Carl Worth
568ce86026 Increment CAIRO_VERSION to 1.1.1 after making branch tag BRANCH_1_0. 2005-08-31 14:43:31 +00:00
Carl Worth
41c321fffa Add note to use ./autogen.sh instead of ./configure when working with source from cvs. 2005-08-31 13:52:19 +00:00
Carl Worth
eb2316ecc7 Fix test to not try to set a non-invertible matrix. (We'd gotten away with this due to round-off error on many systems). Fixes one out of six failures in bug #4245. 2005-08-31 13:33:42 +00:00
Carl Worth
464c6dffcf Add Radek Doulík.
Add test exposing a BadValue (0-size pixmap) bug in cairo-xlib-surface when everything is clipped away (thanks to Radek Doulík <rodo@novell.com>).
2005-08-31 09:00:01 +00:00
Owen Taylor
44d6afc8a8 Liberalize the ServerVendor check so that we can handle the Mandriva vendor string. (#4298, Frederic Crozat) 2005-08-30 10:50:27 +00:00
Owen Taylor
a4418a63d7 Use a 8xN rather than a 1xN strip for a vertical gradient. This is much more tolerant of slow compositing code, and is worth some extra expense computing the gradient. (#4263, found in test case from Richard Stellingwerff) 2005-08-30 10:42:17 +00:00
Owen Taylor
96342fe7be Make the check for rectangular trapezoids simpler and more accurate. (#4220, found using test case from Richard Stellingwerff)
reviewed by: cworth
2005-08-27 18:54:03 +00:00
Owen Taylor
30e3d538df Make the vendor string check for XFree86 more liberal, to deal with older versions of gentoo that modified it in a different way. (#4231, fix from Billy Biggs) 2005-08-27 18:49:06 +00:00
Owen Taylor
a6acc962f7 Undef MIN/MAX before defining them in case some system header happens to define them. (#4196, Christian Biesinger) 2005-08-27 18:46:34 +00:00
Owen Taylor
3c53414cf3 Fix docs not to talk about %NULL returns. #4271, Duncan Coutts. 2005-08-27 18:40:46 +00:00
Tor Lillqvist
03c3935471 Include the documentation, too. 2005-08-25 02:59:40 +00:00
Billy Biggs
1f975f4e82 Update formatting of the title and short description, as this actually changes how the TOC appears in devhelp. 2005-08-24 19:20:08 +00:00
Bertram Felgenhauer
241a4eb8f7 add docs-publish as a phony target 2005-08-24 17:44:16 +00:00
Carl Worth
0bcad6002a Increment CAIRO_VERSION to 1.0.1 after tagging RELEASE_1_0_0. 2005-08-24 10:16:14 +00:00
Carl Worth
995ed33726 Increment CAIRO_VERSION to 1.0.0 and libtool versioning to 4:2:2. 2005-08-24 09:29:39 +00:00
Carl Worth
95c1d54701 Fix typos. Add CAIRO_STATUS_INVALID_DASH. 2005-08-24 09:26:28 +00:00
Carl Worth
766f63567c Unabbreviate "eg." to "for example,". 2005-08-24 09:12:37 +00:00
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