Clarification on WOFF & MIME

Michael J Kormendy <[email protected]> Thu, 27 Sep 2012 11:13:54 -0400
Newsgroups gmane.comp.web.fonts
Message-ID <CAKV8aNt=uA=MnBieTy8=GoCVKX=pAeAakyrqwb7aHpRPRYr9Xw@mail.gmail.com>
--bcaec54d42948ee18404cab0641c
Content-Type: text/plain; charset=ISO-8859-1

I need clarification on the best server settings for MIME types for
WOFF file format.

I've done some research on the MIME type standards for web-fonts and
I've come up with a pretty solid list of MIME type settings for my
server as based on the Internet Engineering Task Force who maintain
the original documentation on MIME types in general:

http://tools.ietf.org/html/rfc2045#section-5

This is my MIME type list as publicized in the Stack Exchange forum:

svg  as "image/svg+xml"
ttf  as "application/x-font-ttf" or "application/x-font-truetype"
otf  as "application/x-font-opentype"
woff as "application/x-font-woff"
eot  as "application/vnd.ms-fontobject"

However, someone suggested that WOFF should be set to
applicaton/font-woff based
on the W3C standards in the document maintained here:

http://www.w3.org/TR/WOFF/#appendix-b

Would it be prudent to go so far as to add the W3C recommendation to my
list in the following formatting (avoiding any browser warnings, errors, or
inaction that may occur do to improper MIME settings)?

svg  as "image/svg+xml"
ttf  as "application/x-font-ttf" or "application/x-font-truetype"
otf  as "application/x-font-opentype"
woff as "application/x-font-woff" or "application/font-woff"
eot  as "application/vnd.ms-fontobject"


Any guidance on this would be much appreciated.

Thanks,

Mike Kormendy

--bcaec54d42948ee18404cab0641c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<pre style=3D"background-color:rgb(255,255,255)"><div style=3D"color:rgb(34=
,34,34);font-family:arial,sans-serif;font-size:13px;white-space:normal">I n=
eed clarification on the best server settings for MIME types for WOFF file =
format.</div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
px;white-space:normal"><br></div><div style=3D"color:rgb(34,34,34);font-fam=
ily:arial,sans-serif;font-size:13px;white-space:normal">I&#39;ve done some =
research on the MIME type standards for web-fonts and I&#39;ve come up with=
 a pretty solid list of MIME type settings for my server as based on the In=
ternet Engineering Task Force who maintain the original documentation on MI=
ME types in general:</div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
px;white-space:normal"><br></div><div style=3D"color:rgb(34,34,34);font-fam=
ily:arial,sans-serif;font-size:13px;white-space:normal"><a href=3D"http://t=
ools.ietf.org/html/rfc2045#section-5" target=3D"_blank" style=3D"color:rgb(=
17,85,204)">http://tools.ietf.org/html/rfc2045#section-5</a></div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
px;white-space:normal"><br></div><div style=3D"color:rgb(34,34,34);font-fam=
ily:arial,sans-serif;font-size:13px;white-space:normal">This is my MIME typ=
e list as publicized in the Stack Exchange forum:</div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
px;white-space:normal"><br></div><div style=3D"color:rgb(34,34,34);font-fam=
ily:arial,sans-serif;font-size:13px;white-space:normal"><pre style=3D"white=
-space:pre-wrap;margin-top:0px;margin-bottom:10px;padding:5px;border:0px;fo=
nt-size:14px;vertical-align:baseline;background-color:rgb(238,238,238);font=
-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono=
&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Co=
urier New&#39;,monospace,serif;overflow:auto;width:auto;max-height:600px;li=
ne-height:18px">

<code style=3D"margin:0px;padding:0px;border:0px;vertical-align:baseline;fo=
nt-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mo=
no&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;=
Courier New&#39;,monospace,serif">svg  as &quot;image/svg+xml&quot;
ttf  as &quot;application/x-font-ttf&quot; or &quot;application/x-font-true=
type&quot;
otf  as &quot;application/x-font-opentype&quot;
woff as &quot;application/x-font-woff&quot;=20
eot  as &quot;application/vnd.ms-fontobject&quot;</code></pre></div><div st=
yle=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;whit=
e-space:normal">However, someone suggested that WOFF should be set to=A0<sp=
an style=3D"background-color:rgb(238,238,238);color:rgb(68,68,68);font-fami=
ly:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;=
,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier=
 New&#39;,monospace,serif;line-height:17px">applicaton/font-woff</span>=A0b=
ased on the W3C standards in the document maintained here:</div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
px;white-space:normal"><br></div><div style=3D"color:rgb(34,34,34);font-fam=
ily:arial,sans-serif;font-size:13px;white-space:normal"><a href=3D"http://w=
ww.w3.org/TR/WOFF/#appendix-b" target=3D"_blank" style=3D"color:rgb(17,85,2=
04)">http://www.w3.org/TR/WOFF/#appendix-b</a></div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
px;white-space:normal"><br></div><div style=3D"color:rgb(34,34,34);font-fam=
ily:arial,sans-serif;font-size:13px;white-space:normal">Would it be prudent=
 to go so far as to add the W3C recommendation to my list in the following =
formatting (avoiding any browser warnings, errors, or inaction that may occ=
ur do to improper MIME settings)?</div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
px;white-space:normal"><br></div><div style=3D"color:rgb(34,34,34);font-fam=
ily:arial,sans-serif;font-size:13px;white-space:normal"><pre style=3D"white=
-space:pre-wrap;margin-top:0px;margin-bottom:10px;padding:5px;border:0px;fo=
nt-size:14px;vertical-align:baseline;background-color:rgb(238,238,238);font=
-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono=
&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Co=
urier New&#39;,monospace,serif;overflow:auto;width:auto;max-height:600px;li=
ne-height:18px">

<code style=3D"margin:0px;padding:0px;border:0px;vertical-align:baseline;fo=
nt-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mo=
no&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;=
Courier New&#39;,monospace,serif">svg  as &quot;image/svg+xml&quot;
ttf  as &quot;application/x-font-ttf&quot; or &quot;application/x-font-true=
type&quot;
otf  as &quot;application/x-font-opentype&quot;
woff as &quot;application/x-font-woff&quot;<font color=3D"#ff6600"> or &quo=
t;application/font-woff&quot;</font>
eot  as &quot;application/vnd.ms-fontobject&quot;</code></pre></div><div st=
yle=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;whit=
e-space:normal"><br></div><div style=3D"color:rgb(34,34,34);font-family:ari=
al,sans-serif;font-size:13px;white-space:normal">

Any guidance on this would be much appreciated.</div><div style=3D"color:rg=
b(34,34,34);font-family:arial,sans-serif;font-size:13px;white-space:normal"=
><br></div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;f=
ont-size:13px;white-space:normal">

Thanks,</div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif=
;font-size:13px;white-space:normal"><br></div><div style=3D"color:rgb(34,34=
,34);font-family:arial,sans-serif;font-size:13px;white-space:normal">Mike K=
ormendy</div>

</pre>

--bcaec54d42948ee18404cab0641c--