<?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: Unicode Characters in SGPLOT Label - 9.4M2 - LIN X64 in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/594223#M18933</link>
    <description>&lt;P&gt;Thanks Dan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yes, if I keep &lt;STRONG&gt;'GraphUnicodeFont' = ("&amp;lt;MTserif-unicode&amp;gt;",9pt) &lt;/STRONG&gt;in the template, the ODS escapecharacter with UNICODE works just fine.&amp;nbsp; If I do,&amp;nbsp; &lt;STRONG&gt;'GraphUnicodeFont' = ("Times New Roman",9pt) &lt;/STRONG&gt;it does not.&lt;/SPAN&gt;&amp;nbsp; I guess I wasn't aware that&amp;nbsp;&lt;SPAN&gt;MTSerif-unicde resolves to "Times New Roman Uni".&amp;nbsp; Is that tribal knowledge or is that documented somewhere?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am a bit curious because given the operating system we had to register the Times New Roman font using:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt; proc fontreg mode=all msglevel=verbose; &lt;BR /&gt;fontfile "/&amp;lt;filepath&amp;gt;/times.ttf"; &lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, how confident are we that we something like "Times New Roman-Unicode" that you are mentioning is actually being used and not some similar looking font?&amp;nbsp; That is, would we also have to register a font called&amp;nbsp;"Times New Roman-Unicode"?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance for shedding a light on this.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2019 20:22:12 GMT</pubDate>
    <dc:creator>SmithCJGVSU</dc:creator>
    <dc:date>2019-10-04T20:22:12Z</dc:date>
    <item>
      <title>Unicode Characters in SGPLOT Label - 9.4M2 - LIN X64</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/593966#M18925</link>
      <description>&lt;P&gt;I am working with a company standard that all reporting is done in Times New Roman, including graphs.&amp;nbsp; I've created a custom template, see below.&amp;nbsp; If I use Times New Roman in the GraphUnicodeText reference then unicode characters do not get resolved when doing,&lt;FONT face="courier new,courier"&gt;&amp;nbsp;labelattrs=&lt;STRONG&gt;GraphUnicodeText&lt;/STRONG&gt;(size=9pt weight=bold) &lt;FONT face="arial,helvetica,sans-serif"&gt;within an SGPLOT statement (specifically on the YAXIS statement).&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to get unicode characters in Times New Roman?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;class GraphFonts /&lt;BR /&gt;'NodeDetailFont' = ("Times New Roman",7pt)&lt;BR /&gt;'NodeInputLabelFont' = ("Times New Roman",9pt)&lt;BR /&gt;'NodeLabelFont' = ("Times New Roman",9pt)&lt;BR /&gt;'NodeTitleFont' = ("Times New Roman",9pt)&lt;BR /&gt;'GraphDataFont' = ("Times New Roman",8pt)&lt;BR /&gt;&lt;STRONG&gt;'GraphUnicodeFont' = ("&amp;lt;MTserif-unicode&amp;gt;",9pt)&lt;/STRONG&gt;&lt;BR /&gt;'GraphValueFont' = ("Times New Roman",10pt)&lt;BR /&gt;'GraphLabel2Font' = ("Times New Roman",11pt)&lt;BR /&gt;'GraphLabelFont' = ("Times New Roman",11pt)&lt;BR /&gt;'GraphFootnoteFont' = ("Times New Roman",11pt)&lt;BR /&gt;'GraphTitleFont' = ("Times New Roman",12pt,bold)&lt;BR /&gt;'GraphTitle1Font' = ("Times New Roman",15pt,bold)&lt;BR /&gt;'GraphAnnoFont' = ("Times New Roman",10pt);&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 22:09:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/593966#M18925</guid>
      <dc:creator>SmithCJGVSU</dc:creator>
      <dc:date>2019-10-03T22:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode Characters in SGPLOT Label - 9.4M2 - LIN X64</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/593971#M18926</link>
      <description>&lt;P&gt;I'll be watching for any informed answers you receive.&amp;nbsp; Can you post a self contained example that demonstrates the problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Unicode characters supported by the Times New Roman font" href="http://www.fileformat.info/info/unicode/font/times_new_roman/list.htm" target="_self"&gt;Unicode characters supported by the Times New Roman font&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 22:26:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/593971#M18926</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2019-10-03T22:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode Characters in SGPLOT Label - 9.4M2 - LIN X64</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/593990#M18927</link>
      <description>&lt;P&gt;The &amp;lt;MTSerif-unicde&amp;gt; directive resolves to "Times New Roman Uni", which contains a much fuller Unicode specification than just "Times New Roman". Is that font not working for you?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 00:21:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/593990#M18927</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-10-04T00:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode Characters in SGPLOT Label - 9.4M2 - LIN X64</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/594223#M18933</link>
      <description>&lt;P&gt;Thanks Dan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yes, if I keep &lt;STRONG&gt;'GraphUnicodeFont' = ("&amp;lt;MTserif-unicode&amp;gt;",9pt) &lt;/STRONG&gt;in the template, the ODS escapecharacter with UNICODE works just fine.&amp;nbsp; If I do,&amp;nbsp; &lt;STRONG&gt;'GraphUnicodeFont' = ("Times New Roman",9pt) &lt;/STRONG&gt;it does not.&lt;/SPAN&gt;&amp;nbsp; I guess I wasn't aware that&amp;nbsp;&lt;SPAN&gt;MTSerif-unicde resolves to "Times New Roman Uni".&amp;nbsp; Is that tribal knowledge or is that documented somewhere?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am a bit curious because given the operating system we had to register the Times New Roman font using:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt; proc fontreg mode=all msglevel=verbose; &lt;BR /&gt;fontfile "/&amp;lt;filepath&amp;gt;/times.ttf"; &lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, how confident are we that we something like "Times New Roman-Unicode" that you are mentioning is actually being used and not some similar looking font?&amp;nbsp; That is, would we also have to register a font called&amp;nbsp;"Times New Roman-Unicode"?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks in advance for shedding a light on this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 20:22:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/594223#M18933</guid>
      <dc:creator>SmithCJGVSU</dc:creator>
      <dc:date>2019-10-04T20:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode Characters in SGPLOT Label - 9.4M2 - LIN X64</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/594234#M18934</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;&amp;lt;MTserif-unicode&amp;gt;&amp;nbsp;&lt;/STRONG&gt;directive is in the SAS registry (look under ods\fonts). Still, if you are creating a custom style, and you know you'll always be using "Times New Roman", I think it's perfectly okay to replace the directive with the literal "Times New Roman Uni", since it is one of our shipped fonts. The directives are nice when you want you style to be locale-sensitive, as the registry has different values for different locales (but for &amp;lt;*-unicode&amp;gt; directives, we actually keep the same fonts).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 21:11:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/594234#M18934</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2019-10-04T21:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode Characters in SGPLOT Label - 9.4M2 - LIN X64</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/594242#M18935</link>
      <description>This is wonderful news!  Yes, it works if I use the literal "Times New Roman Uni".  In fact, I retested using just "Times New Roman" and that seems to be working too so not sure what I was doing before :(.&lt;BR /&gt;&lt;BR /&gt;At any rate you solved the mystery and taught me something in the process about the font directives.</description>
      <pubDate>Fri, 04 Oct 2019 22:01:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Unicode-Characters-in-SGPLOT-Label-9-4M2-LIN-X64/m-p/594242#M18935</guid>
      <dc:creator>SmithCJGVSU</dc:creator>
      <dc:date>2019-10-04T22:01:19Z</dc:date>
    </item>
  </channel>
</rss>

