<?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: Text Symbol Bug in 4.10 with icons in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/6137#M563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The link is just for clarification. It is not accessible directly. If you load an app with fonts (except for MapImageLayer), you will see requests to that url accessing .pbf font files. More info here:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/labeling/#fonts-for-featurelayer%2C-csvlayer%2C-and-streamlayer" title="https://developers.arcgis.com/javascript/latest/guide/labeling/#fonts-for-featurelayer%2C-csvlayer%2C-and-streamlayer"&gt;Labeling | ArcGIS API for JavaScript 4.16&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2020 16:11:56 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2020-10-07T16:11:56Z</dc:date>
    <item>
      <title>Text Symbol Bug in 4.10 with icons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/6134#M560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to use Font Awesome or Bootstrap Glyphicons as point text symbols. This used to work in previous versions of the API but now throws an error: "Couldn't find font glyphicons-halflings-regular. Falling back to Arial Unicode MS Regular" Here is a sample:&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/anon/pen/eXwRvR" rel="nofollow noopener noreferrer" target="_blank"&gt;https://codepen.io/anon/pen/eXwRvR&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relevant code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;const&lt;/SPAN&gt; textSymbol &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        type&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"text"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// autocasts as new TextSymbol()&lt;/SPAN&gt;
        color&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"#7A003C"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
        text&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"\ue021"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// glyphicon home&lt;/SPAN&gt;
        font&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// autocasts as new Font()&lt;/SPAN&gt;
          size&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;36&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
          family&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Glyphicons Halflings"&lt;/SPAN&gt;
        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
      &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you change "4.9" to "4.10" on line 17 in the codepen sample, it will break. Any ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:14:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/6134#M560</guid>
      <dc:creator>BrandonFlessner</dc:creator>
      <dc:date>2021-12-10T20:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Text Symbol Bug in 4.10 with icons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/6135#M561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Brandon. At&amp;nbsp; version 4.10, we converted all layers in 2D MapViews to use WebGL. As part of this, we had a breaking change with the TextSymbol and Esri Icon Fonts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html#breaking-changes"&gt;https://developers.arcgis.com/javascript/latest/guide/release-notes/index.html#breaking-changes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that font family name has changed&amp;nbsp;to "&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;calcite-web-icons"&lt;/SPAN&gt;, and the TextSymbol now expects a resource in .pbf format. Also the default directory for finding these .pbf files will be&amp;nbsp;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;https://static.arcgis.com/fonts&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soon you will have the ability to publish your own .pbf files, but until then, I don't think you will be able to work with the resource above. Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Noah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 22:08:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/6135#M561</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-03-27T22:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Text Symbol Bug in 4.10 with icons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/6136#M562</link>
      <description>&lt;P&gt;//&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 23:54:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/6136#M562</guid>
      <dc:creator>_____</dc:creator>
      <dc:date>2021-05-25T23:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Text Symbol Bug in 4.10 with icons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/6137#M563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The link is just for clarification. It is not accessible directly. If you load an app with fonts (except for MapImageLayer), you will see requests to that url accessing .pbf font files. More info here:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/labeling/#fonts-for-featurelayer%2C-csvlayer%2C-and-streamlayer" title="https://developers.arcgis.com/javascript/latest/guide/labeling/#fonts-for-featurelayer%2C-csvlayer%2C-and-streamlayer"&gt;Labeling | ArcGIS API for JavaScript 4.16&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2020 16:11:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/6137#M563</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2020-10-07T16:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Text Symbol Bug in 4.10 with icons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/6138#M564</link>
      <description>&lt;P&gt;//&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 23:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/6138#M564</guid>
      <dc:creator>_____</dc:creator>
      <dc:date>2021-05-25T23:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Text Symbol Bug in 4.10 with icons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/1003490#M70856</link>
      <description>&lt;P&gt;Open the svg in a text editor and copy the value of the path attribute, then use a marker symbol and use that string as its path property. You can then set the color of the marker symbol.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For svg taken from fonts, you will need to flip it horizontally and then again vertically (I used Illustrator), but I'm assuming there are other tools out there to do that.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 16:02:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-bug-in-4-10-with-icons/m-p/1003490#M70856</guid>
      <dc:creator>MarcBate</dc:creator>
      <dc:date>2020-11-20T16:02:36Z</dc:date>
    </item>
  </channel>
</rss>

