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.

To learn about what's going on, see About the Archive Site.

Re: [idvusers] IDV Font Quality

Hi,

I don't often use ISL scripts, but I do use writeImage from the jython shell in 
McIDAS-V, I believe this would work in IDV as well.  Since it is a challenge to 
remember everything, I have saved some of my favorite annotations help 
documentation so that I can copy, paste and adjust as needed:

fileName = "Something.jpg"

writeImage(fileName,"matte background=white top=100;matte background=white 
bottom=150;\
   colorbar width=500 height=20 anchor=UM place=UM,0,20 showlines=true 
interval=5 showunit=true display=IASI;\
   overlay text=IASI Dual Regression Surface Skin Temperature 16:55 UTC 
place=UM,0,60 anchor=UM color=black fontsize=20 fontface=Arial;\
   overlay text=2013-05-20 anchor=LM place=LM,0,-90 color=black fontsize=32 
fontface=Arial;\
   overlay text=GOES-13 Visible Albedo 16:55 UTC anchor=LM place=LM,0,-60 
color=black fontsize=24 fontface=Arial;\
   overlay text=RAP 850-500hPa Wind Shear Vectors 17:00 UTC place=LM,0,-30 
anchor=LM color=black fontsize=24 fontface=Arial")

Joleen

On Feb 11, 2014, at 12:28 PM, the Fingerhuts wrote:

> All,
> 
> To obtain better quality text I often use the drawing control or use an isl 
> script.
> 
> Bill
> 
> P.S. Please make this easy for everyone to use.
> 
> On 2/11/2014 10:01 AM, Don Murray wrote:
>> Hi Paul-
>> 
>> On 2/10/14 3:41 PM, Paul Graham wrote:
>>> Is it possible to improve the font quality in IDV, or are there any plans
>>> afoot by the development team to do so?
>> 
>> The font quality varies from platform to platform.  I find that I get better 
>> quality on Windows than I do with Mac.  But both suffer from the effects you 
>> see.  Text using fonts gets turned into a series of triangles, filling the 
>> outline of the letter edges.  I find Century Gothic works pretty well, but 
>> still not great.  The Hershey fonts use lines only, but you see the lines 
>> when the text gets big.
>> 
>>> It appears IDV does not handle scalable fonts, so often text appears
>>> pixelated, jagged or with artefacts, especially when rescaled.
>> 
>> A possible solution would be to use the Java 3D Text3D objects. That would 
>> require some significant development to add it to VisAD first, and then 
>> access that in the IDV.  I'm not aware of anybody who is interested in doing 
>> that, although it would go a ways towards Unidata's goal of "publication 
>> quality graphics" for the IDV.
>> 
>> Don
> 
> 
> -- 
> The Fingerhuts
> Saint Johnsbury, Vt, 05819
> 
> email: fingerhuts3@xxxxxxxxx
> 
> _______________________________________________
> idvusers mailing list
> idvusers@xxxxxxxxxxxxxxxx
> For list information, to unsubscribe, visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 



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