WOFF Has Left the Building Posted September 7, 2023 by Matthias Ott 134 Webmentions #css #design #design engineering #development #font-face #formats #web #web fonts In a recent project, the web fonts I bought and downloaded were only available as WOFF2 files. Staring in disbelief at the unpacked folder full of WOFF2 files, I wondered: Why did they not include WOFF files as well? Isn’t WOFF still needed? Or is it finally time to ditch WOFF? At least building for the Web includes regularly reevaluating how you do things. So, I asked the people of Mastodon. The unanimous answer: It’s WOFF2 or nothin’! I still vividly remember how a post by Zach at the end of 2016 made me abandon the “bulletproof” @font-face syntax that also included TTF, EOT, and SVG font formats in favor of a much-reduced version using only two font formats: WOFF2 and WOFF. Apparently, the web font world has changed once more and the new modern @font-face syntax now looks like this: @font-face { font-family: "Open Sans"; src: url("opensans.woff2") format('woff2'); } Pretty simple, right? Just one format. As Zach wrote in his article, “given that web fonts for readable content fall back to system fonts when formats are not supported, it’s ok to be progressive here.” Which browsers are we sending into the dark lands of system fonts with this syntax? IE 11, 10, 9, 8, 7, … Chrome 4 through 35 Edge 12 and 13 Safari 3 through 9.1 Firefox 2 through 38 Opera 22 and below Android 4.4.4 KitKat (less than 0.5 % of Android devices) and below Mobile Safari (iOS) 3.2 through 9.3 According to Caniuse.com, almost 95 % of users have a browser with support for WOFF2 today. If you look at the date relative statistics, you’ll notice that the major shift happened in 2015 and 2016. By the end of 2016, all major browsers supported WOFF2 in their latest versions. Seven years later, support has grown to a level where it seems totally fine to not include WOFF anymore – unless you know for a fact that a large percentage of your users is still using older devices and browsers. On the other hand, there is no reason to remove WOFF from already existing projects either. If you include WOFF2 before WOFF in your @font-face syntax – and the order really matters here –, modern browsers will use and download the WOFF2 versions anyway. But if you find yourself sitting in front of your computer one day, staring at a folder full of only WOFF2 files, it is comforting to know that WOFF has indeed left the building. ~ 133 Webmentions @matthiasott @matthiasott Useful article, thanx! HECHT INS GEFECHT 7 September 2023 | 10:24 @matthiasott Interesting. A thing i will keep in mind! Ronan 7 September 2023 | 10:37 @matthiasott this is a great post. Thank you! Anything that results in fewer files, less loading and particularly less typing and checking of code is ???? Lippe 7 September 2023 | 11:18 @matthiasott Yes, it's definitely time to move away from WOFF! IIRC I kicked out WOFF on almost all work-related projects around 2019 when we ditched IE11 (?), for private projects even earlier. When still working on production-code I had created a recurring ticket to re-evluate the mixins and such to get rid of old vendor prefixes and other hacks... Simon Eilting 7 September 2023 | 11:21 @matthiasott it's unbelievable how slow this stuff moves. Web fonts were standardized so long ago and there are still a handful of people on devices that don't quite support them 😮 Every time a new API or format is released, I'm like "yay in 10-15 years that will be really useful". Goerp 7 September 2023 | 12:03 @matthiasott the smaller size seems like a good thing . If you include more options (like offering ttf), the browser doesn't load them all, does it? That it didn't hurt to include more? Personally I'm a big big fan of the backwards compatibility of websites Matthias Ott 7 September 2023 | 12:43 @goerp The Browser starts at the top of the @font-face rule and uses the first supported format it can find and only loads this file, yes. So for better support, you can always include more formats, of course. When it comes to the old formats like TTF or SVG, you’re loading huge files, so one could argue that it doesn’t improve the experience much because those people will be using older, less fast devices ... 49 Reposts Ɍ;ȍ;ƞ; ✮; Ƙ;aƥ;ƥ;ʅ;eɾ; Robert Katzki Tobias Kunisch Peter Kröner Ronan Roel Nieskens Emmanuel ????; braincolor | medienkurbel ????; Manuel Matuzović; Terence Eden Gaz Shaw 7 March 2025 | 20:17 tbb 7 March 2025 | 20:17 Ben Myers ???? 7 March 2025 | 20:18 Asbjørn Ulsberg 7 March 2025 | 20:18 Florian Rieder 7 March 2025 | 20:18 Bramus 7 March 2025 | 20:18 Sylvain G. 7 March 2025 | 20:18 Richard 7 March 2025 | 20:18 Amy ???? 7 March 2025 | 20:18 jan_j ⁂ ⚓️ 7 March 2025 | 20:18 Uwe Trenkner 7 March 2025 | 20:18 Nina Gerling 7 March 2025 | 20:18 Daniel Bishop 7 March 2025 | 20:18 Alex Guyot 7 March 2025 | 20:18 Chris Coyier 7 March 2025 | 20:18 Max Fenton (defunct) 7 March 2025 | 20:18 Rutherford Craze 7 March 2025 | 20:18 Thomas Broyer 7 March 2025 | 20:18 J. Blake 7 March 2025 | 20:18 Typographica 7 March 2025 | 20:18 mauvedeity 7 March 2025 | 20:18 Paul Houle 7 March 2025 | 20:18 Zach Leatherman :11ty: 7 March 2025 | 20:18 Fynn Ellie Becker 7 March 2025 | 20:18 Ana Rodrigues (moved!) 7 March 2025 | 20:18 Ironorchid 7 March 2025 | 20:18 :wordpress: Jack 7 March 2025 | 20:18 Johannes Ammon 7 March 2025 | 20:18 Nicolas Hoizey 7 March 2025 | 20:18 Ross McKay 7 March 2025 | 20:18 Christian Tietze 7 March 2025 | 20:18 Baldur Bjarnason 7 March 2025 | 20:18 Maxime 7 March 2025 | 20:18 Michelle Barker 7 March 2025 | 20:18 @fjacobi@social.tchncs.de 7 March 2025 | 20:18 Fronteers 7 March 2025 | 20:18 Simon Praetorius 7 March 2025 | 20:18 Fadhl Haqq 7 March 2025 | 20:18 Jerome Dahdah @ ???????? 7 March 2025 | 20:18 78 Likes Fynn Becker × Zach Leatherman Mitch Bartlett Matteo Corossigo Kush Tyler Gaw Ana Rodrigues Krijn Hoetmer eva lauren Luke Dorny :ComputerClassic: Alistair Shepherd Rich Lucking Daniel Benedikt Bramböck Fabian :mastodon: Ross McKay David Jonathan Ross Morbi Michelle Barker Stefan Krieger Maxime Nick F Florian Eckerstorfer Royce Williams Matthew Skelton depone Intention - eco web design Roel Nieskens Thomas Jerome Dahdah @ ????;????; Noah Doersing ????;????;????; Manuel Matuzović; Florian Geierstanger HECHT INS GEFECHT Christian "Schepp" Schaefer Larry Hudson fuchsbrom tbb 7 March 2025 | 20:16 Deeleres 7 March 2025 | 20:16 Harry Keller 7 March 2025 | 20:16 Rob Blake 7 March 2025 | 20:16 Ɍȍƞ ✮ Ƙaƥƥʅeɾ 7 March 2025 | 20:16 Mihkel Eidast 7 March 2025 | 20:17 Asbjørn Ulsberg 7 March 2025 | 20:17 Jason Cosper 7 March 2025 | 20:17 Mathieu Pigeon 7 March 2025 | 20:17 Keith J Grant 7 March 2025 | 20:17 Alexi Chepura 7 March 2025 | 20:17 Trent Walton 7 March 2025 | 20:17 skratchdot 7 March 2025 | 20:17 Florian Fecher 7 March 2025 | 20:17 Rodney 7 March 2025 | 20:17 Robert Katzki 7 March 2025 | 20:17 Johannes ヨハネス 7 March 2025 | 20:17 Jeremiah Lee 7 March 2025 | 20:17 Timo Tijhof 7 March 2025 | 20:17 jameslutley 7 March 2025 | 20:17 Amy ???? 7 March 2025 | 20:17 Nina Gerling 7 March 2025 | 20:17 Lit ✨ 7 March 2025 | 20:17 Yexx 7 March 2025 | 20:17 Feneric 7 March 2025 | 20:17 Doctacosa 7 March 2025 | 20:17 Benjamin Richardson 7 March 2025 | 20:17 Wayne Dixon 7 March 2025 | 20:17 Juan Luis 7 March 2025 | 20:17 Paul Hebert 7 March 2025 | 20:17 tzi 7 March 2025 | 20:17 Adrian Roselli 7 March 2025 | 20:17 Andy Broomfield 7 March 2025 | 20:17 Dave Rupert 7 March 2025 | 20:17 Max Fenton (defunct) 7 March 2025 | 20:17 Paul 7 March 2025 | 20:17 Rutherford Craze 7 March 2025 | 20:17 J. Blake 7 March 2025 | 20:17 mauvedeity 7 March 2025 | 20:17 William Comfort Anderson 7 March 2025 | 20:17 ⓘ Webmentions are a way to notify other websites when you link to them, and to receive notifications when others link to you. Learn more about Webmentions. Have you published a response to this? Send me a webmention by letting me know the URL. Ping! More Notes Ad Infinitum Lazy and Prompt Buckle Up At Machine Speed
Ronan 7 September 2023 | 10:37 @matthiasott this is a great post. Thank you! Anything that results in fewer files, less loading and particularly less typing and checking of code is ????
Lippe 7 September 2023 | 11:18 @matthiasott Yes, it's definitely time to move away from WOFF! IIRC I kicked out WOFF on almost all work-related projects around 2019 when we ditched IE11 (?), for private projects even earlier. When still working on production-code I had created a recurring ticket to re-evluate the mixins and such to get rid of old vendor prefixes and other hacks...
Simon Eilting 7 September 2023 | 11:21 @matthiasott it's unbelievable how slow this stuff moves. Web fonts were standardized so long ago and there are still a handful of people on devices that don't quite support them 😮 Every time a new API or format is released, I'm like "yay in 10-15 years that will be really useful".
Goerp 7 September 2023 | 12:03 @matthiasott the smaller size seems like a good thing . If you include more options (like offering ttf), the browser doesn't load them all, does it? That it didn't hurt to include more? Personally I'm a big big fan of the backwards compatibility of websites
Matthias Ott 7 September 2023 | 12:43 @goerp The Browser starts at the top of the @font-face rule and uses the first supported format it can find and only loads this file, yes. So for better support, you can always include more formats, of course. When it comes to the old formats like TTF or SVG, you’re loading huge files, so one could argue that it doesn’t improve the experience much because those people will be using older, less fast devices ...