<?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/typeface no longer working in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arial-narrow-font-typeface-no-longer-working/m-p/1190186#M8346</link>
    <description>&lt;P&gt;I think this is a bug. "Arial Narrow" is the correct font family w/ a style of "Bold". After the text symbol creation can u try this as a workaround?&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;CIMTextSymbol textLine = 
   SymbolFactory.Instance.ConstructTextSymbol(..,"Arial Narrow","Bold");
//workaround
textLine.FontFamilyName = "Arial Narrow";
//set style too if needed
textLine.FontStyleName = "Bold";&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested on 3.0 (the latest) and it is working the same way it did as u refer to as "old"...i.e.:&lt;/P&gt;&lt;P&gt;CIMTextSymbol textLine = SymbolFactory.Instance.ConstructTextSymbol(..., 8, "Arial Narrow", "Bold");&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 23:06:42 GMT</pubDate>
    <dc:creator>CharlesMacleod</dc:creator>
    <dc:date>2022-07-06T23:06:42Z</dc:date>
    <item>
      <title>Arial Narrow Font/typeface no longer working</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arial-narrow-font-typeface-no-longer-working/m-p/1190042#M8340</link>
      <description>&lt;P&gt;I have an add-in that adds a text element to a layout.&amp;nbsp; Its font/typeface is Arial Narrow Bold.&amp;nbsp; About the same time we were updated to ArcGIS Pro 2.9.2, the 'Narrow' formatting for this particular element ceased working. Code with Arial Narrow Bold would output to Arial Bold.&amp;nbsp; Arial Narrow output to Arial.&amp;nbsp; Arial Narrow Bold Italic output to Arial Bold Italic.&amp;nbsp; It as if "Narrow" was just not recognized anymore.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could still change the font to Arial Narrow Bold in the formatting tab in Pro, but I can no longer do it programmatically.&amp;nbsp; I've checked the installed typefaces/fonts and they are on my system.&lt;/P&gt;&lt;P&gt;My code is below:&lt;/P&gt;&lt;PRE&gt;CIMTextSymbol textLine = SymbolFactory.Instance.ConstructTextSymbol(ColorFactory.Instance.CreateRGBColor(45,45,45), 8, "Arial", "Narrow Bold");&lt;/PRE&gt;&lt;P&gt;At one point I had working code that was written this way (below), but I updated it to the above code.&amp;nbsp; The issues seems to be independent of the change in code.&lt;/P&gt;&lt;PRE&gt;//Old&lt;BR /&gt;CIMTextSymbol textLine = SymbolFactory.Instance.ConstructTextSymbol(ColorFactory.Instance.CreateRGBColor(45,45,45), 8, "Arial Narrow", "Bold");&lt;/PRE&gt;&lt;H6&gt;(note - I had to retype the code here - if there are typos they would not appear in the original code)&lt;/H6&gt;&lt;P&gt;Any advice is much appreciated, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 19:30:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arial-narrow-font-typeface-no-longer-working/m-p/1190042#M8340</guid>
      <dc:creator>GregC</dc:creator>
      <dc:date>2022-07-06T19:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Arial Narrow Font/typeface no longer working</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arial-narrow-font-typeface-no-longer-working/m-p/1190186#M8346</link>
      <description>&lt;P&gt;I think this is a bug. "Arial Narrow" is the correct font family w/ a style of "Bold". After the text symbol creation can u try this as a workaround?&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;CIMTextSymbol textLine = 
   SymbolFactory.Instance.ConstructTextSymbol(..,"Arial Narrow","Bold");
//workaround
textLine.FontFamilyName = "Arial Narrow";
//set style too if needed
textLine.FontStyleName = "Bold";&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested on 3.0 (the latest) and it is working the same way it did as u refer to as "old"...i.e.:&lt;/P&gt;&lt;P&gt;CIMTextSymbol textLine = SymbolFactory.Instance.ConstructTextSymbol(..., 8, "Arial Narrow", "Bold");&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 23:06:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arial-narrow-font-typeface-no-longer-working/m-p/1190186#M8346</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2022-07-06T23:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Arial Narrow Font/typeface no longer working</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arial-narrow-font-typeface-no-longer-working/m-p/1190351#M8353</link>
      <description>&lt;P&gt;Thank you Charles!&amp;nbsp;&amp;nbsp;Your solution works perfectly!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 13:53:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arial-narrow-font-typeface-no-longer-working/m-p/1190351#M8353</guid>
      <dc:creator>GregC</dc:creator>
      <dc:date>2022-07-07T13:53:28Z</dc:date>
    </item>
  </channel>
</rss>

