Please post your log here to see the error type for those scenarios.

2009/8/28 Arun Kumar <jakheart...@gmail.com>

> Hi all.. i am working on rails version 1.2.3 (it is must to work on version
> 1.2.3) & ruby 1.8.6. For my project i want to convert text in to images
> files.. so that i use rmagick.. it is working fine for only english.. i
> need to convert images for multiple languages. I have showed my code below
>
> require "RMagick"
> def show_textimg
> bg = Magick::Image.new(120,20){self.background_color = "#9E9E9E"}
> ad_text = Magick::Draw.new
> ad_text.text(23,14,@ad.ad_text) # here the input text.... only working good
> for english but i want to convert multi language. for example if i pass
> @ad.ad_text="ドの半角⇔全角"
> ad_text.draw(bg)
> bg.write "#{RAILS_ROOT}/public/ad/ad_picture/#...@ad.name}-textimg.jpg"
> end
>
> Is there any way for this.
> Very soon Replies are greatly appreciate..
>
>
>
>
> Thank,
> Arun..
> >
>


-- 
With regards,
Arunkumar B.
9789980534.
http://thinkingrails.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to