Arcgis fonts issue

957
3
Jump to solution
03-10-2020 08:10 AM
KafilBaig
New Contributor III

I am having issues on arcgis fonts . The arcgis api 4.x has a JavaScript file init.js where the fonts path is provided as https://static.arcgis.com/fonts where I am on the isolated environment with no internet access . 

When I try to add labels on the feature layer it gives error that fonts not found . 

I tried accessing the https://static.arcgis.com/fonts to download all the fonts to my local machine so that I can change the path in init.js file but I get error as page not found. 

Please guide me where i can download all the fonts .

0 Kudos
1 Solution

Accepted Solutions
Noah-Sager
Esri Regular Contributor

Currently, we do not offer the ability to download the fonts from static.arcigs.com. We are investigating the ability to package fonts for offline usage.

If you have ArcGIS Enterprise, at 10.7, there are a few fonts packaged with Enterprise in .pbf:

C:\Program Files\ArcGIS\Portal\apps\fonts

Alternatively, with ArcGIS Pro, you can create a map with label classes having the fonts you want, then create a vtpk (even if there is no data). Then unzip the vtpk and extract the fonts.

View solution in original post

0 Kudos
3 Replies
Noah-Sager
Esri Regular Contributor

Currently, we do not offer the ability to download the fonts from static.arcigs.com. We are investigating the ability to package fonts for offline usage.

If you have ArcGIS Enterprise, at 10.7, there are a few fonts packaged with Enterprise in .pbf:

C:\Program Files\ArcGIS\Portal\apps\fonts

Alternatively, with ArcGIS Pro, you can create a map with label classes having the fonts you want, then create a vtpk (even if there is no data). Then unzip the vtpk and extract the fonts.

0 Kudos
KafilBaig
New Contributor III

Thanks for help Noah.

I took the few fonts packaged with Enterprise 10.7 and hosted in my server and pointed the https://static.arcgis.com/fonts to https://myserver.com/fonts .

It worked for me. Hope this helps for people who working in offline environment.

mahdicmptr
New Contributor

hello friends I have a similar problem. but I can't find above location . how can I download this fonts?

thank

0 Kudos