Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Add MIME in svg and woff font formats to IIS (2003, 2008)

2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Due to customer requirements, it is necessary to add font support such as space locally. The customer local test is as follows:

The online service display effect is as follows:

The results are as follows:

Font files are used to display vector icons. In order to display icons normally on IIS, icon font files can be supported by adding MIME-TYPE of iis.

The following will add IIS svg, eot, woff, otf, ttf font format file MIME.

Add the following two file types:

.svg image/svg+xml

.woff application/font-woff

I've written down some of the others below for later study:

.eot application/vnd.ms-fontobject

.otf application/octet-stream

.ttf application/octet-stream

The operation flow is as follows:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 262

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report