<?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 Adding a new font to sas registry in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Adding-a-new-font-to-sas-registry/m-p/920059#M44444</link>
    <description>&lt;P&gt;&lt;SPAN&gt;How do I add a new font to the SAS registry? I have located it on WinSCP. I need the code for adding a single font to the SAS registry using SAS EG.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;path "/SASCODE/fonts/newfont.ttf"&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Adding-a-new-font-to-sas-registry/m-p/496198#M131166" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/Adding-a-new-font-to-sas-registry/m-p/496198#M131166&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2024 06:51:58 GMT</pubDate>
    <dc:creator>Daily1</dc:creator>
    <dc:date>2024-03-13T06:51:58Z</dc:date>
    <item>
      <title>Adding a new font to sas registry</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Adding-a-new-font-to-sas-registry/m-p/920059#M44444</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How do I add a new font to the SAS registry? I have located it on WinSCP. I need the code for adding a single font to the SAS registry using SAS EG.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;path "/SASCODE/fonts/newfont.ttf"&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Adding-a-new-font-to-sas-registry/m-p/496198#M131166" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Programming/Adding-a-new-font-to-sas-registry/m-p/496198#M131166&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 06:51:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Adding-a-new-font-to-sas-registry/m-p/920059#M44444</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2024-03-13T06:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new font to sas registry</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Adding-a-new-font-to-sas-registry/m-p/920094#M44450</link>
      <description>&lt;P data-unlink="true"&gt;The documentation is your friend. Look for the fontreg procedure and you'll find for instance: &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n0jej4n3rsxko6n1x9cgy3s454ez.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n0jej4n3rsxko6n1x9cgy3s454ez.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 10:53:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Adding-a-new-font-to-sas-registry/m-p/920094#M44450</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2024-03-13T10:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new font to sas registry</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Adding-a-new-font-to-sas-registry/m-p/920103#M44452</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc fontreg;
   fontfile "/SASCODE/Mar_fonts/DVOTSurekhMR_N_Ship.ttf";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;STRONG&gt;log Code&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;27         
28         proc fontreg;
29            fontfile "/SASCODE/Mar_fonts/DVOTSurekhMR_N_Ship.ttf";
30         run;

SUMMARY:
  Files processed: 1
  Unusable files: 0
  Files identified as fonts: 1
  Fonts that were processed: 1
  Fonts replaced in the SAS registry: 0
  Fonts added to the SAS registry: 1
                                                                                                                         The SAS System

  Fonts that could not be used: 0
  Font Families removed from SAS registry: 0

NOTE: PROCEDURE FONTREG used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file='use_macfont.rtf';
proc report data=sashelp.class nowd
   style(header)={font_face='DVOTSurekhMR_N_Ship' font_size=12pt}
   style(column)={font_face='DVOTSurekhMR_N_Ship' font_size=12pt};  
run;
ods _all_ close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_0-1710330572154.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94603i47BA42A18F823F55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_0-1710330572154.png" alt="Daily1_0-1710330572154.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This result is reflected in the Courier font. I want DVOTSurekhMR_N_Ship font.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 11:55:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Adding-a-new-font-to-sas-registry/m-p/920103#M44452</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2024-03-13T11:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new font to sas registry</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Adding-a-new-font-to-sas-registry/m-p/920162#M44461</link>
      <description>The specification for the font face is not correct. When you open the ttf file on a windows workstation you should be able to see the font name with which the font would be registered in windows. In the case of LoveDays-2v7Oe.ttf you would see "Love Days". For this font the font_face should have "&amp;lt;ttf&amp;gt; Love Days". So you'll have to look for the font name for the font you want to use. That should also remove the NOTES in the saslog regarding the failed font specification.</description>
      <pubDate>Wed, 13 Mar 2024 18:20:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Adding-a-new-font-to-sas-registry/m-p/920162#M44461</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2024-03-13T18:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new font to sas registry</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Adding-a-new-font-to-sas-registry/m-p/920242#M44471</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file='use_macfont.rtf';
ods html file='/SASCODE/Mar_fonts/use_macfont.html';
proc report data=sashelp.class nowd
   style(header)={font_face='DVOT-SurekhMR' font_size=12pt}
   style(column)={font_face='DVOT-SurekhMR' font_size=12pt};  
run;
ods _all_ close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;I found that the font named 'DVOT-SurekhMR' works in HTML, but it does not work in RTF.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HTML OUTPUT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_0-1710393835598.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94620i5E1B8866698F85A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_0-1710393835598.png" alt="Daily1_0-1710393835598.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;RTF Output&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_1-1710393896779.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94621i8D451105EA9B76A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_1-1710393896779.png" alt="Daily1_1-1710393896779.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 05:27:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Adding-a-new-font-to-sas-registry/m-p/920242#M44471</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2024-03-14T05:27:47Z</dc:date>
    </item>
  </channel>
</rss>

