I am trying to create an image which will be used as the title in a web page. The font is non-standard, hence the need to use an image.
What I would like to be able to do is append a different coloured fullstop on the end of the text string but I don't think it's possible using just one caption. If the title is long the text might wrap over a number of lines so the full stop would have to be positioned on the right line in the right place.
Would anyone be able to offer me some assistance? The current image is generated using rmagick (for ruby) but it should be clear:
Code: Select all
title = "caption:"+self.title
img = Image.read(title) do
self.size = "435x"
self.pointsize = 26
self.font = "GriffithGothic-Ultra"
self.fill = "#006bcc"
end
Mark