Fix ArcGIS JavaScript/Online Font Defect

553
5
Jump to solution
09-06-2020 03:52 PM
Highlighted
New Contributor II

Hi guys,

When consuming a web map with few feature services there, i keep getting this error in all our web apps which includes a range of both the ArcGIS JS 3.x API and the 4x API.

Can you have a look and fix this? It should be a quick fix.

https://static.arcgis.com/fonts/tahoma-regular/0-255.pbf  This URL does not seem to be available ... and the JS API keeps logging this error. So you either make it available or handle it better in the JS API.

Cheers,

Jose

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Frequent Contributor

It doesn't look like tahoma is a supported font family for hosted feature services.

Font | ArcGIS API for JavaScript 4.16 

Is your service using tahoma for labels?

View solution in original post

5 Replies
Highlighted
Frequent Contributor

It doesn't look like tahoma is a supported font family for hosted feature services.

Font | ArcGIS API for JavaScript 4.16 

Is your service using tahoma for labels?

View solution in original post

Highlighted
New Contributor II

Hi Rene,

The service is not from a hosted feature service it is a full blown feature service and it does include a layer which is using Tahoma. The design team has published the web map this way from Pro. For consistency purposes, if Tahoma is not supported for feature services, the validation tool in Pro should clearly state this and not let the map get published. It just confuses everyone.

Thanks for replying to the post.

Cheers,

Jose

Reply
0 Kudos
Highlighted
Frequent Contributor

If you have the fonts published on your server as pbf, you can change the url used to look for fonts.

config | ArcGIS API for JavaScript 4.16 

Details can be found in the labeling guide.

Labeling | ArcGIS API for JavaScript 4.16 

Highlighted
New Contributor II

Hi Rene,

I don't have fonts on my server, and I do not control some of the web apps deployed which all point to the same web map. We'll remove tahoma from the web map and I'll mark this post as answered (though extended to all feature services not just hosted), but  again, it would be nice if Pro would block maps from being published with unsupported font types.

Thanks for taking the time to reply.

Cheers,

Jose

Reply
0 Kudos
Highlighted
MVP Honored Contributor

You should submit an Idea about this.