It is unlikely that there are bugs or weaknesses in the Z-buffer that are causing your floating point underflow, so you probably need to step through the plot commands that are executing there. Is it TVRD( ) that is triggering the floating point underflow? Is it REBIN( )?
The one main significant difference I can think of between the Z-buffer and your WINDOW device is that your WINDOW device is most likely set up for True Color, while the Z-buffer is a strictly 256-color device. You might consider what implications that might have, in case any of your plot calls are working with more than grayscale coloring. Particularly, note that TVRD( ) in the Z-buffer does different things than keyword-free TVRD( ) on a True Color display ... even if the True Color display has DECOMPOSED=0.
The Z-Buffer is not the only buffer available for offscreen processing, which could be fed to REBIN( ). WINDOW also offers a /PIXMAP option, which should, offscreen, have the exact same behavior to the same plot code as what you see working without error on your display. There ARE size limits to a WINDOW, /PIXMAP however, probably either 2048x2048 or 4096x4096 on most O.S.'s (or their video cards). You should test and see whether that approach causes the same error.
Finally, what I should have said at the offset, the real solution to producing plots with nice-looking fonts is to learn to do your plotting in IDL Object Graphics. The text fonts in IDL Object Graphics since 3 years now are produced [in default mode, anyway] with anti-aliased FreeType fonts, which are very crisp compared to IDL Direct Graphics fonts. The quality is pretty near PostScript.
James Jones
|