I'm a relatively new ImageMagick user so I hope my question makes sense. What I would like to know is if it is possible to style a portion of text in a caption. More specifically, I want to be able to create a multi-line caption representing a series of questions and answers, where the questions are bolded. Is this possible, and if so, how? I'm using RMagick.
So for example, I might have the following string of text:
var string = "This is a question?\nThis is an answer.\nThis is another question?\nThis is another answer."
Which should yield a caption like this:
I'm open to other approaches other than a caption as long as they support multiple lines of text and auto font sizing.This is a question?
This is an answer.
This is another question?
This is another answer.
Thanks!