<?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: SAS Graph / Figure Font not Changing in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Graph-Figure-Font-not-Changing/m-p/691424#M210436</link>
    <description>&lt;P&gt;You did not provide any data so I can't test this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest that you test the case of your font that matches the name that appears installed on your system, likely "Courier New" instead of "courier new".&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 22:08:15 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-10-13T22:08:15Z</dc:date>
    <item>
      <title>SAS Graph / Figure Font not Changing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Graph-Figure-Font-not-Changing/m-p/691389#M210422</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying produce a figure using Graphic Template Language (GLT), however no matter what I try the fonts are not changing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the PROC TEMPLATE code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
    define statgraph series;
        begingraph / designwidth=800px designheight=500px border=false;
            layout datalattice rowvar=severity  / headerborder=false
                                                  columnaxisopts=(label="Visit" labelattrs=(family="courier new" weight=bold)
                                                                  tickvalueattrs=(family="courier new"))
                                                  rowdatarange=union
                                                  rowaxisopts=(label="Mean" labelattrs=(family="courier new" weight=bold)
                                                               tickvalueattrs=(family="courier new"));

                ** Plot;
                layout prototype / cycleattrs=true;
                    seriesplot x=xvar y=mean / name="mean" group=treatment;
                endlayout;

                ** Legend;
                sidebar / align=bottom;        
                    discretelegend "mean" / border=false valueattrs=(family="courier new" weight=bold);
                endsidebar;

            endlayout;
        endgraph;
    end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am setting the font for all components to &lt;STRONG&gt;Courier New&lt;/STRONG&gt; yet once it runs and I open the output all components are using the &lt;STRONG&gt;Arial&lt;/STRONG&gt; font. Any help? Sorry I cannot upload the actual output, but the log is also clean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the code used to output the file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _all_ close;
ods rtf file = "C:/Myfile.rtf" style=custom_style;
ods graphics on / imagefmt = png;

    proc sgrender
        data = mydataset
        template = series;
        by myvariable;
    run;

ods rtf close;
ods listing;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 20:35:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Graph-Figure-Font-not-Changing/m-p/691389#M210422</guid>
      <dc:creator>craig159753</dc:creator>
      <dc:date>2020-10-13T20:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph / Figure Font not Changing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Graph-Figure-Font-not-Changing/m-p/691424#M210436</link>
      <description>&lt;P&gt;You did not provide any data so I can't test this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest that you test the case of your font that matches the name that appears installed on your system, likely "Courier New" instead of "courier new".&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 22:08:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Graph-Figure-Font-not-Changing/m-p/691424#M210436</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-10-13T22:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph / Figure Font not Changing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Graph-Figure-Font-not-Changing/m-p/691428#M210438</link>
      <description>Sadly I cannot provide the data (which I know is not helpful). However I can describe it.&lt;BR /&gt;&lt;BR /&gt;X axis represents some visits.&lt;BR /&gt;Y axis represents the mean result.&lt;BR /&gt;Group is a categorical variable.&lt;BR /&gt;Column variable (for the grouped outputs) is another categorical variable.&lt;BR /&gt;Page variable can be any further categorical variable.&lt;BR /&gt;&lt;BR /&gt;Page, Column, Group, Y, X&lt;BR /&gt;A, FIRST, DRUG A, 11, VISIT 1&lt;BR /&gt;A, FIRST, DRUG B, 14, VISIT 2&lt;BR /&gt;A, LAST, DRUG A,13, VISIT 1&lt;BR /&gt;A, LAST, DRUG B, 12, VISIT 2&lt;BR /&gt;&lt;BR /&gt;The casing on a windows machine is not usually an issue. I have already produce some odd rtf tables using courier new without an issue. It seems only the figures are not playing ball.</description>
      <pubDate>Tue, 13 Oct 2020 22:34:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Graph-Figure-Font-not-Changing/m-p/691428#M210438</guid>
      <dc:creator>craig159753</dc:creator>
      <dc:date>2020-10-13T22:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Graph / Figure Font not Changing</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Graph-Figure-Font-not-Changing/m-p/775281#M246431</link>
      <description>&lt;P&gt;I'm hoping you found a solution because I am having the same issue, but with Proc Template. Font Styles are set to courier new but graph text shows up as something resembling Arial.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc template;
  define style sty1 / store=metadata.sty1;
  parent=styles.rtf;

  replace fonts/
    'TitleFont2'              = ("Courier New, Courier",8pt)
    'TitleFont'               = ("Courier New, Courier",8pt)
    'StrongFont'              = ("Courier New, Courier",8pt)
    'EmphasisFont'            = ("Courier New, Courier",8pt)
    'FixedEmphasisFont'       = ("Courier New, Courier",8pt)
    'FixedStrongFont'         = ("Courier New, Courier",8pt)
    'FixedHeadingFont'        = ("Courier New, Courier",8pt)
    'BatchFixedFont'          = ("Courier New, Courier",8pt)
    'HeadingEmphasisFont'     = ("Courier New, Courier",8pt)
    'HeadingFont'             = ("Courier New, Courier",8pt)
    'FixedFont'               = ("Courier New, Courier",8pt)
    'docFont'                 = ("Courier New, Courier",8pt)

    ;
 style graphfonts from graphfonts / 
      'GraphDataFont'         = ("Courier New, Courier",8pt) 
      'GraphUnicodeFont'      = ("Courier New, Courier",8pt) 
      'GraphValueFont'        = ("Courier New, Courier",8pt) 
      'GraphLabel2Font'       = ("Courier New, Courier",8pt) 
      'GraphLabelFont'        = ("Courier New, Courier",8pt) 
      'GraphFootnoteFont'     = ("Courier New, Courier",8pt) 
      'GraphTitleFont'        = ("Courier New, Courier",8pt) 
      'GraphTitle1Font'       = ("Courier New, Courier",8pt) 
      'GraphAnnoFont'         = ("Courier New, Courier",8pt)
    ;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 21:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Graph-Figure-Font-not-Changing/m-p/775281#M246431</guid>
      <dc:creator>bwhiz44</dc:creator>
      <dc:date>2021-10-19T21:44:01Z</dc:date>
    </item>
  </channel>
</rss>

