<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Arial replaced in proc sgplot for UTF-8 sessions in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Arial-replaced-in-proc-sgplot-for-UTF-8-sessions/m-p/298037#M10547</link>
    <description>&lt;P&gt;Is the Arial font on your system? If it is, try using PROC FONTREG to register the font to your UTF-8 configured system. Hope this helps!&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2016 13:46:41 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2016-09-13T13:46:41Z</dc:date>
    <item>
      <title>Arial replaced in proc sgplot for UTF-8 sessions</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Arial-replaced-in-proc-sgplot-for-UTF-8-sessions/m-p/297990#M10542</link>
      <description>&lt;LI-SPOILER&gt;We've recently installed a SAS server configuration with the UTF-8 encoding. One of the things I've ecountered is a message to the SAS log when using ODS Graphics:&lt;BR /&gt;&lt;BR /&gt;WARNING: The font Arial is not available. Albany AMT will be used.&lt;BR /&gt;&lt;BR /&gt;I can't find any information on this message in relation to ODS Graphics. I know that "Albany AMT" is an Arial clone by SAS Institute. If I recall correctly, you could use Albany AMT in SAS/Graph procedures in SAS 9.2 whereas Arial and other Truetype fonts needed to be registered. &lt;BR /&gt;&lt;BR /&gt;My question is, can I suppress this warning? The problem is that our quality control procedures require that I explain an unavoidable warnings in the SAS log. The same program runs fine using the Wlatin1 encoding. Any suggestions?&lt;BR /&gt;&lt;BR /&gt;I'm using Enterprise Guide 6.1 with SAS 9.4M1 on a Windows 2008 R2 server. The same problem occurs using SAS 9.4M3 on our test server. I'm creating RTF and PDF output, usually with the "Analysis" style. I've tried a few other styles, that didn't make the warning go away.&lt;/LI-SPOILER&gt;</description>
      <pubDate>Tue, 13 Sep 2016 12:22:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Arial-replaced-in-proc-sgplot-for-UTF-8-sessions/m-p/297990#M10542</guid>
      <dc:creator>ckx</dc:creator>
      <dc:date>2016-09-13T12:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Arial replaced in proc sgplot for UTF-8 sessions</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Arial-replaced-in-proc-sgplot-for-UTF-8-sessions/m-p/298037#M10547</link>
      <description>&lt;P&gt;Is the Arial font on your system? If it is, try using PROC FONTREG to register the font to your UTF-8 configured system. Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 13:46:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Arial-replaced-in-proc-sgplot-for-UTF-8-sessions/m-p/298037#M10547</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-09-13T13:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Arial replaced in proc sgplot for UTF-8 sessions</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Arial-replaced-in-proc-sgplot-for-UTF-8-sessions/m-p/298241#M10563</link>
      <description>&lt;P&gt;Well, I'm running SAS on a server so I can't just modify the SAS registry. I ran proc registry to check which fonts were installed and this seems to be the case (duplicates removed)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MTsans-serif-unicode="Arial Unicode MS"&lt;BR /&gt;MTsans-serif="Arial Unicode MS"&lt;BR /&gt;MTsans-serif-unicode="Arial Unicode MS"&lt;BR /&gt;MTsans-serif="Arial Unicode MS"&lt;BR /&gt;MTsans-serif-unicode="Arial Unicode MS"&lt;BR /&gt;sans-serif="Arial Unicode MS"&lt;BR /&gt;sans-serif="Arial"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the problem doesn't occur on the same server using the Wlatin1 encoding so Arial is definitely on the system. As I understand it, the UTF-8 configuration runs on the same SAS install but uses a different config.sas file. A strange and annoying problem&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 08:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Arial-replaced-in-proc-sgplot-for-UTF-8-sessions/m-p/298241#M10563</guid>
      <dc:creator>ckx</dc:creator>
      <dc:date>2016-09-14T08:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Arial replaced in proc sgplot for UTF-8 sessions</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Arial-replaced-in-proc-sgplot-for-UTF-8-sessions/m-p/298326#M10565</link>
      <description>&lt;P&gt;The list you are showing are not necessarily registered fonts. This list is an association between a font directive (e.g. san-serif) using in ODS styles and an actual font name (e.g. Arial). This association is in the regeistry regardless of registered fonts. The true list of registered fonts are under CORE/PRINTING/FREETYPE/FONTS. To see what I mean, search for "Albany AMT". You should get a hit under that directory. If Arial does not show up under there, you will need to get an admin to run PROC FONTREG to update the font list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 13:58:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Arial-replaced-in-proc-sgplot-for-UTF-8-sessions/m-p/298326#M10565</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2016-09-14T13:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Arial replaced in proc sgplot for UTF-8 sessions</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Arial-replaced-in-proc-sgplot-for-UTF-8-sessions/m-p/298642#M10568</link>
      <description>&lt;P&gt;It seems PROC FONTREG does the trick. As a user, you can specify&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* Add fonts to the SAS registry - avoid error Arial replaced by Albany AMT;
proc fontreg msglevel=none;
    fontpath 'C:\Windows\Fonts';
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This will update the registry for the current session, but it only takes 0.76 seconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the SAS admin would have to add "usesashelp" and run the program with admin rights. I'll have to check that with SAS support first.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc fontreg usesashelp;
    fontpath 'C:\Windows\Fonts';
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Still strange that no warning occurs in a Wlatin1 session&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 14:01:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Arial-replaced-in-proc-sgplot-for-UTF-8-sessions/m-p/298642#M10568</guid>
      <dc:creator>ckx</dc:creator>
      <dc:date>2016-09-15T14:01:56Z</dc:date>
    </item>
  </channel>
</rss>

