[Thread Prev][Thread Next][Index]

Re: [ferret_users] different fonts through SET TEXT



Ansley—

On  2 Apr 09:54 Ansley C. Manke wrote:
> Well, the choice at any particular moment is either Hershey or a 
> PyFerret system font, not a mix of those, so the setting is either "SET 
> TEXT/FONT=" for system fonts or "CANCEL TEXT" for Hershey. You can turn 
> the PyFerret fonts on and off as your script draws the plot [...].
> 
> [...]  You could change your labels to use the 
> subscript and superscript methods for PyFerret fonts, 
> https://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/commands-reference/SET#pyferret_subscript. 
> Or I suppose if it makes sense, do a CANCEL TEXT before drawing the 
> moveable labels, and SET TEXT/FONT= afterwards.

I chose the latter option, because then I only need to add a little bit
of code, especially as long as I want it to be compatible with both
(classic) Ferret and PyFerret.

CANCEL TEXT before drawing the moveable labels works well and does not
look too inconsistent – thanks for your help!

—Marco



[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement