Rcairo 1.4.0

Hi,

I released rcairo 1.4.0 that supports cairo 1.4.0 release at
3 hours ago:

http://cairographics.org/releases/rcairo-1.4.0.tar.gz

http://cairographics.org/releases/rcairo-1.4.0.tar.gz.md5
efb370e819e5ce354d42a01f58e39688 rcairo-1.4.0.tar.gz

http://cairographics.org/releases/rcairo-1.4.0.tar.gz.sha1
35f39618e492c3efffcbc326e5622c37baedc58c rcairo-1.4.0.tar.gz

I changed installer from setup.rb to extconf.rb + make same
as Ruby-GNOME2 project. Sorry.

---- From cairo’s README
What is cairo

Cairo is a 2D graphics library with support for multiple output
devices. Currently supported output targets include the X Window
System, win32, and image buffers, as well as PDF, PostScript, and SVG
file output. Experimental backends include OpenGL (through glitz),
Quartz, XCB, BeOS, OS/2, and DirectFB.

---- From cairo’s NEWS
Release 1.4.0 (2007-03-06 Carl W. [email protected])

Performance improvements

Within the cairo project, the last 6 months or so has seen an intense
effort focusing on the performance of cairo itself. That effort has
paid off considerably, as can be seen in the following highlights of
some of the performance differences from cairo 1.2.6 to cairo 1.4.0.

  • Dramatic improvement when drawing objects that are mostly off-screen
    with the image backend (with the xlib backend this case is still
    slow due to an X server bug):

    image-rgba long-lines-uncropped-100 479.64 -> 4.98: 96.24x
    speedup

  • Dramatic improvement when copying a small fraction of an image
    surface to an xlib surface:

    xlib-rgba subimage_copy-512 3.93 -> 0.07: 54.52x
    speedup

  • Dramatic improvement to tessellation speed for complex objects:

    image-rgb tessellate-256-100 874.16 -> 34.79: 25.13x
    speedup
    xlib-rgba zrusin_another_fill-415 148.40 -> 13.85: 10.72x
    speedup
    xlib-rgb world_map-800 680.20 -> 345.54: 1.97x
    speedup

  • Dramatic improvement to the speed of stroking rectilinear shapes,
    (such as the outline of a rectangle or “box”):

    image-rgb box-outline-stroke-100 0.18 -> 0.01: 24.22x
    speedup
    xlib-rgb box-outline-stroke-100 0.46 -> 0.06: 8.05x
    speedup

  • Dramatic improvements to text rendering speeds:

    xlib-rgba text_image_rgba_over-256 63.12 -> 9.61: 6.57x
    speedup

Greatly improved PDF output

We are very happy to be able to announce that cairo-generated PDF
output will now have text that can be selected, cut-and-pasted, and
searched with most capable PDF viewer applications. This is something
that was not ever possible with cairo 1.2.

Also, the PDF output now has much more compact encoding of text than
before. Cairo is now much more careful to not embed multiple copies of
the same font at different sizes. It also compresses text and font
streams within the PDF output.

Thanks,

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs