MSMK Posted May 11, 2020 Share Posted May 11, 2020 Выложил на сервер необходимые шрифты. В ServerModule в CustomCSS прописал @font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Regular.ttf") format("truetype"); font-style: normal; font-weight: normal; } @font-face { font-family: "Roboto"; src: url("../fonts/Roboto-Regular.ttf") format("truetype"); font-style: normal; font-weight: normal; } в режиме Standalone все норм работает, у клиентов шрифты отображаются заданные. А если на IIS запускаешь, то в шрифты не прогружаются и в консоле ошибка downloadable font: download failed (font-family: "Roboto" style:normal weight:400 stretch:100 src index:0): status=2147746065 source: http://172.17.1.25:8089/fonts/Roboto-Regular.ttf Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 22, 2020 Share Posted May 22, 2020 Возможно, ошибка при вставке, проверьте в каком нибудь редакторе на корректность: : Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.