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


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: