[DRE-maint] Bug#625558: Imagemagick transition/librmagick-ruby
Vincent Fourmond
fourmond at debian.org
Thu May 12 23:24:04 UTC 2011
Hello,
I've had a try to build librmagick-ruby with the newer imagemagick. It
seems to build fine, but when it starts to build the documentation
(based on the generated Ruby extension), I get the following errors:
/tmp/buildd/librmagick-ruby-2.13.1/./lib/rvg/misc.rb:322:in
`get_type_metrics': unable to read font `(null)' @
error/annotate.c/RenderFreetype/1128: `(null)' (Magick::ImageMagickError)
from /tmp/buildd/librmagick-ruby-2.13.1/./lib/rvg/misc.rb:322:in
`render'
from /tmp/buildd/librmagick-ruby-2.13.1/./lib/rvg/misc.rb:697:in
`text'
from /tmp/buildd/librmagick-ruby-2.13.1/./lib/rvg/text.rb:65:in
`add_primitives'
from
/tmp/buildd/librmagick-ruby-2.13.1/./lib/rvg/container.rb:72:in
`add_primitives'
from
/tmp/buildd/librmagick-ruby-2.13.1/./lib/rvg/container.rb:72:in `each'
from
/tmp/buildd/librmagick-ruby-2.13.1/./lib/rvg/container.rb:72:in
`add_primitives'
from /tmp/buildd/librmagick-ruby-2.13.1/./lib/rvg/rvg.rb:264:in
`add_outermost_primitives'
from /tmp/buildd/librmagick-ruby-2.13.1/./lib/rvg/rvg.rb:264:in
`each'
from /tmp/buildd/librmagick-ruby-2.13.1/./lib/rvg/rvg.rb:264:in
`add_outermost_primitives'
from /tmp/buildd/librmagick-ruby-2.13.1/./lib/rvg/rvg.rb:236:in
`draw'
from InitialCoords.rb:22
I seem to remember I already had this problem before, but I don't have
a clue. Do you know what could cause the problem ? For the record, the
build-deps of librmagick-ruby are:
Build-Depends: debhelper (>= 5), libmagickcore-dev (>= 8:6.6.9.7-1~) ,
ruby1.8, ruby1.8-dev, libwmf-bin, ghostscript, gsfonts, cdbs (>= 0.4.33),
ruby-pkg-tools (>= 0.13), rdoc, graphviz,
libsetup-ruby1.8 (>= 3.4.1-3), libmagickwand-dev (>= 8:6.6.9.7-1~)
Am I simply missing a depency on a font ? The line causing the problem is:
canvas.g.styles(:font_size=>14, :font_family=>'Verdana',
:font_weight=>'normal', :font_style=>'normal') do |grp|
grp.text(10, 20, '(0,0)')
grp.text(240, 20, '(300,0)')
grp.text(10, 90, '(0,100)')
end
Removing altogether the reference to Verdana doesn't help. I don't
know what to try else for now.
Thanks,
Vincent
--
Vincent Fourmond, Debian Developer
http://vince-debian.blogspot.com/
If you put a large switch in some cave somewhere, with a sign on it
saying "End-of-the-World switch. PLEASE DO NOT TOUCH", the paint
wouldn't even have the time to dry.
-- Terry Pratchet, Thief of Time
Vincent, listening to You're Gonna Miss My Love (Poni Hoax)
More information about the Pkg-ruby-extras-maintainers
mailing list