Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
You will need to use a fixed width font so spaces and characters are all the same width.
alternativally you will need to position individual words.
Getting the width of individual words can be done by retrieving font metrics... http://www.imagemagick.org/Usage/text/#font_info
For example by getting the width of the strings '"image" ', '"image" text', and 'or' in the font/density/pointsize you plan to use, will let you calculate the exact X offset needed to center the 'or' word over the 'text' word! (at least to the nearest integer pixel)
Note that IM is not a Word processor, but a Image processor. Using the right tool (such as TeX which can handle text positioning, spacing etc) is always a better option. For other options see... http://www.imagemagick.org/Usage/text/#tex