Rcairo 1.8.3

Hi,

I released rcairo(*1) 1.8.3 that supports Ruby 1.9.2:
http://raa.ruby-lang.org/project/rcairo/

(*1) A library to use cairo(*2) from Ruby.

(*2) A 2D graphics library that is used by
GTK+/Firefox/WebKit/… as rendering backend and worked
on multi-platform. cairo can output PDF, PNG, SVG and
so on too.

http://cairographics.org/rcairo/

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

http://cairographics.org/releases/rcairo-1.8.3.tar.gz.md5
ddc6470c59c3a2adcda836544b4dc5bd rcairo-1.8.3.tar.gz

http://cairographics.org/releases/rcairo-1.8.3.tar.gz.sha1
0b4bbfcb3080feb7afef6f6b12e634eff35f3a80 rcairo-1.8.0.tar.gz

For Windows user:
% gem install cairo

NOTE: The rcairo repository had been movoed to GitHub.
GitHub - rcairo/rcairo: The Ruby bindings for cairo.

New Features

  • Support cairo 1.8.10.
  • Support Ruby 1.9.2. (reported by Tasuku SUENAGA and kimura wataru)
  • Fix RGV → HSV conversion. (patch by Yuta Taniguchi)
  • Support Cairo::Color as Hash key.

Thanks

  • Yuta Taniguchi
  • Tasuku SUENAGA
  • kimura wataru

Thanks,

For Windows user:
% gem install cairo

I installed this in windows

C:\programming\ruby\test_cairo\lib>ruby -v
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]

When I run this I get the following error:

This application has failed to start because libcairo-2.dll was not
found.
Re-installing the application may fix this problem

Hi,

In [email protected]
“Re: [ANN] rcairo 1.8.3” on Fri, 27 Aug 2010 00:44:48 +0900,
Dominic S. [email protected] wrote:

When I run this I get the following error:

This application has failed to start because libcairo-2.dll was not found.
Re-installing the application may fix this problem

Thanks for trying it.
Could you download
*
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/fontconfig_2.8.0-2_win32.zip
*
http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/freetype_2.4.2-1_win32.zip
and extract them into
#{GEM_HOME}/1.9.1/gems/cairo-1.8.3/vendor/local/
?

Here are correct places:
#{GEM_HOME}/1.9.1/gems/cairo-1.8.3/vendor/local/bin/freetype6.dll
#{GEM_HOME}/1.9.1/gems/cairo-1.8.3/vendor/local/bin/libfontconfig-1.dll

Then please try “require ‘cairo’” again.

If the above instruction makes rcairo work on Windows, I
will update rcairo gem for Windows.

Thanks,