<?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 narrow font in RTF in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Arial-narrow-font-in-RTF/m-p/934429#M26627</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;Fonts have to be registered in SAS before you can use them. You can see if Arial Narrow is registered to SAS by running the following PROC REGISTRY step:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc registry startat="\CORE\PRINTING\FREETYPE\FONTS" list;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Is Arial Narrow listed in the log?&lt;/P&gt;
&lt;P&gt;I had the same issue you experienced, with Arial Narrow not being used. However,&amp;nbsp; I needed to run PROC FONTREG to add Arial Narrow to the SAS Registry:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc fontreg mode=all msglevel=verbose;
fontfile "c:\windows\fonts\arialn.ttf";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; The name of Arial Narrow is arialn.ttf (True Type Font).&lt;/P&gt;
&lt;P&gt;And after I used PROC FONTREG to update the SAS Registry then this code worked as expected.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1719936587038.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98087i7028C3A5942CA23E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1719936587038.png" alt="Cynthia_sas_1-1719936587038.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1719936522908.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98086i1E06F7D5032122BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1719936522908.png" alt="Cynthia_sas_0-1719936522908.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I ran the code in 9.4M7, but I would expect that 9.4M8 would work the same way.&lt;/P&gt;
&lt;P&gt;If using PROC FONTREG doesn't work you may need to get help from your system admin or SAS Tech Support. I did my test on Windows, however keep in mind that Arial may not be a font that's available on a Linux/Unix/mainframe system.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2024 16:11:22 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2024-07-02T16:11:22Z</dc:date>
    <item>
      <title>Arial narrow font in RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Arial-narrow-font-in-RTF/m-p/934392#M26626</link>
      <description>&lt;P&gt;The code below produces a report in Arial Narrow, as desired, in the HTML results window, but in Helvetica in the RTF file.&amp;nbsp; So perplexing.&amp;nbsp; Why are my instructions being overridden by some random default?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;data SimpleTest;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; input treatment trainingMonths_LO;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; cards;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; 1 13&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; 0 12&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; 1 10&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; 0 3&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; ;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;ods rtf file='S:\projects\HPOG_2.0_Eval\Analysis\04 Outputs\LTIR\JunkTest.rtf';&lt;/DIV&gt;
&lt;DIV&gt;proc report data=SimpleTest&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; style(report)=[fontfamily="'Arial Narrow'"]&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; style(header)=[fontfamily="'Arial Narrow'"]&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; style(column)=[fontfamily="'Arial Narrow'"];&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; column treatment (Mean Std),trainingMonths_LO;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; define treatment/group;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; define trainingMonths_LO/format=6.2;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; title 'Months of training';&lt;/DIV&gt;
&lt;DIV&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;ods rtf close;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 12:51:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Arial-narrow-font-in-RTF/m-p/934392#M26626</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2024-07-02T12:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Arial narrow font in RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Arial-narrow-font-in-RTF/m-p/934429#M26627</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;Fonts have to be registered in SAS before you can use them. You can see if Arial Narrow is registered to SAS by running the following PROC REGISTRY step:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc registry startat="\CORE\PRINTING\FREETYPE\FONTS" list;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Is Arial Narrow listed in the log?&lt;/P&gt;
&lt;P&gt;I had the same issue you experienced, with Arial Narrow not being used. However,&amp;nbsp; I needed to run PROC FONTREG to add Arial Narrow to the SAS Registry:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc fontreg mode=all msglevel=verbose;
fontfile "c:\windows\fonts\arialn.ttf";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; The name of Arial Narrow is arialn.ttf (True Type Font).&lt;/P&gt;
&lt;P&gt;And after I used PROC FONTREG to update the SAS Registry then this code worked as expected.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1719936587038.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98087i7028C3A5942CA23E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1719936587038.png" alt="Cynthia_sas_1-1719936587038.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1719936522908.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98086i1E06F7D5032122BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1719936522908.png" alt="Cynthia_sas_0-1719936522908.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I ran the code in 9.4M7, but I would expect that 9.4M8 would work the same way.&lt;/P&gt;
&lt;P&gt;If using PROC FONTREG doesn't work you may need to get help from your system admin or SAS Tech Support. I did my test on Windows, however keep in mind that Arial may not be a font that's available on a Linux/Unix/mainframe system.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 16:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Arial-narrow-font-in-RTF/m-p/934429#M26627</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2024-07-02T16:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Arial narrow font in RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Arial-narrow-font-in-RTF/m-p/934431#M26628</link>
      <description>&lt;P&gt;Worked like a charm.&amp;nbsp; Thanks, so much, Cynthia.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 16:20:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Arial-narrow-font-in-RTF/m-p/934431#M26628</guid>
      <dc:creator>polarjud</dc:creator>
      <dc:date>2024-07-02T16:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Arial narrow font in RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Arial-narrow-font-in-RTF/m-p/934438#M26629</link>
      <description>&lt;P&gt;Hi there. Many SAS installs may not have particular fonts available in the SAS registry. The way to make this happen is to use PROC FONTREG with the FONTPATH statement, after downloading the Arial font family into the FONTPATH directory. Note that your install may not allow you to mess with the registry and/or system fonts, so use your own folder to add the desired font for the duration of your session - the fontpath allows you to grab a font from anywhere. Be aware that this is temporary! You will want to make sure the fontembedding system option is set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;options fontembedding ps=55 ls=175 errorabend;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;libname dd '.';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;filename odsout '.';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;title1 "HPOG rtf test";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;proc fontreg msglevel=verbose;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;fontpath 'S:\projects\QRPVBP\HH_QRP\_Source_Data\iQIES\OASIS\2023Q1_2023Q4\sandbox';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;NOTE: The font "Arial Narrow" (Style: Regular, Weight: Normal) has been added to the SAS Registry at [CORE\PRINTING\FREETYPE\FONTS\&amp;lt;ttf&amp;gt; Arial Narrow]. Because it is a&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;TRUETYPE font, it can be referenced as "Arial Narrow" or "&amp;lt;ttf&amp;gt; Arial Narrow" in SAS. The font resides in file &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;"S:\projects\QRPVBP\HH_QRP\_Source_Data\iQIES\OASIS\2023Q1_2023Q4\sandbox\ARIALN.TTF".&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;NOTE: The font "Arial Narrow" (Style: Regular, Weight: Bold) has been added to the SAS Registry at [CORE\PRINTING\FREETYPE\FONTS\&amp;lt;ttf&amp;gt; Arial Narrow]. Because it is a TRUETYPE&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;font, it can be referenced as "Arial Narrow" or "&amp;lt;ttf&amp;gt; Arial Narrow" in SAS. The font resides in file &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;"S:\projects\QRPVBP\HH_QRP\_Source_Data\iQIES\OASIS\2023Q1_2023Q4\sandbox\ARIALNB.TTF".&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;NOTE: The font "Arial Narrow" (Style: Italic, Weight: Bold) has been added to the SAS Registry at [CORE\PRINTING\FREETYPE\FONTS\&amp;lt;ttf&amp;gt; Arial Narrow]. Because it is a TRUETYPE&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;font, it can be referenced as "Arial Narrow" or "&amp;lt;ttf&amp;gt; Arial Narrow" in SAS. The font resides in file &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;"S:\projects\QRPVBP\HH_QRP\_Source_Data\iQIES\OASIS\2023Q1_2023Q4\sandbox\ARIALNBI.TTF".&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;NOTE: The font "Arial Narrow" (Style: Italic, Weight: Normal) has been added to the SAS Registry at [CORE\PRINTING\FREETYPE\FONTS\&amp;lt;ttf&amp;gt; Arial Narrow]. Because it is a&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;TRUETYPE font, it can be referenced as "Arial Narrow" or "&amp;lt;ttf&amp;gt; Arial Narrow" in SAS. The font resides in file &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;"S:\projects\QRPVBP\HH_QRP\_Source_Data\iQIES\OASIS\2023Q1_2023Q4\sandbox\ARIALNI.TTF".&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="1 2 3 4 5 6 7"&gt;Then add the font group.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;proc fontreg;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;fontfile '&amp;lt;ttf&amp;gt; Arial Narrow';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;data SimpleTest;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;input treatment trainingMonths_LO;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;cards;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;1 13&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;0 12&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;1 10&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;0 3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;run;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;ods rtf file='.\vanillaTest.rtf'; /* will use the default style template for RTF */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;proc report data=SimpleTest&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;style(report)=[fontfamily="'Arial Narrow'"]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;style(header)=[fontfamily="'Arial Narrow'"]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;style(column)=[fontfamily="'Arial Narrow'"];&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;column treatment (Mean Std),trainingMonths_LO;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;define treatment/group;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;define trainingMonths_LO/format=6.2;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;title2 'Months of training - Vanilla';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;run;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;ods rtf close;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;ods rtf file='.\defineTest.rtf'; /* adds font specs to the define statements */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;proc report data=SimpleTest&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;style(report)=[fontfamily="'Arial Narrow'"]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;style(header)=[fontfamily="'Arial Narrow'"]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;style(column)=[fontfamily="'Arial Narrow'"];&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;column treatment (Mean Std),trainingMonths_LO;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;define treatment / group style(COLUMN)={just=c font_face="Arial Narrow" foreground=navy&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;font_size=9pt cellwidth=180 }&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;style(HEADER)={just=c font_face="Arial Narrow" font_weight=bold &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;font_size=9pt };&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;define trainingMonths_LO / style(COLUMN)={just=c font_face="Arial Narrow" foreground=navy&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;font_size=9pt cellwidth=180 format=6.2}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;style(HEADER)={just=c font_face="Arial Narrow" font_weight=bold &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;font_size=9pt };&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;title2 'Months of training - add style override';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;run;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;ods rtf close;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both tests that use the style statements / overrides succeed in using the Arial Narrow font. PROC FONTREG is pretty cool - especially if you want to write in Klingon font.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.lexjansen.com/nesug/nesug07/po/po12.pdf" target="_blank"&gt;https://www.lexjansen.com/nesug/nesug07/po/po12.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 16:49:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Arial-narrow-font-in-RTF/m-p/934438#M26629</guid>
      <dc:creator>louisehadden</dc:creator>
      <dc:date>2024-07-02T16:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Arial narrow font in RTF</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Arial-narrow-font-in-RTF/m-p/964357#M26868</link>
      <description>&lt;P&gt;It looks like the issue is happening because Arial Narrow is not embedded in the RTF output by default, and if the font is not installed on your system, it may fall back to a default font like Helvetica.&lt;/P&gt;&lt;P&gt;You can &lt;STRONG&gt;download the Arial Narrow font&lt;/STRONG&gt; from the link below and install it manually on your system:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://dafont.style/download/arial-narrow-font.html" target="_self"&gt;https://dafont.style/download/arial-narrow-font.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To Install the Font:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Download the ZIP file from the above link.&lt;/P&gt;&lt;P&gt;Extract the ZIP file to get the &lt;FONT color="#FF0000"&gt;.ttf&lt;/FONT&gt; or &lt;FONT color="#FF0000"&gt;.otf &lt;/FONT&gt;font files.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Right-click&lt;/STRONG&gt; on each font file and choose "&lt;STRONG&gt;Install&lt;/STRONG&gt;" (or "&lt;STRONG&gt;Install for all users&lt;/STRONG&gt;" if you're using Windows).&lt;/P&gt;&lt;P&gt;After installation, restart your SAS session and try &lt;STRONG&gt;generating the RTF file again.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Additional Note:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Even if the font is correctly defined in your &lt;STRONG&gt;ODS RTF styles&lt;/STRONG&gt;, it must be installed on the machine where the RTF is being rendered (&lt;STRONG&gt;especially important if you share the file with others&lt;/STRONG&gt;). If it’s not present, Word or any RTF reader will substitute another font like Helvetica or Times New Roman.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Let me know if you need help verifying if the font was successfully installed!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 18:22:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Arial-narrow-font-in-RTF/m-p/964357#M26868</guid>
      <dc:creator>luna46</dc:creator>
      <dc:date>2025-04-15T18:22:08Z</dc:date>
    </item>
  </channel>
</rss>

