<?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: Arcgis javascript API 4.1:Label graphic layer with fonts not working in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-1-label-graphic-layer-with/m-p/1017783#M71421</link>
    <description>&lt;P&gt;I recognize this is old, and may not even be the same issue.&amp;nbsp; But in case it is helpful for anyone else.&amp;nbsp; I was having the same issue as JoshKing and (sort of related to the OP's issue) RE font error.&amp;nbsp; When looking at network traffic looked like I was getting a 403 when the API was trying to call&amp;nbsp;&lt;A href="https://static.arcgis.com/fonts/arial-unicode-ms-regular/0-255.pbf" target="_blank"&gt;https://static.arcgis.com/fonts/arial-unicode-ms-regular/0-255.pbf&lt;/A&gt;&amp;nbsp;to get the font for the measure widget's labels.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me, turns out I had maxUrlLength set too low in esri config:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#request" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#request&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which was causing the above font request to be sent as a POST which resulted in the 403.&lt;/P&gt;&lt;P&gt;Increasing maxUrlLength solved my issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jan 2021 22:20:45 GMT</pubDate>
    <dc:creator>cwmat</dc:creator>
    <dc:date>2021-01-18T22:20:45Z</dc:date>
    <item>
      <title>Arcgis javascript API 4.1:Label graphic layer with fonts not working</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-1-label-graphic-layer-with/m-p/471997#M43749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Javascript API 4.1 : when adding a label grapgic layer in offline maps locally deployed and using text symbol, the label is not shown and it gives an error as mapview-invalid-resource, couldn't find font arial-unicode-ms-regular. falling back to Arial Unicode MS Regular. No matter what font family you set it aslways show this error. and lebels are never shown.&lt;/P&gt;&lt;P&gt;How to use offline fonts for arcgis javascript api's 4.1 .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 04:11:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-1-label-graphic-layer-with/m-p/471997#M43749</guid>
      <dc:creator>zahidullakhanjunaid</dc:creator>
      <dc:date>2019-01-31T04:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis javascript API 4.1:Label graphic layer with fonts not working</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-1-label-graphic-layer-with/m-p/471998#M43750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same error:&amp;nbsp;&amp;nbsp;"mapview-invalid-resource", message: "Couldn't find font arial-unicode-ms-regular. Falling back to Arial Unicode MS Regular"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is when trying to use the DistanceMeasurement2D and AreaMeasurement2D widgets.&amp;nbsp; The graphics are not drawing correctly on the map when using the widgets.&amp;nbsp; This is the standard map view, not using a webmap.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the 4.14.1 JS API&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 17:47:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-1-label-graphic-layer-with/m-p/471998#M43750</guid>
      <dc:creator>JoshKing</dc:creator>
      <dc:date>2020-04-07T17:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis javascript API 4.1:Label graphic layer with fonts not working</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-1-label-graphic-layer-with/m-p/1017783#M71421</link>
      <description>&lt;P&gt;I recognize this is old, and may not even be the same issue.&amp;nbsp; But in case it is helpful for anyone else.&amp;nbsp; I was having the same issue as JoshKing and (sort of related to the OP's issue) RE font error.&amp;nbsp; When looking at network traffic looked like I was getting a 403 when the API was trying to call&amp;nbsp;&lt;A href="https://static.arcgis.com/fonts/arial-unicode-ms-regular/0-255.pbf" target="_blank"&gt;https://static.arcgis.com/fonts/arial-unicode-ms-regular/0-255.pbf&lt;/A&gt;&amp;nbsp;to get the font for the measure widget's labels.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me, turns out I had maxUrlLength set too low in esri config:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#request" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#request&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which was causing the above font request to be sent as a POST which resulted in the 403.&lt;/P&gt;&lt;P&gt;Increasing maxUrlLength solved my issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 22:20:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-4-1-label-graphic-layer-with/m-p/1017783#M71421</guid>
      <dc:creator>cwmat</dc:creator>
      <dc:date>2021-01-18T22:20:45Z</dc:date>
    </item>
  </channel>
</rss>

