Font change in Web App Builder when app moved from ArcGIS Online to web server

1057
4
Jump to solution
11-27-2018 07:11 AM
Clarson
New Contributor III

I am trying to figure out why my font, in a Web App Builder project, is changing when I move an app from being hosted in AGO to our in-house web server. I have attached two .jpgs showing the font difference (1) is AGO and (2) is our web server (IIS). The text in question are links generated in the "Attribute" tab of WAB, using the Foldable theme.

(1)AGO hosted

(2)web server

If anyone could explain what is happening here and how to remedy it, it would be greatly appreciated.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Clement,

 

   You do not have the woff mime type added to your web server.

 

Set mime types for web fonts in IIS » Coding Still 

View solution in original post

4 Replies
RobertScheitlin__GISP
MVP Emeritus

Clement,

  Do you see any errors or warnings in your browsers web console when using the app on your server?

0 Kudos
Clarson
New Contributor III

I think so. Would that be these?

console

When I hover over any of the errors, it reads :http://url.com/projectname/jimu.js/css/fonts/avenir-next/bb12345...

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Clement,

 

   You do not have the woff mime type added to your web server.

 

Set mime types for web fonts in IIS » Coding Still 

Clarson
New Contributor III

That did the trick. Thank you so much, Robert. That had been bugging me for days.

0 Kudos