Things to try:
Within DX: To write "H2O" (with 2 subscripted), send string "H_O" (blank=space) to one and "_2_" to the other. Use fixed font for both. Then fiddle with the Caption positions and text sizes. Or just send "2" to the 2nd Caption if that's easier. Fixed font makes alignment simpler, but if you don't like that font, you'll have to experiment to get better spacing. Might have to use 3 Captions to get what you want. This gets tedious fast.
Outside of DX: Use Photoshop for still images or After Effects for animated sequences to composite nice-looking Postscript/Truetype text over the DX-generated imagery (mask off the crappy looking non-antialiased text from DX: it is handy to have this as a reference but regenerate the nice text in PS or AE).
The latter is what I do most often.
Within DX: it is possible to take the outputs of Image (objects and camera) to another Render. Send the camera output to an UpdateCamera, and increase the resolution, say by 2x. Then use this updated camera for Render. You'll have to look at the ScaleScreen module to make Captions, etc. come out the right size after using this trick. It intercepts the Image objects output and 'fixes' screen objects prior to re-rendering.
Then Reduce the output of Render by 2x. You get a nicer, more antialiased look, esp. on the nasty text. Overall softer image, but not necessarily objectionable. I do this when the image is saved for printing at higher resolution.
On Tuesday, Aug 5, 2003, at 08:14 America/New_York, John Vaul wrote:
Hi_______________________________
I am relatively new to OpenDX and want to use subscript fonts in Captions and label. Are there special
octal codes for this as there are for other symbols?
Any suggestions much appreciated.
John
Chris Pelkie
Scientific Visualization Producer
622 Rhodes Hall, Cornell Theory Center
Ithaca, NY 14853
