<?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: Breaking Font Changes in 4.25 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaking-font-changes-in-4-25/m-p/1271572#M80663</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;If you don't mind my asking, is there any reasoning you can share about those other 7 fonts not being added?&amp;nbsp; Those Arial ones are probably the most widely recognized amongst the group and would be useful.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Legal unclarity, not technical. I'll try to follow up with our legal department.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2023 21:50:28 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2023-03-24T21:50:28Z</dc:date>
    <item>
      <title>Breaking Font Changes in 4.25</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaking-font-changes-in-4-25/m-p/1271099#M80652</link>
      <description>&lt;P&gt;Starting in 4.25, the underlying logic of &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-support-symbolUtils.html#renderPreviewHTML" target="_self"&gt;symbolUtils.renderPreviewHTML&lt;/A&gt; started using fonts from a repository in woff2 format in order to do its work for TextSymbols. If you are using a font repository other than the default (i.e. by setting &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#fontsUrl" target="_self"&gt;esriConfig.fontsURL&lt;/A&gt;), you will find this suddenly not working. There was no discussion of this in &lt;A href="https://developers.arcgis.com/javascript/latest/4.25/" target="_self"&gt;the release notes&lt;/A&gt;. The &lt;A href="https://developers.arcgis.com/javascript/latest/labeling/" target="_self"&gt;Labeling&lt;/A&gt; page also continues to say that support for applicable TextSymbol properties are based on hosted files in .pbf format. The aforementioned esriConfig.fontsURL documentation also speaks solely of files in .pbf format.&lt;/P&gt;&lt;P&gt;All of the fonts in the default repository are also hosted in woff2 format, except for the following exceptions: Arial, Arial Unicode MS, and Palatino Linotype. That is, the following .woff2 URLs return a 404:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/woff2/arial-bold.woff2" target="_self"&gt;Arial Bold&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/woff2/arial-bold-italic.woff2" target="_self"&gt;Arial Bold Italic&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/woff2/arial-italic.woff2" target="_self"&gt;Arial Italic&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/woff2/arial-regular.woff2" target="_self"&gt;Arial Regular&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/woff2/arial-unicode-ms-bold.woff2" target="_self"&gt;Arial Unicode MS Bold&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/woff2/arial-unicode-ms-regular.woff2" target="_self"&gt;Arial Unicode MS Regular&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/woff2/palatino-linotype-regular.woff2" target="_self"&gt;Palatino Linotype Regular&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, their corresponding .pbf URLs work just fine:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/arial-bold/0-255.pbf" target="_self"&gt;Arial Bold&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/arial-bold-italic/0-255.pbf" target="_self"&gt;Arial Bold Italic&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/arial-italic/0-255.pbf" target="_self"&gt;Arial Italic&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/arial-regular/0-255.pbf" target="_self"&gt;Arial Regular&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/arial-unicode-ms-bold/0-255.pbf" target="_self"&gt;Arial Unicode MS Bold&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/arial-unicode-ms-regular/0-255.pbf" target="_self"&gt;Arial Unicode MS Regular&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://static.arcgis.com/fonts/palatino-linotype-regular/0-255.pbf" target="_self"&gt;Palatino Linotype Regular&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will the missing fonts be added, and will the documentation be updated?&amp;nbsp; Is it really necessary that we must have the same fonts in two different formats?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 19:29:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaking-font-changes-in-4-25/m-p/1271099#M80652</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2023-03-23T19:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking Font Changes in 4.25</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaking-font-changes-in-4-25/m-p/1271228#M80654</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6522"&gt;@JoelBennett&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for pointing this out. We will update the documentation.&lt;/P&gt;&lt;P&gt;For now, we're not planning to add those seven woff2; and yes, the fonts needs to be available for full functionality. The PBF is used by TextSymbol and labelling, while WOFF2 is used by Legend/renderPreviewHTML.&lt;BR /&gt;&lt;BR /&gt;On a side note, I'm curious about (1) what your specific use case is for using&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#fontsUrl" target="_self" rel="nofollow noopener noreferrer"&gt;esriConfig.fontsURL&lt;/A&gt; and (2) if your concern is about the console log / 404 request for the non-existing files or something else?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 23:36:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaking-font-changes-in-4-25/m-p/1271228#M80654</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2023-03-23T23:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking Font Changes in 4.25</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaking-font-changes-in-4-25/m-p/1271237#M80655</link>
      <description>&lt;P&gt;Aloha&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/881"&gt;@BjornSvensson&lt;/a&gt;&amp;nbsp;-&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp; To answer your first question, I suppose my reply is twofold.&amp;nbsp; The first part is that our platform runs on 3 networks, 2 of which are restrictive and do not have internet access.&amp;nbsp; Therefore, it is required to host the API and fonts locally.&amp;nbsp; The second part is that for the 3rd network with internet access, we need to eliminate unnecessary 3rd party services wherever possible.&amp;nbsp; This is because if the cord to the outside world (i.e. internet) gets cut, our applications should still be able to continue to run as much as possible.&amp;nbsp; Therefore, this includes hosting the API and fonts on those internal servers as well.&lt;/P&gt;&lt;P&gt;For your second question, I suppose that's twofold as well.&amp;nbsp; To me, 404 errors (and errors in general) are something that need to be fixed...but that's just me.&amp;nbsp; I suppose the bigger concern is that the application is supposed to be rendering the previews in a particular way, but in these cases it doesn't, so it comes down to us offering our clients something that isn't performing as advertised.&amp;nbsp; Granted, this particular case borders on the trivial, but it's still something I have to work through.&lt;/P&gt;&lt;P&gt;If you don't mind my asking, is there any reasoning you can share about those other 7 fonts not being added?&amp;nbsp; Those Arial ones are probably the most widely recognized amongst the group and would be useful.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 00:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaking-font-changes-in-4-25/m-p/1271237#M80655</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2023-03-24T00:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking Font Changes in 4.25</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaking-font-changes-in-4-25/m-p/1271572#M80663</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;If you don't mind my asking, is there any reasoning you can share about those other 7 fonts not being added?&amp;nbsp; Those Arial ones are probably the most widely recognized amongst the group and would be useful.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Legal unclarity, not technical. I'll try to follow up with our legal department.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 21:50:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaking-font-changes-in-4-25/m-p/1271572#M80663</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2023-03-24T21:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Breaking Font Changes in 4.25</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaking-font-changes-in-4-25/m-p/1309872#M81740</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/881"&gt;@BjornSvensson&lt;/a&gt;&amp;nbsp; for the changes to the labeling documentation in 4.27; they speak well to the topics discussed further above.&lt;/P&gt;&lt;P&gt;Only one issue I've noticed: in the "&lt;A href="https://developers.arcgis.com/javascript/latest/labeling/#non-mapimagelayer-fonts" target="_self"&gt;Non-MapImageLayer fonts&lt;/A&gt;" section of the Labeling page, it indicates the only font not supported in woff2 format is Palatino Linotype Regular, but I've noticed the first 4 fonts starting with "Arial" aren't supported either:&lt;/P&gt;&lt;P&gt;&lt;A href="https://static.arcgis.com/fonts/woff2/arial-bold.woff2" target="_self"&gt;Arial Bold&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://static.arcgis.com/fonts/woff2/arial-bold-italic.woff2" target="_self"&gt;Arial Bold Italic&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://static.arcgis.com/fonts/woff2/arial-italic.woff2" target="_self"&gt;Arial Italic&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://static.arcgis.com/fonts/woff2/arial-regular.woff2" target="_self"&gt;Arial Regular&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Will these Arial fonts be added to the repository, or should they be added to the list of exceptions in the documentation?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 00:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/breaking-font-changes-in-4-25/m-p/1309872#M81740</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2023-07-20T00:19:27Z</dc:date>
    </item>
  </channel>
</rss>

