Re: Clarification on WOFF & MIME
Thomas Phinney <[email protected]> Fri, 28 Sep 2012 15:38:58 -0500
| Newsgroups | gmane.comp.web.fonts |
|---|---|
| Message-ID | <CAO6Fj1V60sONbndiJw7RApgnf0zz=L2mcJks0hzDCFO7zU3b4A@mail.gmail.com> |
--bcaec501c140c77a0604cac90c30 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable We were just discussing this among the engineering staff at Extensis the other day, and the conclusion was that having a real, dedicated MIME type for WOFF and fonts in general would be a good thing, from our POV. I can get somebody to write up the reasoning if that would be helpful, but I'm assuming that the W3-font group has already done so. T On Fri, Sep 28, 2012 at 8:45 AM, Levantovsky, Vladimir < [email protected]> wrote: > The media type =93application/font-woff=94 has been discussed and approv= ed > by the W3C WebFonts WG, and as such is now the part of the WOFF spec. > However, to the best of my knowledge, it has not yet been registered with > IANA.**** > > ** ** > > There have also been numerous discussions about the need to register the > top level media type =93font=94 and, if this happens in the future, we ma= y see > a whole new hierarchy of media types for fonts. I will bring this up agai= n > for WebFonts WG discussion to see if there is a real need / interest in > registering the top-level =91font=92 type and will report back on this li= st.** > ** > > ** ** > > Regards,**** > > Vladimir**** > > ** ** > > ** ** > > *From:* Michael J Kormendy [mailto:[email protected]] > *Sent:* Thursday, September 27, 2012 11:14 AM > *To:* [email protected] > *Subject:* Clarification on WOFF & MIME**** > > ** ** > > 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'v= e come up with a pretty solid list of MIME type settings for my server as b= ased on the Internet Engineering Task Force who maintain the original docum= entation 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-wo= ff 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**** > > ** ** > > ** ** > > --=20 =93Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that =91my ignorance is just as good as your knowledge.=92= =94 =97Isaac Asimov --bcaec501c140c77a0604cac90c30 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <font face=3D"verdana,sans-serif">We were just discussing this among the en= gineering staff at Extensis the other day, and the conclusion was that havi= ng a real, dedicated MIME type for WOFF and fonts in general would be a goo= d thing, from our POV.</font><div> <font face=3D"verdana, sans-serif"><br></font></div><div><font face=3D"verd= ana, sans-serif">I can get somebody to write up the reasoning if that would= be helpful, but I'm assuming that the W3-font group has already done s= o.<br> </font><div><font face=3D"verdana,sans-serif"><br></font></div><div><font f= ace=3D"verdana,sans-serif">T<br></font><br><div class=3D"gmail_quote">On Fr= i, Sep 28, 2012 at 8:45 AM, Levantovsky, Vladimir <span dir=3D"ltr"><<a = href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">The media type =93applica= tion/font-woff=94 has been discussed and approved by the W3C WebFonts WG, a= nd as such is now the part of the WOFF spec. However, to the best of my knowledge, it has not yet been registered with IANA.<u></u><u><= /u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=A0<u></u></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">There have also been nume= rous discussions about the need to register the top level media type =93fon= t=94 and, if this happens in the future, we may see a whole new hierarchy of media types for fonts. I will bring this up again for Web= Fonts WG discussion to see if there is a real need / interest in registerin= g the top-level =91font=92 type and will report back on this list.<u></u><u= ></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=A0<u></u></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">Regards,<u></u><u></u></s= pan></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d">Vladimir<u></u><u></u></s= pan></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=A0<u></u></span><= /p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d"><u></u>=A0<u></u></span><= /p> <div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in = 4.0pt"> <div> <div style=3D"border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in = 0in 0in"> <p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:"= ;Tahoma","sans-serif"">From:</span></b><span style=3D"font-s= ize:10.0pt;font-family:"Tahoma","sans-serif""> Michael = J Kormendy [mailto:<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>] <br> <b>Sent:</b> Thursday, September 27, 2012 11:14 AM<br> <b>To:</b> <a href=3D"mailto:[email protected]" target=3D"_blank">www-font@w3= .org</a><br> <b>Subject:</b> Clarification on WOFF & MIME<u></u><u></u></span></p> </div> </div><div><div class=3D"h5"> <p class=3D"MsoNormal"><u></u>=A0<u></u></p> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222">I need clarification on the best se= rver settings for MIME types for WOFF file format.<u></u><u></u></span></pr= e> </div> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><u></u>=A0<u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222">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 Engineeri= ng Task Force who maintain the original documentation on MIME types in gene= ral:<u></u><u></u></span></pre> </div> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><u></u>=A0<u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><a href=3D"http://tools.ietf.org/ht= ml/rfc2045#section-5" target=3D"_blank"><span style=3D"color:#1155cc">http:= //tools.ietf.org/html/rfc2045#section-5</span></a><u></u><u></u></span></pr= e> </div> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><u></u>=A0<u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222">This is my MIME type list as public= ized in the Stack Exchange forum:<u></u><u></u></span></pre> </div> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><u></u>=A0<u></u></span></pre> </div> <div> <pre style=3D"margin-bottom:7.5pt;line-height:13.5pt;background:#eeeeee;ver= tical-align:baseline;white-space:pre-wrap;max-height:600px;overflow:auto"><= span style=3D"font-size:10.5pt;font-family:Consolas;color:#222222"><u></u>= =A0<u></u></span></pre> <pre style=3D"margin-bottom:7.5pt;line-height:13.5pt;background:#eeeeee;ver= tical-align:baseline"><span style=3D"font-size:10.5pt;font-family:Consolas;= color:#222222"><u></u>=A0<u></u></span></pre> <pre style=3D"line-height:13.5pt;background:#eeeeee;vertical-align:baseline= "><code><span style=3D"font-family:Consolas;color:#222222;border:none windo= wtext 1.0pt;padding:0in">svg=A0 as "image/svg+xml"<u></u><u></u><= /span></code></pre> <pre style=3D"line-height:13.5pt;background:#eeeeee;vertical-align:baseline= "><code><span style=3D"font-family:Consolas;color:#222222;border:none windo= wtext 1.0pt;padding:0in">ttf=A0 as "application/x-font-ttf" or &q= uot;application/x-font-truetype"<u></u><u></u></span></code></pre> <pre style=3D"line-height:13.5pt;background:#eeeeee;vertical-align:baseline= "><code><span style=3D"font-family:Consolas;color:#222222;border:none windo= wtext 1.0pt;padding:0in">otf=A0 as "application/x-font-opentype"<= u></u><u></u></span></code></pre> <pre style=3D"line-height:13.5pt;background:#eeeeee;vertical-align:baseline= "><code><span style=3D"font-family:Consolas;color:#222222;border:none windo= wtext 1.0pt;padding:0in">woff as "application/x-font-woff" <u></u= ><u></u></span></code></pre> <pre style=3D"line-height:13.5pt;background:#eeeeee;vertical-align:baseline= "><code><span style=3D"font-family:Consolas;color:#222222;border:none windo= wtext 1.0pt;padding:0in">eot=A0 as "application/vnd.ms-fontobject"= ;</span></code><span style=3D"font-size:10.5pt;font-family:Consolas;color:#= 222222"><u></u><u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222">However, someone suggested that WOF= F should be set to=A0</span><span style=3D"font-family:Consolas;color:#4444= 44;background:#eeeeee">applicaton/font-woff</span><span style=3D"font-famil= y:"Arial","sans-serif";color:#222222">=A0based on the W= 3C standards in the document maintained here:<u></u><u></u></span></pre> </div> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><u></u>=A0<u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><a href=3D"http://www.w3.org/TR/WOF= F/#appendix-b" target=3D"_blank"><span style=3D"color:#1155cc">http://www.w= 3.org/TR/WOFF/#appendix-b</span></a><u></u><u></u></span></pre> </div> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><u></u>=A0<u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222">Would it be prudent to go so far as= to add the W3C recommendation to my list in the following formatting (avoi= ding any browser warnings, errors, or inaction that may occur do to imprope= r MIME settings)?<u></u><u></u></span></pre> </div> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><u></u>=A0<u></u></span></pre> </div> <div> <pre style=3D"margin-bottom:7.5pt;line-height:13.5pt;background:#eeeeee;ver= tical-align:baseline;white-space:pre-wrap;max-height:600px;overflow:auto"><= span style=3D"font-size:10.5pt;font-family:Consolas;color:#222222"><u></u>= =A0<u></u></span></pre> <pre style=3D"margin-bottom:7.5pt;line-height:13.5pt;background:#eeeeee;ver= tical-align:baseline"><span style=3D"font-size:10.5pt;font-family:Consolas;= color:#222222"><u></u>=A0<u></u></span></pre> <pre style=3D"line-height:13.5pt;background:#eeeeee;vertical-align:baseline= "><code><span style=3D"font-family:Consolas;color:#222222;border:none windo= wtext 1.0pt;padding:0in">svg=A0 as "image/svg+xml"<u></u><u></u><= /span></code></pre> <pre style=3D"line-height:13.5pt;background:#eeeeee;vertical-align:baseline= "><code><span style=3D"font-family:Consolas;color:#222222;border:none windo= wtext 1.0pt;padding:0in">ttf=A0 as "application/x-font-ttf" or &q= uot;application/x-font-truetype"<u></u><u></u></span></code></pre> <pre style=3D"line-height:13.5pt;background:#eeeeee;vertical-align:baseline= "><code><span style=3D"font-family:Consolas;color:#222222;border:none windo= wtext 1.0pt;padding:0in">otf=A0 as "application/x-font-opentype"<= u></u><u></u></span></code></pre> <pre style=3D"line-height:13.5pt;background:#eeeeee;vertical-align:baseline= "><code><span style=3D"font-family:Consolas;color:#222222;border:none windo= wtext 1.0pt;padding:0in">woff as "application/x-font-woff"</span>= </code><code><span style=3D"font-family:Consolas;color:#ff6600;border:none = windowtext 1.0pt;padding:0in"> or "application/font-woff"</span><= /code><code><span style=3D"font-family:Consolas;color:#222222;border:none w= indowtext 1.0pt;padding:0in"><u></u><u></u></span></code></pre> <pre style=3D"line-height:13.5pt;background:#eeeeee;vertical-align:baseline= "><code><span style=3D"font-family:Consolas;color:#222222;border:none windo= wtext 1.0pt;padding:0in">eot=A0 as "application/vnd.ms-fontobject"= ;</span></code><span style=3D"font-size:10.5pt;font-family:Consolas;color:#= 222222"><u></u><u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><u></u>=A0<u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222">Any guidance on this would be much = appreciated.<u></u><u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><u></u>=A0<u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222">Thanks,<u></u><u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222"><u></u>=A0<u></u></span></pre> </div> <div> <pre style=3D"background:white"><span style=3D"font-family:"Arial"= ;,"sans-serif";color:#222222">Mike Kormendy<u></u><u></u></span><= /pre> </div> <pre style=3D"background:white"><u></u>=A0<u></u></pre> <pre style=3D"background:white"><u></u>=A0<u></u></pre> </div></div></div> </div> </div> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=93Anti-inte= llectualism has been a constant thread winding its way through our politica= l and cultural life, nurtured by the false notion that democracy means that= =91my ignorance is just as good as your knowledge.=92=94<br> =A0=97Isaac Asimov<br> </div></div> --bcaec501c140c77a0604cac90c30--