<?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: Gplot Fonts cannot be used in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321760#M11265</link>
    <description>&lt;P&gt;Annotate data sets with the device procedures such as GPLOT are somewhat picky as to the NAMES of variables for the specific elements. SAS supplies a number of annotate related macros to help with generating appropriate annotate&amp;nbsp;values. Look&amp;nbsp;at the documentation&amp;nbsp;for %Annomac &amp;nbsp;and the related macros it activates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUT the most likely cause of your issuw was not setting the LENGTH characteristic long enough to contain the desired text.&lt;/P&gt;
&lt;P&gt;If your data set FINAL happened to have a variable named style and the length was 8 characters then when you use: Style='Albany AMT'; the value gets truncated because the previously declared length will only hold "Albany A"&lt;/P&gt;
&lt;P&gt;So try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data anno;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; length style $ 20;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set final;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;etc. to set the length for the STYLE variable before reading in the data set FINAL.&lt;/P&gt;</description>
    <pubDate>Fri, 30 Dec 2016 17:11:12 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-12-30T17:11:12Z</dc:date>
    <item>
      <title>Gplot Fonts cannot be used</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321271#M11242</link>
      <description>&lt;P&gt;when I use the gplot with anno, there is warning in log as follows:&lt;/P&gt;&lt;P&gt;Font ALBANY A could not be used.&lt;BR /&gt;Font Albany AMT substituted for font ALBANY A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I define the style='&lt;SPAN&gt;ALBANY AMT&lt;/SPAN&gt;' in the anno dataset, why it is truncated and cannot distinguished? &amp;nbsp;If I replace the "ALBANY AMT" with "Duplex", it can work without warning, but it is not what I want. I want the annotation dataset with "Arial" font. How can I deal with it? Thanks.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Program to produce anno:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6503i96109B5E479A7B38/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Log:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6505i9F2D306C8A5ADF94/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2016 09:04:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321271#M11242</guid>
      <dc:creator>Emily_Zhang</dc:creator>
      <dc:date>2016-12-27T09:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot Fonts cannot be used</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321273#M11243</link>
      <description>Please increase the length of the style variable in anno dataset. For the same please mention the style in length statement so that it will get a length of 200 and there wont be any truncation and the corresponding warning will be removed.</description>
      <pubDate>Tue, 27 Dec 2016 09:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321273#M11243</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2016-12-27T09:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot Fonts cannot be used</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321367#M11245</link>
      <description>&lt;P&gt;Dear Jag, Thanks for your reply. I have tried, but found that in anno dataset, the style is right. But when use proc gplot it still cannot be distinguished. I also found that the proc gplot may only distinguish the "Software Fonts"(like Duplex) other than "TrueType Fonts"(like Albany AMT).&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 01:57:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321367#M11245</guid>
      <dc:creator>Emily_Zhang</dc:creator>
      <dc:date>2016-12-28T01:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot Fonts cannot be used</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321369#M11246</link>
      <description>&lt;P&gt;ok but i believe it will still work, the only change that we could try now is keep the 'Albany AMT' in quotes in the style variable.&lt;/P&gt;
&lt;P&gt;like below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;style=" 'Alanby AMT' ";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;could you please try this&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 02:06:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321369#M11246</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2016-12-28T02:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot Fonts cannot be used</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321377#M11247</link>
      <description>&lt;P&gt;Yeah, I have tried, but still same warning in log.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 03:40:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321377#M11247</guid>
      <dc:creator>Emily_Zhang</dc:creator>
      <dc:date>2016-12-28T03:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot Fonts cannot be used</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321379#M11248</link>
      <description>&lt;P&gt;Hi Jag, thanks for your kind help. The problem has been solved. I remove the style= from anno dataset. And add the following options:&lt;/P&gt;&lt;P&gt;GOPTIONS FTEXT='Albany AMT'; And it does work without any warning. I don't figure it out why the fommer one can't work, but anyway, the latter one does work. Thanks a lot !&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 03:55:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321379#M11248</guid>
      <dc:creator>Emily_Zhang</dc:creator>
      <dc:date>2016-12-28T03:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Gplot Fonts cannot be used</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321760#M11265</link>
      <description>&lt;P&gt;Annotate data sets with the device procedures such as GPLOT are somewhat picky as to the NAMES of variables for the specific elements. SAS supplies a number of annotate related macros to help with generating appropriate annotate&amp;nbsp;values. Look&amp;nbsp;at the documentation&amp;nbsp;for %Annomac &amp;nbsp;and the related macros it activates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUT the most likely cause of your issuw was not setting the LENGTH characteristic long enough to contain the desired text.&lt;/P&gt;
&lt;P&gt;If your data set FINAL happened to have a variable named style and the length was 8 characters then when you use: Style='Albany AMT'; the value gets truncated because the previously declared length will only hold "Albany A"&lt;/P&gt;
&lt;P&gt;So try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data anno;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; length style $ 20;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set final;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;etc. to set the length for the STYLE variable before reading in the data set FINAL.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 17:11:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Gplot-Fonts-cannot-be-used/m-p/321760#M11265</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-30T17:11:12Z</dc:date>
    </item>
  </channel>
</rss>

