<?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 PDF /w Proportional Font: Arial - not uniform spacing in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-w-Proportional-Font-Arial-not-uniform-spacing/m-p/88273#M9233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; The issue is the font, not the code. here's why:&lt;/P&gt;&lt;P&gt;2 text strings, 10 letters, followed by 10 periods/dot&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Arial 14pt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;wwwwwwwwww..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;iiiiiiiiii..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Courier New 14pt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 14pt;"&gt;wwwwwwwwww..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 14pt;"&gt;iiiiiiiiii..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 14pt;"&gt;Helvetica 14pt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 14pt;"&gt;wwwwwwwwww..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 14pt;"&gt;iiiiiiiiii..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco; font-size: 14pt;"&gt;Terminal 14pt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco; font-size: 14pt;"&gt;wwwwwwwwww..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco; font-size: 14pt;"&gt;iiiiiiiiii..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;As you can see, the "proportional space fonts", like Arial and Helvetica do not "line up" because the letter w takes up more space horizontally than the letter i, therefore, the dots do not line up either. However, with the "fixed pitch" or "monospace" fonts, like Courier New or Terminal, the letter w and the letter i take up the same amount of horizontal space, so the dots "line up". Notice how Courier and Terminal are slightly different from each other.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;If your requirement is to use Arial or any proportional font and have the dots "line up" , then I fear you have been set an impossible task. You will have to use a font like Courier New or Terminal or SAS Monospace for your report.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I am not sure I understand the requirement, entirely. TPL (Table Producing Language) is like PROC TABULATE and to some extent, like PROC REPORT, in that you can use TPL to produce cross-tabular tables. When I worked with TPL, it created output printed on a line printer that used a fixed pitch or monospace font (not a proportional font). So I am not sure that you can replicate that look without using Courier New.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I&amp;nbsp; am teaching and not able to run code. I would suggest that you work with Tech Support, but they really can't&amp;nbsp; change&amp;nbsp; the fundamental behavior of proportional spaced fonts. ODS does have some style attributes that would achieve indenting (such as you used to do with TPL), perhaps those will help. But if your purpose with the dots is to make them line up in a proportional font, I think you are not going to have success.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;cynthia&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Mar 2013 22:13:03 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2013-03-25T22:13:03Z</dc:date>
    <item>
      <title>ODS PDF /w Proportional Font: Arial - not uniform spacing</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-w-Proportional-Font-Arial-not-uniform-spacing/m-p/88272#M9232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The assignment I am working on is to convert reports in TPL to SAS, which I did;&lt;/P&gt;&lt;P&gt;The problem is that the requirements indicate that the developers MUST use proportional fonts to look just like the reports in TPL.&lt;/P&gt;&lt;P&gt;Everything looks fine except one column in the report;&lt;/P&gt;&lt;P&gt;The column is character field containing "name of the each state" and "dots (.)" to fill in blank.&lt;/P&gt;&lt;P&gt;I am using proc report to generate the report;&lt;/P&gt;&lt;P&gt;attached files are my sas code and results PDF files: one with Arial/ one with SAS monospace.&lt;/P&gt;&lt;P&gt;the problem area in sas code is that "COMPUTE T1_STCNTY_NAME". I created dynamic format to fulfill the requirements, but with Font Arial, it is so hard to meet the requirements.&lt;/P&gt;&lt;P&gt;Your suggestions, ideas, or tips would greatly be appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Hana&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 21:17:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-w-Proportional-Font-Arial-not-uniform-spacing/m-p/88272#M9232</guid>
      <dc:creator>HanaR</dc:creator>
      <dc:date>2013-03-25T21:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF /w Proportional Font: Arial - not uniform spacing</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-w-Proportional-Font-Arial-not-uniform-spacing/m-p/88273#M9233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; The issue is the font, not the code. here's why:&lt;/P&gt;&lt;P&gt;2 text strings, 10 letters, followed by 10 periods/dot&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Arial 14pt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;wwwwwwwwww..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;iiiiiiiiii..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Courier New 14pt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 14pt;"&gt;wwwwwwwwww..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 14pt;"&gt;iiiiiiiiii..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 14pt;"&gt;Helvetica 14pt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 14pt;"&gt;wwwwwwwwww..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: helvetica; font-size: 14pt;"&gt;iiiiiiiiii..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco; font-size: 14pt;"&gt;Terminal 14pt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco; font-size: 14pt;"&gt;wwwwwwwwww..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco; font-size: 14pt;"&gt;iiiiiiiiii..........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;As you can see, the "proportional space fonts", like Arial and Helvetica do not "line up" because the letter w takes up more space horizontally than the letter i, therefore, the dots do not line up either. However, with the "fixed pitch" or "monospace" fonts, like Courier New or Terminal, the letter w and the letter i take up the same amount of horizontal space, so the dots "line up". Notice how Courier and Terminal are slightly different from each other.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;If your requirement is to use Arial or any proportional font and have the dots "line up" , then I fear you have been set an impossible task. You will have to use a font like Courier New or Terminal or SAS Monospace for your report.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I am not sure I understand the requirement, entirely. TPL (Table Producing Language) is like PROC TABULATE and to some extent, like PROC REPORT, in that you can use TPL to produce cross-tabular tables. When I worked with TPL, it created output printed on a line printer that used a fixed pitch or monospace font (not a proportional font). So I am not sure that you can replicate that look without using Courier New.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I&amp;nbsp; am teaching and not able to run code. I would suggest that you work with Tech Support, but they really can't&amp;nbsp; change&amp;nbsp; the fundamental behavior of proportional spaced fonts. ODS does have some style attributes that would achieve indenting (such as you used to do with TPL), perhaps those will help. But if your purpose with the dots is to make them line up in a proportional font, I think you are not going to have success.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;cynthia&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 22:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-w-Proportional-Font-Arial-not-uniform-spacing/m-p/88273#M9233</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2013-03-25T22:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: ODS PDF /w Proportional Font: Arial - not uniform spacing</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-w-Proportional-Font-Arial-not-uniform-spacing/m-p/88274#M9234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ms. Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your explanation; it is a GREAT help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Hyunjoo Reed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 14:07:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-PDF-w-Proportional-Font-Arial-not-uniform-spacing/m-p/88274#M9234</guid>
      <dc:creator>HanaR</dc:creator>
      <dc:date>2013-03-26T14:07:55Z</dc:date>
    </item>
  </channel>
</rss>

