<?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: ODS Powerpoint and fonts: How to use Verdana (or other fonts) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-Powerpoint-and-fonts-How-to-use-Verdana-or-other-fonts/m-p/789465#M252628</link>
    <description>&lt;P&gt;It would seem that LAYOUT=CONTENT is not an actual layout, so my bad. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Perhaps the solution is to find out how install the Verdana font on your machine, since other aspects of the code seem to work.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jan 2022 13:53:06 GMT</pubDate>
    <dc:creator>svh</dc:creator>
    <dc:date>2022-01-11T13:53:06Z</dc:date>
    <item>
      <title>ODS Powerpoint and fonts: How to use Verdana (or other fonts)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Powerpoint-and-fonts-How-to-use-Verdana-or-other-fonts/m-p/788867#M252349</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I use SAS Enterprise Guide 8.3 and SAS 9.4M6, which runs on a Red Hat Linux Server. I have been trying to set Verdana as font for footnotes on PowerPoint slides using the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods _all_ close;

ods path (prepend) work.template (update);

proc template;
   define style styles.mystyle;
      parent = styles.powerpointlight;
      class SystemTitle /
            fontsize = 20 pt
            just = left;
      class SystemFooter /
            fontfamily = "Verdana"
            fontsize = 7.9 pt
            just = left;
   end;
run;

options papersize = (240mm 143mm)
        dev = png
        nodate 
        nonumber;

ods powerpoint file = "Test.pptx" 
               style = styles.mystyle 
               nogtitle 
               nogfootnote;

ods powerpoint layout = TitleAndContent;

title 'This is a title';
footnote 'This is a footnote';

goptions hsize = 11.43 cm vsize = 11.43 cm;

proc gmap map = maps.us data = maps.us all;
  id state;
  choro statecode / statistic = frequency discrete nolegend;
run;  
quit;

ods _all_ close;&lt;/PRE&gt;&lt;P&gt;However, the font on the resulting PowerPoint slide is Courier instead of Verdana. I suspect that Verdana is not available. Running the following code does not list Verdana in the log:&lt;/P&gt;&lt;PRE&gt;proc registry startat = "\CORE\PRINTING\FREETYPE\FONTS" list;
run;&lt;/PRE&gt;&lt;P&gt;Is it somehow possible to use Verdana?&lt;/P&gt;&lt;P&gt;I would greatly appreciate your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 14:39:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Powerpoint-and-fonts-How-to-use-Verdana-or-other-fonts/m-p/788867#M252349</guid>
      <dc:creator>MatSchu</dc:creator>
      <dc:date>2022-01-07T14:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint and fonts: How to use Verdana (or other fonts)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Powerpoint-and-fonts-How-to-use-Verdana-or-other-fonts/m-p/789372#M252583</link>
      <description>&lt;P&gt;While playing with this code, I was able to get the title and footnote to reflect the styles declared in PROC TEMPLATE. I was only able to produce this example by changing the POWERPOINT LAYOUT= statement. Not sure if this helps you at all (especially if Verdana may not be installed). PDF is attached since a .PPT cannot be uploaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc template;
   define style styles.testa;
      parent = styles.PowerPointLight;
      class SystemTitle /
            fontsize = 20 pt
            just = left
			color = Pink;
      class SystemFooter /
            fontfamily = "Garamond"
            fontsize = 7.9 pt
			color = green
            just = left;
   end;
run;
ods powerpoint file="testnew14.ppt" style=styles.testa nogtitle nogfootnote;
options nodate nonumber;
ods powerpoint layout=Content; /* NOTE THIS CHANGE */
title 'This is a title';
footnote 'This is a footnote';

goptions hsize = 11.43 cm vsize = 11.43 cm;
proc gmap map = maps.us data = maps.us all ;
  id state;
  choro statecode / statistic = frequency discrete nolegend;
run;  
quit;
ods powerpoint close;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Jan 2022 22:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Powerpoint-and-fonts-How-to-use-Verdana-or-other-fonts/m-p/789372#M252583</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2022-01-10T22:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint and fonts: How to use Verdana (or other fonts)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Powerpoint-and-fonts-How-to-use-Verdana-or-other-fonts/m-p/789415#M252608</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/181543"&gt;@svh&lt;/a&gt;&amp;nbsp;Thanks for your reply. Your code runs and produces a PowerPoint file. The font family "Garamond" works as well as other font families. However, Verdana does still not work and I get the warning:&amp;nbsp;The 'CONTENT' layout template is undefined.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 08:48:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Powerpoint-and-fonts-How-to-use-Verdana-or-other-fonts/m-p/789415#M252608</guid>
      <dc:creator>MatSchu</dc:creator>
      <dc:date>2022-01-11T08:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Powerpoint and fonts: How to use Verdana (or other fonts)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Powerpoint-and-fonts-How-to-use-Verdana-or-other-fonts/m-p/789465#M252628</link>
      <description>&lt;P&gt;It would seem that LAYOUT=CONTENT is not an actual layout, so my bad. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Perhaps the solution is to find out how install the Verdana font on your machine, since other aspects of the code seem to work.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 13:53:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Powerpoint-and-fonts-How-to-use-Verdana-or-other-fonts/m-p/789465#M252628</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2022-01-11T13:53:06Z</dc:date>
    </item>
  </channel>
</rss>

