I want to write out some text using smallcaps in combination with different fonts for different words.
To clarify I might want the message 'Welcome to our New Website' which is generated into a PNG file for the header of a page.
- The text will be smallcaps - everything is capitalized but the 'W', 'N' and 'W' are slightly larger.
- The 'New Website' will be in a different font than the rest of the text.
Is there a way i can do this without doing it completely manually?
Doing something like this is conceptually what I want to do :
graphics.DrawString("<font size=2>W</font>ELCOME TO OUR <b><font size=2>N</font>" +
"EW <font size=2>W</font>EBSITE</b>");
The best approach I could find so far is here, but I'm worried that I'll go to all the trouble to do this manually and end up with some horrible kerning or tracking problems.
Edit: I should have mentioned that this is being done within ASP.NET so it needs to be fast and as lean as possible. I want it to be automated so I can localize easily and not have to create tonnes of little images.