In our webapplication, which is a custom dojo build with npm, we get the follwoing error: The TextureManager module is trying to download a font file from https://static.arcgis.com/fonts/verdana-regular/0-255.pbf but the response is a 404. The fontfile doesn't exist apparently.
Is there a workaround for this or even better: can ESRI put the requested fontfile in the right place?
We will check our mapservices. Thanks!
Thanks Rene, you pointed me in the right direction. I found the cause of the error: one of our mapservices had labels with font Verdana. I changed the labels in the mxd to the Arial font and after republishing the error was gone. I will check all services for fonts being used.
Here is the list of Esri hosted fonts that you can consume in 4x applications:
Labeling | ArcGIS API for JavaScript 4.14
Since version 4.8, due to our move to WebGL, fonts must be hosted in .pbf file format in order to be consumed. The above guide page lists all the fonts that Esri currently hosts.
Do you have a repro sample for when this error comes up? I'm not currently able to reproduce. I'm not sure where that font would be loaded from in the JSAPI. verdana is not listed at a supported font for labels.
Thanks
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.