NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

Hershey Fonts

Hello everyone,

I've got two questions about the new font support:

1. Is there any example code available to test/see the new fonts (like
VisAD's DisplayTest in visad/examples) or has anyone got a snippet of
code ready to compile and run?

2. Is it possible to change the AxisScale fonts to use the new fonts?,
and if yes, how do I do it? (Would something like

HersheyFont hf = new HersheyFont("cursive");

AxisScale scale = myScalarMap.getAxisScale(); 

scale.setFont( hf );

work?)

Cheers,

Ugo