<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Here is some relevant info from the doc (<a href="http://cola.gmu.edu/grads/gadoc/fontcontrol.html">http://cola.gmu.edu/grads/gadoc/fontcontrol.html</a>):
<div><br>
</div>
<div><font face="Lucida Grande" style="font-size: 14px;">"The fonts that GrADS supports will depend on whether the font files are available on your particular system. On unix systems, look in
<code>/usr/share/fonts/</code> and <code>/usr/share/X11/fonts/</code>."</font></div>
<div><font face="Lucida Grande" style="font-size: 14px;"><br>
</font></div>
<div><font face="Lucida Grande" style="font-size: 14px;">"When using Cairo fonts, you may see this error message pop up:
<strong>Fontconfig error: Cannot load default config file</strong>. This is a file that helps Cairo find fonts, but is only useful on the system where the library was originally built. The default config file is not required, and this message is harmless. The
non-portability of font file locations is why it is necessary to specify the full path for a font file when using the
<a href="http://cola.gmu.edu/grads/gadoc/gradcomdsetfont.html"><code>set font</code></a> command.“</font></div>
<div><br>
</div>
<div>When you use ‘set hershey off’, Cairo looks for default sans/serif font, which may vary on different unix systems, depending on what is in /usr/share/fonts/ and whether it can find a default config file. Font files are not system dependent, so you can
easily copy them from one place to another and populate the new server with font files from the old server. </div>
<div>—Jennifer</div>
<div><br>
</div>
<div> </div>
<div>
<div>
<div>On Aug 19, 2016, at 1:46 PM, Matt Bunkers - NWS Rapid City <<a href="mailto:matthew.bunkers@noaa.gov">matthew.bunkers@noaa.gov</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">I checked and all I have is "set font 0" or "set font 4", etc. I also have "set hershey off".
<div><br>
</div>
<div>I'm not referencing outside fonts, so I suspect the new machine is missing some fonts from the old machine.</div>
<div><br>
</div>
<div>Thanks for the fc-list command; I'll do some checking.</div>
<div><br>
</div>
<div>-- Matt B.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Aug 19, 2016 at 5:54 AM, Thompson, Matt (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC]
<span dir="ltr"><<a href="mailto:matthew.thompson@nasa.gov" target="_blank">matthew.thompson@nasa.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 08/18/2016 03:06 PM, Matt Bunkers - NWS Rapid City wrote:<br>
> Hi,<br>
><br>
> We just got a new Linux machine and I'm having to move all of my GrADS<br>
> scripts from the old one to the new one. Other than the machines,<br>
> everything is the same, including my scripts and the GrADS software<br>
> version. However, the new machine is producing images that have<br>
> different font than that produced by the old machine. See attached<br>
> images to see what I'm talking about?<br>
><br>
> Why would this be the case if the GrADS scripts and software are<br>
> identical from one machine to the other?<br>
<br>
<br>
Do you have any 'set font' commands in your scripts referencing outside<br>
fonts? If you are using new GrADS with Cairo, are you using any Truetype<br>
fonts in your scripts?<br>
<br>
If so, it's possible your new machine doesn't have a font installed that<br>
your old one has (or perhaps a different version of that font...but<br>
sans-serif to serif is a bit hard to if the name is the same). fc-list<br>
should list all the fonts found on each machine to a user.<br>
<span class="HOEnZb"><font color="#888888"><br>
Matt<br>
<br>
--<br>
Matt Thompson, SSAI, Sr Scientific Programmer/Analyst<br>
NASA GSFC, Global Modeling and Assimilation Office<br>
Code 610.1, 8800 Greenbelt Rd, Greenbelt, MD 20771<br>
Phone: 301-614-6712 Fax: 301-614-6246<br>
<a href="http://science.gsfc.nasa.gov/sed/bio/matthew.thompson" rel="noreferrer" target="_blank">http://science.gsfc.nasa.gov/<wbr>sed/bio/matthew.thompson</a><br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
</font></span></blockquote>
</div>
<br>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
http://gradsusr.org/mailman/listinfo/gradsusr<br>
</blockquote>
</div>
<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="font-size: 12px; orphans: 2; widows: 2;">--</div>
<div style="font-size: 12px; orphans: 2; widows: 2;">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</body>
</html>