Get the App
SLTechnology News&Howtos  ›  Servers  › 

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

Shulou Source: shulou.com Published: 2022-06-02 18:22:50 09月22日 Update

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:

Tags: Fonts files icons customers support formats can pass effects processes vectors spaces types results requirements learning services queries tests Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MySQL MariaDB vpn Shulou Tech Info