{"id":244987,"date":"2010-01-29T03:00:00","date_gmt":"2010-01-29T08:00:00","guid":{"rendered":"tag:blogger.com,1999:blog-1652419620964346731.post-1154742266153103512"},"modified":"2010-01-29T03:00:00","modified_gmt":"2010-01-29T08:00:00","slug":"using-font-face-on-windows-server-iis-6-0","status":"publish","type":"post","link":"https:\/\/mereja.media\/index\/244987","title":{"rendered":"Using @font-face on Windows Server IIS 6.0"},"content":{"rendered":"<p>This is a very small article but hopefully will save some hassle for some people. I found to use OpenType fonts on a Windows server in IIS you actually have to add .otf as a MIME type in IIS 6.0. To do that Open IIS \u2013&gt; Right click on \u201cWeb Sites\u201d \u2013&gt; Click on Properties \u2013&gt; HTTP Headers Tab \u2013&gt; MIME Types (at the bottom of the window) \u2013&gt; New. For the extension type .otf and for the MIME type put \u201cfont\/otf\u201d without the quotes. It should look like the image below. <\/p>\n<p>&#160;<\/p>\n<p>&#160;<\/p>\n<p>Then you just set the CSS like<\/p>\n<p>@font-face {    <br \/>&#160; font-family: CoolFont;     <br \/>&#160; src: url(\/Fonts\/CoolFont.otf) format(&quot;opentype&quot;);     <br \/>}<\/p>\n<p>this works in basically everything from IE6-8, Firefox 3.5+, Safari 3.1+, Opera and Google Chrome (but only svg fonts)<\/p>\n<p><a href=\"http:\/\/lh3.ggpht.com\/_xuSF2vhRbU4\/S1pBQ-6N9CI\/AAAAAAAAAK8\/wuht-doszcw\/s1600-h\/image%5B5%5D.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/lh5.ggpht.com\/_xuSF2vhRbU4\/S1pBRNMukEI\/AAAAAAAAALA\/zDIwIfXU76k\/image_thumb%5B1%5D.png?imgmax=800\" width=\"244\" height=\"226\" \/><\/a> <\/p>\n<p>By <a href=\"http:\/\/freedomchicken.com\" >FreedomChicken<\/a><\/p>\n<div class=\"blogger-post-footer\"><Br \/><center><a href=\"http:\/\/www.anrdoezrs.net\/click-3773910-10438541?cm_mmc=CJ-_-2769020-_-3773910-_-Home_468x60-Anim_8-24-2006\" ><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.ftjcfx.com\/image-3773910-10438541\" width=\"468\" height=\"60\" alt=\"Great Deals @ Geeks.com!\" border=\"0\"\/><\/a><\/center><img width='1' height='1' src='https:\/\/blogger.googleusercontent.com\/tracker\/1652419620964346731-1154742266153103512?l=www.bauer-power.net' alt='' \/><\/div>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:dnMXMwOfBR0\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=dnMXMwOfBR0\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:V_sGLiPBpWU\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=_d2qTNEGOEg:HDzc3HqFI3U:V_sGLiPBpWU\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:gIN9vFwOqvQ\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=_d2qTNEGOEg:HDzc3HqFI3U:gIN9vFwOqvQ\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:YwkR-u9nhCs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=YwkR-u9nhCs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:F7zBnMyn0Lo\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=_d2qTNEGOEg:HDzc3HqFI3U:F7zBnMyn0Lo\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:wF9xT3WuBAs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=_d2qTNEGOEg:HDzc3HqFI3U:wF9xT3WuBAs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:jTJX5pvEcCQ\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=_d2qTNEGOEg:HDzc3HqFI3U:jTJX5pvEcCQ\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:TzevzKxY174\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=TzevzKxY174\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:qj6IDK7rITs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=qj6IDK7rITs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:7Q72WNTAKBA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=7Q72WNTAKBA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:nHK9nIK91uw\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=_d2qTNEGOEg:HDzc3HqFI3U:nHK9nIK91uw\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=_d2qTNEGOEg:HDzc3HqFI3U:tdI4wLSbWXI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=_d2qTNEGOEg:HDzc3HqFI3U:tdI4wLSbWXI\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/Bauer-power\/~4\/_d2qTNEGOEg\" height=\"1\" width=\"1\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a very small article but hopefully will save some hassle for some people. I found to use OpenType fonts on a Windows server in IIS you actually have to add .otf as a MIME type in IIS 6.0. To do that Open IIS \u2013&gt; Right click on \u201cWeb Sites\u201d \u2013&gt; Click on Properties [&hellip;]<\/p>\n","protected":false},"author":3078,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-244987","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/244987","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/users\/3078"}],"replies":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/comments?post=244987"}],"version-history":[{"count":0,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/244987\/revisions"}],"wp:attachment":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/media?parent=244987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/categories?post=244987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/tags?post=244987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}