Zhan Tuaev wrote:
> Hi there!
> I'm studying RMagick graphics manipulation gem, and I need to put small
> text about size 8 to 11 px on pictures. I found that text() method
> prints quite blurred text. And I could not get clear text chosing
> different values for methods font, font_family, font_style, font_weigth.
>
> I attached a picture. In the left of it you can see what RMagick
> generates for me and in the right you can see the example of clear text
> I need RMagick to generate for me.
>
> What can I do to get clear text. Any ideas?
Here is my code:
gc.stroke_width(1)
gc.pointsize(10)
gc.stroke('black')
gc.font_style(Magick::NormalStyle)
gc.font_weight(Magick::LighterWeight)
gc.text(x,y, "12:00")
--
Posted via http://www.ruby-forum.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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---