summaryrefslogtreecommitdiff
path: root/graphics/cairo
AgeCommit message (Collapse)AuthorFilesLines
2009-06-14Remove @dirrm entries from PLISTsjoerg1-3/+1
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-01-14Update description from http://www.cairographics.org/ahoka1-9/+16
2009-01-07Update to 1.8.6:wiz2-8/+7
Release 1.8.6 (2008-12-13 Chris Wilson <chris@chris-wilson.co.uk>) ========================================================= The cairo community is pleased to announce the 1.8.6 release of the cairo graphics library. This is the third update to cairo's stable 1.8 series and contains a small number of bug fixes (in particular a few fixes for failures of cairo 1.8.4 on Quartz and PDF, and build fixes for a couple of backends). This is being released just under a month after cairo 1.8.4. We recommend that everyone using cairo upgrade to 1.8.6. -Chris Build fixes ----------- Fix build of DirectFB backend with debugging enabled: Bug in _cairo_directfb_surface_release_source_image function http://bugs.freedesktop.org/show_bug.cgi?id=18322 Fix build on OS/2. Bug fixes --------- Workaround a mis-compilation of cairo_matrix_invert() that generated invalid matrices and triggered assertion failures later. The issue was reported by Peter Hercek. Invalid computation of the modulus: https://bugzilla.mozilla.org/show_bug.cgi?id=466258 Invalid referencing of patterns in the Quartz backend: Failed assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&pattern->ref_count)' when using cairo quartz backend http://bugs.freedesktop.org/show_bug.cgi?id=18632 Invalid references to glyphs after early culling, causing segmentation faults in the PDF backend: http://lists.cairographics.org/archives/cairo/2008-December/015976.html Check for XRender in the XCB backend, or else we may attempt an invalid memory access: XCB backend fails with missing render. https://bugs.freedesktop.org/show_bug.cgi?id=18588
2008-11-26fix an uninitialized variable, from upstream CVS, bump PKGREVISIONdrochner3-2/+17
This should fix the "transmission" crash reported by Jared D. McNeill on pkgsrc-changes.
2008-11-16Depend on correct freetype2 version. Add comment about the possibilitywiz1-5/+8
to include libspectre (not enabled). Should we?
2008-11-16Update to 1.8.4:wiz3-14/+13
Release 1.8.4 (2008-11-14 Carl Worth <cworth@cworth.org>) ========================================================= The cairo community is pleased to announce the 1.8.4 release of the cairo graphics library. This is the second update to cairo's stable 1.8 series and contains a small number of bug fixes, (in particular a few fixes for build failures of cairo 1.8.2 on various systems). This is being released just over two weeks after cairo 1.8.2. We recommend that everyone using cairo upgrade to 1.8.4. -Carl Build fixes ----------- Fix build with older XRender that doesn't define RepeatNone: Build of xlib backend fails against old XRender (RepeatNone undeclared) https://bugs.freedesktop.org/show_bug.cgi?id=18385 Fix build with bash version <= 3.0: doltlibtool broken on linux with bash 3.00.0 https://bugs.freedesktop.org/show_bug.cgi?id=18363 Bug fixes --------- Avoid triggering a bug in X.org server 6.9 resulting in a hung machine requiring a reboot: https://bugs.freedesktop.org/show_bug.cgi?id=15628#c2 Fix display of user fonts as exercised by proposed support for type3 fonts in poppler (unsigned promotion fixes): Use cairo user-font for Type 3 fonts http://lists.freedesktop.org/archives/poppler/2008-October/004181.html Avoid miscomputing size of fallback images required when rendering with CLEAR, IN, or SOURCE operator to vector surfaces, (PS, PDF, SVG, etc.). Be more tolerant of broken fonts when subsetting type1 fonts: Error handling in cairo_type1_font_subset_get_glyph_names_and_widths http://lists.cairographics.org/archives/cairo/2008-October/015569.html Fix cairo_fill_extents, cairo_stroke_extents, cairo_path_extents, to correctly allow NULL parameters as documented. Fix potential crash on emitting a type3 glyph after having drawn text paths from the same font, (for example with cairo_text_path).
2008-10-31Re-add "include/cairo/cairo-quartz-image.h" to package list under Mac OS X.tron2-2/+4
Bump package revision.
2008-10-30Update to 1.8.2:wiz4-56/+6
Release 1.8.2 (2008-10-29 Carl Worth <cworth@cworth.org>) ========================================================= The cairo community is pleased to announce the 1.8.2 release of the cairo graphics library. This is the first update to cairo's stable 1.8 series and contains a large number of bug fixes. It is being released just over one month since cairo 1.8.0. This release consists primarily of bug fixes, but there is one notable new feature, (the ability to build cairo without an external font backend), and there are a few optimizations as well. See below for details on these changes and the most important bug fixes. While many people have contributed to this release, Chris Wilson deserves particular mention. He has contributed well over twice as many changes to cairo since 1.8.0 than everyone else combined. We greatly appreciate the tremendous efforts of Chris and all cairo contributors. We recommend everyone upgrade to cairo 1.8.2 and hope that everyone will have lots of fun with cairo! -Carl New feature ----------- It is now possible to build cairo without any font backend, (such as freetype, win32 or quartz). This is most useful when the application provides custom font rendering through the user-font API. But in the case where no external font backend is available, and no user-font is provided, cairo will render with a failsafe font, (a stroked font covering visible ASCII character). (Behdad Esfahbod) Optimizations ------------- Dramatically speed up compilation with dolt (removes much of the libtool overhead) (Behdad Esfahbod with thanks to Josh Triplett). Several minor optimizations to tessellator (special-cased comparisons, faster insert for skiplist, etc.) (Chris Wilson). Optimize away fractional translation component when doing EXTEND_NEAREST filtering, (for better performance). General bug fixes ----------------- Allow cloning sub-regions of similar surfaces to fix this bug (Chris Wilson): Crafted gif file will crash firefox [XError: 'BadAlloc (insufficient resources for operation)'] https://bugzilla.mozilla.org/show_bug.cgi?id=424333 Fix some matrix confusion to fix this regression (Chris Wilson): Translucent star exports in a wrong way to PDF https://bugs.launchpad.net/inkscape/+bug/234546 Fix some long-standing bugs with respect to properly computing the extents of transformed, filtered surfaces (Owen Taylor, Carl Worth, and Chris Wilson): Bad clipping with EXTEND_NONE http://bugs.freedesktop.org/show_bug.cgi?id=15349 Improve filtering handling in cairo-pattern.c http://bugs.freedesktop.org/show_bug.cgi?id=15367 Many thanks to Chris Wilson for digging out and cleaning up these fixes. Fix compilation on Solaris 10 (Chris Wilson): Cairo requires -DREENTRANT (along with -D_POSIX_THREAD_SEMANTICS) to compile on Solaris 10 with pthreads https://bugs.freedesktop.org/show_bug.cgi?id=18010 Fix very old bug causing dashes to be rendered at the wrong length in fallback images (Adrian Johnson) Dashed strokes too long in fallback images https://bugs.freedesktop.org/show_bug.cgi?id=9189 Fix broken dashing when a dashed path starts outside the clip region (Chris Wilson). Avoid range overflow when computing large patterns (Benjamin Otte and Chris Wilson). Avoid crashing due to an invalid font with an incorrect entry in its CMAP table (Adrian Johnson). Fix bugs in computing maximum size of text requests that can be sent with the Render extension, (avoiding potential crashes when rendering large amounts of text) (Behdad Esfahbod and Chris Wilson). Fix rendering of operators unbounded by the mask (Chris Wilson). Fix compilation on systems without compiler support for a native 64-bit type (Chris Wilson). Fix several cases of missing error-status propagation. (Chris Wilson, doing the work he seems to never tire of). Fix several locking issues found with the lockdep valgrind skin (Chris Wilson). Backend-specific bug fixes -------------------------- xlib: Avoid crash due to attempting XRender calls on pixmaps with formats not supported by the Render extension (Chris Wilson): XRender crashes due to NULL pointer from Cairo on SGI O2 https://bugs.freedesktop.org/show_bug.cgi?id=1173 xlib: Add support for XImages with depth of 4, 20, 24, or 28 bits (Chris Wilson): cairo doesn't support 24 bits per pixel mode on X11 https://bugs.freedesktop.org/show_bug.cgi?id=9102 xlib: Avoid mistakenly considering two surfaces as similar just because their depths match (while their Render formats do not) (Karl Tomlinson). ps: Fix slight mis-scaling of bitmapped fonts (Adrian Johnson) svg: Correctly emit comp-op for paint, mask, and show_glyphs operations (Emmanuel Pacaud). svg: Use finer-grained fallbacks for SVG 1.2 (as PS and PDF backends have been doing since 1.6.0) (Chris Wilson).
2008-10-17Set API depends here as well. This fixes the build on system with atron1-1/+3
builtin "pixman" older than 0.12.0 (e.g. NetBSD-current or Mac OS X).
2008-10-17Remove "include/cairo/cairo-quartz-image.h" which now longer existstron1-2/+1
(even under Mac OS X).
2008-10-16add two patches from wiz: fix build with "ssp", "make test" fixdrochner3-1/+51
2008-10-16update to 1.8.0drochner7-133/+58
from the announcement: The dominant theme of this release is improvements to cairo's ability to handle text. The highlights include a new "user fonts" feature as well as a new cairo_show_text_glyphs API which allows glyphs to be embedded in PDF output along with their original text, (for searching, selection, and copy-and-paste). Another major feature is a revamp of cairo's build system making it much easier to build cairo on various platforms.
2008-10-06additionally, BUILDLINK_ABI_DEPENDS should be added to.tnn1-2/+2
2008-10-06fix botched bump of ABI depends from a couple of months ago ...tnn1-3/+3
2008-08-25Fix png backend with libpng 1.2.30. Older libpng versions flushed thejoerg3-3/+31
output at the end of the write and this was restored with 1.2.30, but cairo didn't override the flush function, resulting in fflush on a non-stream. This in turn resulted in crashes of graphviz when compiling doxygen. Bump revision.
2008-06-23Needs serialised build.joerg1-1/+3
2008-05-14Fix to instal cairo-quartz-font.pc.obache4-8/+30
(and while here, enable quartz-image) Then atsui support for pango again. Bump pkgrevision.
2008-05-05Make this build on OS X 10.4.x/ppc.yyamano2-1/+32
2008-04-28Needs -D_POSIX_PTHREAD_SEMANTICS on Solaris 10. (PR pkg/38509)tnn1-3/+3
2008-04-22"atsui" support in "cairo" has been deprecated. Remove "atsui" specifictron2-5/+3
bits (available under Mac OS X only) and correct the package list. Bump package revision.
2008-04-21Update to cairo-1.6.4.tnn7-372/+34
Major changes between the 1.4 and 1.6 branch: - Now uses external "pixman" library instead of a bundled one. - Improvements to PDF, SVG and PostScript output - New support for arbitrary X server visuals (the 8-bit display support patch (patch-ae in pkgsrc) is integrated) - rendering backend improvements - various new API additions, while maintaining ABI compatibility - New Quartz backend - bug fixes
2008-04-12Convert to use PLIST_VARS instead of manually passing "@comment "jlam3-16/+16
through PLIST_SUBST to the plist module.
2008-03-12update to 1.4.14drochner2-6/+6
changes: -minor bugfixes -make PostScript output more conformant wrt Type 3 fonts
2007-11-30sync the patch dealing with 8-bit displays with the last versiondrochner2-22/+99
from https://bugs.freedesktop.org/show_bug.cgi?id=4945 ride on recent update
2007-11-29Update to 1.4.12:wiz3-7/+9
Release 1.4.12 (2007-11-26 Carl Worth <cworth@cworth.org>) ========================================================== This is the sixth update in cairo's stable 1.4 series. It comes five months after the 1.4.10 release. This fix includes various bug fixes originally developed during the 1.5.x development and backported to 1.4. Some of the most significant bug fixes prevent crashes: * Avoid overflow when allocating large buffers (Vladimir Vukicevic) * Fix crash with cairo_pattern_set_user_data (Carl Worth) * Fix broken locking in cairo-ft error path (Chris Wilson) * Avoid crash when cleaning up after Render extension (Carl Worth) * Avoid crash for zero-sized bitmap glyph (Chris Wilson) * Avoid crash with type-1 fonts and ft and atsui enabled (Brian Ewins) * Fix many error-handling cases in the Quartz/ATSUI code (Brian Ewins) * Eliminate cairo_stroke crash with scaling near zero (Carl Worth) Other fixes address rendering problems: * Fix PDF linear gradients without stops at 0.0 and 1.0 (Adrian Johnson) * Fix PDF CFF subsetting to work with Apple Preview (Adrian Johnson) * Report proper errors on out-of-memory on win32 (Vladimir Vukicevic) * Fix EXTEND_NONE gradients for cairo-quartz (Brian Ewins) * Fix odd-number-of-dashes dashing for cairo-quartz (Brian Ewins) * Fix erroneous results from cairo_stroke_extents (Carl Worth) * Force non-AA text when bitmap strikes are available (Keith Packard) * Fix cairo-atsui font metrics (Richard Hult) And some avoid raising cairo errors for innocent problems: * Avoid drawing shutdown for glyph-not-found in font (Behdad Esfahbod) * Don't raise an error for creating an empty path (Chris Wilson) At least one optimization managed to sneak in: * Free glyph surfaces after uploading to X server cache (Behdad Esfahbod) And there are a few very minor fixes, (such as build fixes).
2007-07-06update to 1.4.10drochner3-14/+14
changes: The most significant change in this release is a fix to avoid an X error in certain cases, (that were causing OpenOffice.org to crash in Fedora). There is also a semantic change to include child window contents when using an xlib surface as a source, an optimization when drawing many rectangles, and several minor fixes.
2007-06-15update to 1.4.8drochner4-23/+23
This is the fourth update in cairo's stable 1.4 series. It comes just over five weeks after the 1.4.6 release. This release includes a thread-safe surface-cache for solid patterns which significantly improves text rendering with the xlib backend. Also, dozens of error paths in cairo have been fixed thanks to extensive fault-injection testing by Chris Wilson.
2007-06-08Update to 1.4.6:wiz7-122/+87
Release 1.4.6 (2007-05-01 Carl Worth <cworth@cworth.org>) ========================================================= This is the third update in cairo's stable 1.4 series. It comes a little less than three weeks since the 1.4.4 release. This release fixes the broken mutex initialization that made cairo 1.4.4 unusable on win32, OS/2, and BeOS systems. This release also adds significant improvements to cairo's PDF backend, (native gradients!), and a couple of performance optimizations, (one of which is very significant for users of the xlib backend). Release 1.4.4 (2007-04-13 Carl Worth <cworth@cworth.org>) ========================================================= This is the second update release in cairo's stable 1.4 series. It comes just less than a month after 1.4.2. The changes since 1.4.2 consist primarily of bug fixes, but also include at least one optimization. See below for details. There have been lots of individuals doing lots of great work on cairo, but two efforts during the 1.4.4 series deserve particular mention: Internal cleanup of error handling, (Chris Wilson) -------------------------------------------------- Chris contributed a tremendous series of patches (74 patches!) to improve cairo's handling of out-of-memory and other errors. He began by adding gcc's warn_unused_attribute to as many functions as possible, and then launched into the ambitious efforts of adding correct code to quiet the dozens of resulting warnings. Chris also wrote a custom valgrind skin to systematically inject malloc failures into cairo, and did all the work necessary to verify that cairo's performance test suite runs to completion without crashing. The end result is a much more robust implementation. Previously, many error conditions would have gone unnoticed and would have led to assertion failures, segmentation faults, or other harder-to-diagnose problems. Now, more than ever, cairo should cleanly let the user know of problems through cairo_status and other similar status functions. Well done, Chris! More malloc reduction, (Mathias Hasselmann) ------------------------------------------- After 1.4.0, Behdad launched an effort to chase down excessive calls to malloc within the implementation of cairo. He fixed a lot of malloc-happy objects for 1.4.2, but one of the worst offenders, (pixman regions), was left around. Mathias contributed an excellent series of 15 patches to finish off this effort. The end result is a cairo that calls malloc much less often than it did before. Compared to 1.4.2, 55% of the calls to malloc have been eliminate, (and 60% have been eliminated compared to 1.4.0). Well done, Mathias!
2007-05-30Removed some code duplication from the buildlink3 files by using the newrillig1-8/+3
pkg-build-options.mk procedure.
2007-04-05before testing for definitions from config.h, #include itdrochner2-5/+9
fixes build failure on Linux reported by Ondrej Tuma
2007-03-29Repair a broken build on solaris and possibly others.dmcmahill3-2/+33
2007-03-20update to 1.4.2drochner10-126/+37
This switches to the new stable branch. Too many changes to list here, see the changelog. Most notably: speed improvements, PDF output improvement, API additions, bugfixes.
2007-03-12Removed patch-ah. It had been rejected upstream as "invalid".rillig2-18/+1
I still know that it was necessary for some package, but I don't remember which one and on which platform, and even the CVS log message doesn't give any useful information.
2007-02-15Added a patch to fix the pkg-config dependencies.rillig2-1/+18
2006-12-12Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.joerg1-2/+2
The redundant parsing of bsd.prefs.mk is mostly avoided now and parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-02Instead of setting compiler flags in each package if it uses C99,jschauma1-7/+2
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing. May need to be reviewed/added for other compilers. ok rillig@
2006-11-23don't use visibily attribute "hidden" on solaris, from Gilles Dauphindrochner2-1/+15
per PR pkg/35101
2006-11-09update to 1.2.6drochner4-24/+23
changes: mostly bugfixes
2006-11-09Teach Solaris to expose snprintf() with:dsainty1-1/+4
CPPFLAGS.SunOS+=-D__EXTENSIONS__ Without this a Solaris 9 build falls over at cairo-output-stream.c.
2006-11-06Convert to modular Xorg buildlinks.joerg2-8/+8
2006-11-05DESTDIR support.joerg1-1/+3
2006-09-29The last fix for pseudocolor displays broke 24-bit troecolor displays.drochner3-291/+91
Use a new patch from https://bugs.freedesktop.org/show_bug.cgi?id=4945 Bump PKGREVISION.
2006-09-20Fix ABI regression compared to pkgsrc's cairo-1.0. Bump revision.joerg3-3/+34
2006-08-31add a pointer to the cairo bug databasedmcmahill2-3/+5
2006-08-31Fix cairo on 8-bit psuedocolor displays. Finally I can use gtk again...dmcmahill3-2/+460
2006-08-19Update to 1.2.4:wiz3-10/+10
Release 1.2.4 (2006-08-18 Carl Worth) ========================================================= This is the second bug fix release in the 1.2 series, coming less than two weeks after the 1.2.2 release made on August 8. The big motivation for a quick release was that there were a log of build system snags that people ran into with the 1.2.2 release. But, by the time we got those all done, we found that we had a bunch of fixes for cairo's rendering as well. So there's a lot of goodness in here for such a short time period. Rendering fixes --------------- Fix image surfaces to not be clipped when used as a source (Vladimir Vukicevic) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=72e25648c4c4bc82ddd938aa4e05887a293f0d8b Fix a couple of corner cases in dashing degenerate paths (Jeff Muizelaar) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=fbb1758ba8384650157b2bbbc93d161b0c2a05f0 Fix support for type1 fonts on win32 (Adrian Johnson) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=da1019c9138695cb838a54f8b871bbfd0e8996d7 Fix assertion failure when rotating bitmap fonts (Carl Worth) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=0bfa6d4f33b8ddb5dc55bbe419c15df4af856ff9 Fix assertion failure when calling cairo_text_path with bitmap fonts (Carl Worth) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=9878a033531e6b96b5f27e69e10e90dee7440cd9 Fix mis-handling of cairo_close_path in some situations (Tim Rowley, Carl Worth) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=53f74e59faf1af78f2f0741ccf1f23aa5dad4efc Respect font_matrix translation in _cairo_gstate_glyph_path (Behdad Esfahbod) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=f183b835b111d23e838889178aa8106ec84663b3 Fix vertical metrics adjustment to work with non-identity shapes (Behdad Esfahbod) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=b7bc263842a798d657a95e539e1693372448837f [PS] Set correct ImageMatrix in _cairo_ps_surface_emit_bitmap_glyph_data (Behdad Esfahbod) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=d47388ad759b0a1a0869655a87d9b5eb6ae2445d Build system fixes ------------------ Fix xlib detection to prefer pkg-config to avoid false libXt dependency (Behdad Esfahbod) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=0e78e7144353703cbd28aae6a67cd9ca261f1d68 Fix typos causing win32 build problem with PS,PDF, and SVG backends (Behdad Esfahbod) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=aea83b908d020e26732753830bb3056e6702a774 Fix configure cache to not use stale results (Behdad Esfahbod) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=6d0e3260444a2d5b6fb0cb223ac79f1c0e7b3a6e Fix to not pass unsupported warning options to the compiler (Jens Granseuer) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=97524a8fdb899de1ae4a3e920fb7bda6d76c5571 Fix to allow env. variables such as png_REQUIRES to override configure detection (Jens Granseuer) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=abd16e47d6331bd3811c908e524b4dcb6bd23bf0 Fix test suite to not use an old system cairo when converting svg2png (Behdad Esfahbod) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=6122cc85c8f71b1ba2df3ab86907768edebe1781 Fix test suite to not require signal.h to be present (Behdad Esfahbod) http://gitweb.freedesktop.org/?p=cairo;a=commit;h=6f8cf53b1e1ccdbe1ab6a275656b19c6e5120e40 Code cleanups ------------- Many useful warnings cleanups from sparse, valgrind, and careful eyes (Kjartan Maraas, Pavel Roskin)
2006-08-10two pkgsrc related changes which I wanted to piggyback on the next update:drochner2-55/+52
-remove dependency on libpixman which was stale for ages -don't bother setting the gtk-doc installation path to share/doc, the new "devhelp" will find it at the default location (and the previous versions didn't find it at share/doc either)
2006-08-10Update to 1.2.2, some pkglint cleanup:wiz9-65/+34
Release 1.2.2 (2006-08-08 Carl Worth) ========================================================= This is the first bug fix release in the 1.2 series since the original 1.2.0 release made six weeks ago. There were some very serious bugs in the 1.2.0 release, (see below), so everybody is encouraged to upgrade from 1.2.0 to 1.2.2. The 1.2.2 release maintains source and binary compatibility with 1.2.0 and does not make any API additions. Fix crashes with BGR X servers ------------------------------ With cairo 1.2.0 many people reported problems with all cairo-using programs, (including all GTK+ programs with GTK+ >= 2.8) immediately crashing with a complaint about an unsupported image format. This bug affected X servers that do not provide the Render extension and that provide a visual with BGR rather than RGB channel order. report: https://bugs.freedesktop.org/show_bug.cgi?id=7294 fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=9ae66174e774b57f16ad791452ed44efc2770a59 Fix the "disappearing text" bug ------------------------------- With cairo 1.2.0 many people reported that text would disappear from applications, sometimes reappearing with mouse motion or selection. The text would disappear after the first space in a string of text. This bug was caused by an underlying bug in (very common) X servers, and only affected text rendered without antialiasing, (either a bitmap font or a vector font with antialiasing disabled). The bug was also exacerbated by a KDE migration bug that caused antialiasing to be disabled more than desired. report: https://bugs.freedesktop.org/show_bug.cgi?id=7494 fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=456cdb3058f3b416109a9600167cd8842300ae14 see also: Xorg: https://bugs.freedesktop.org/show_bug.cgi?id=7681 KDE: http://qa.mandriva.com/show_bug.cgi?id=23990 Fix broken image fallback scaling (aka. "broken printing") ---------------------------------------------------------- The various "print" backends, (pdf, ps, and svg), sometimes fallback to using image-based rendering for some operations. In cairo 1.2.0 these image fallbacks were scaled improperly. Applications using cairo can influence the resolution of the image fallbacks with cairo_surface_set_fallback_resolution. With the bug, any calue other than 72.0 would lead to incorrect results, (larger values would lead to increasingly shrunken output). report: https://bugs.freedesktop.org/show_bug.cgi?id=7533 fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=1feb4291cf7813494355459bb547eec604c54ffb Fix inadvertent semantic change of font matrix translation (Behdad Esfahbod) ---------------------------------------------------------------------------- The 1.2.0 release introduced an inadvertent change to how the translation components of a font matrix are interpreted. In the 1.0 series, font matrix translation could be used to offset the glyph origin, (though glyph metrics were reported incorrectly in 1.0). However in 1.2.0, the translation was applied to the advance values betwen each glyph. The 1.2.0 behavior is fairly useless in practice, and it was not intentional to introduce a semantic change. With 1.2.2 we return to the 1.0 semantics, with a much better implementation that provides correct glyph metrics. fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=84840e6bba6e72aa88fad7a0ee929e8955ba9051 Fix create_similar to preserve fallback resolution and font options (Behdad Esfahbod) ------------------------------------------------------------------------------------- There has been a long-standing issue with cairo_surface_create_similar such that font options and other settings from the original destination surface would not be preserved to the intermediate "similar" surface. This could result in incorrect rendering (particulary with respect to text hinting/antialiasing) with fallbacks, for example. report: https://bugs.freedesktop.org/show_bug.cgi?id=4106 fixes: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=9fcb3c32c1f16fe6ab913e27eb54d18b7d9a06b0 http://gitweb.freedesktop.org/?p=cairo;a=commit;h=bdb4e1edadb78a2118ff70b28163f8bd4317f1ec xlib: Fix text performance regression from 1.0 to 1.2.0 (Vladimir Vukicevic) ---------------------------------------------------------------------------- Several people noticed that upgrading from cairo 1.0 to cairo 1.2.0 caused a significant peformance regression when using the xlib backend. This performance regression was particularly noticeable when doing lots of text rendering and when using a high-latency connection to the X server, (such as a remote X server over an ssh connection). The slowdown was identified and fixed in 1.2.2. report: https://bugs.freedesktop.org/show_bug.cgi?id=7514 fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=b7191885c88068dad57d68ced69a752d1162b12c PDF: Eliminate dependency on FreeType library dependency (Adrian Johnson) ------------------------------------------------------------------------- The cairo 1.2 series adds a supported pdf backend to cairo. In cairo 1.2.0 this backend required the freetype library, which was an undesirable dependency on systems such as win32, (cairo is designed to always prefer the "native" font system). As of cairo 1.2.2 the freetype library is not required to use the pdf backend on the win32 platform. report: https://bugs.freedesktop.org/show_bug.cgi?id=7538 fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=a0989f427be87c60415963dd6822b3c5c3781691 PDF: Fix broken output on amd64 (Adrian Johnson) ------------------------------------------------ report: http://bugzilla.gnome.org/show_bug.cgi?id=349826 fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=f4b12e497b7ac282b2f6831b8fb68deebc412e60 PS: Fix broken output for truetype fonts > 64k (Adrian Johnson) --------------------------------------------------------------- fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=067d97eb1793a6b0d0dddfbd0b54117844511a94 PDF: Fix so that dashing doesn't get stuck on (Kent Worsnop) ------------------------------------------------------------ Kent notices that with the PDF backend in cairo 1.2.0 as soon as a stroke was performed with dashing, all subsequent strokes would also be dashed. There was no way to turn dashing off again. fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=778c4730a86296bf0a71080cf7008d7291792256 Fix memory leaks in failure paths in gradient creation (Alfred Peng) -------------------------------------------------------------------- fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=db06681b487873788b51a6766894fc619eb8d8f2 Fix memory leak in _cairo_surface_show_glyphs (Chris Wilson) ------------------------------------------------------------ report: https://bugs.freedesktop.org/show_bug.cgi?id=7766 fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=e2fddcccb43d06486d3680a19cfdd5a54963fcbd Solaris: Add definition of cairo_private for some Sun compilers (Alfred Peng) ----------------------------------------------------------------------------- report: https://bugzilla.mozilla.org/show_bug.cgi?id=341874 fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=04757a3aa8deeff3265719ebe01b021638990ec6 Solaris: Change version number of Sun's Xorg server with buggy repeat (Brian Cameron) ------------------------------------------------------------------------------------- report: https://bugs.freedesktop.org/show_bug.cgi?id=7483 fix: http://gitweb.freedesktop.org/?p=cairo;a=commit;h=e0ad1aa995bcec4246c0b8ab0d5a5a79871ce235 Various memory leak fixes ------------------------- Fix memory leak in _cairo_surface_show_glyphs (bug 7766) Fix file handle leak in failure path (bug 7616) Fix some memory leaks in the test cases. Fix some memory leaks in font subsetting code used in print backends. Documentation improvements (Behdad Esfahbod) -------------------------------------------- Added new documentation for several functions (cairo_show_page, cairo_copy_page, cairo_in_stroke, cairo_in_fill). Fixed some syntax errors that were preventing some existing documentation from being published. Fixed several minor typographical errors. Added an index for new symbols in 1.2.
2006-07-25Add a workaround for freedesktop.org bug 7401, so that 'make test' works.minskim2-1/+32
Patch from cairo cvs.