[Thread Prev][Thread Next][Index]

Re: [ferret_users] Error on font file



Hi Nanda,

It appears you may have both Ferret and PyFerret under the same directory (and so sharing the same font files).  Combining Ferret and PyFerret should work, but I am wondering if maybe there is some compatibility issues between the Ubuntu-14.04-64 PyFerret and the RHEL6-64 Ferret font files.  You might want to try installing PyFerret in a separate directory and see if that solves the problem.

The PyFerret-1.2.0 files are now available, so might as well get the latest version of PyFerret:
PyFerret environment files (all platforms): ftp://ftp.pmel.noaa.gov/ferret/pub/pyferret/pyferret-1.2.0-environment.tar.gz
PyFerret Ubuntu-14.04-64/Python2.7 executables: ftp://ftp.pmel.noaa.gov/ferret/pub/pyferret/pyferret-1.2.0-executables-Ubuntu-14.04-64.tar.gz
and to be complete:

We are working on updating the website so these links and the new PyFerret commands are not yet in there. 
But related to this issue is the new command in PyFerret 1.2.0 
SET TEXT /FONT= /COLOR= /ISIZ= /ITALIC /BOLD
The font name can be the name of fonts available on your machine, or "Hershey" for the original Ferret font which use those font files.
Note that the original Ferret mark-up (indicators of style or special character) only apply to the "Hershey" font.
Other fonts, such as "Arial" and "Times" use an HTML-like mark-up such as:
<&deg> or <#176> for the degree symbol,
<&tau> or <#964> for tau,
<sup> </sup> for superscript text,
<sub> </sub> for subscript text
When using these machine-provided fonts, the text is actually saved as text characters (glyphs) instead of becoming just more line drawing as when using the original Ferret Hershey fonts.

Best regards,
Karl


On Sun, Nov 22, 2015 at 9:07 PM, Nanda Kishore Reddy <nandu.eng@xxxxxxxxx> wrote:
Dear Karl,

               I apologize for mistakenly having sent the message to you/ferret users. Actually I have installed the PyFerret 1.1.0 in my Ubuntu 14.04 64-bit system with pyferret_executables-1.1.0-Ubuntu-14.04-64 and when I run the script its shows following error.

nandu@nandu:~$ pyferret -nojnl
  NOAA/PMEL TMAP
  FERRET v6.93 (PyFerret 1.1.0)
  Linux 3.13.0-39-generic - 11/13/14
  23-Nov-15 10:10     

yes? go low_pressure.jnl
can data/all; can var/all; set mem/size=300
 Cached data cleared from memory
 
file/var="lat,lon"/type=numeric low_press.txt
go basemap x=70:100 y=0:25
 setfont: Read error on font file:/usr/local/ferret/ppl/fonts/fnt01.chr




Regards
Nanda Kishore reddy. B
Senior Research Fellow
Ocean Observation Systems
NIOT

On Fri, Nov 20, 2015 at 8:46 PM, Karl Smith - NOAA Affiliate <karl.smith@xxxxxxxx> wrote:
Hi Nanda,

I am not seeing your error message.  However, since your subject line indicated a font file problem, I am going to ask if you installed the RHEL6 64 bit version of the Ferret executable (which is what you will need to use for Ubuntu-14.04-64).  The font files sometimes give problems if the wrong version of the Ferret executables is used.

Regard,
Karl


On Fri, Nov 20, 2015 at 3:56 AM, Nanda Kishore Reddy <nandu.eng@xxxxxxxxx> wrote:
Dear ferret users,

                    I have installed the ferret v6.93 in my ubuntu 14.04 64-bit system. when i run the jnl file its shows the following error. 
             
nandu@nandu: ferret -nojnl
        NOAA/PMEL TMAP
  FERRET v6.93  
  Linux 2.6.18-398.el5 64-bit - 11/13/14
  20-Nov-15 17:17 



Regards
Nanda Kishore reddy. B
Senior Research Fellow
Ocean Observation Systems
NIOT



--
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."




--
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."

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

Privacy Policy | Disclaimer | Accessibility Statement