Giter Site home page Giter Site logo

Omit SVG by default about webfont-dl HOT 4 CLOSED

mathiasbynens avatar mathiasbynens commented on August 18, 2024
Omit SVG by default

from webfont-dl.

Comments (4)

mmastrac avatar mmastrac commented on August 18, 2024

This is a good thought. The only reason to support SVG fonts right now is if you have a specific reason for supporting old android browsers (pre 4.4) or really really old iOS (<= 5).

Adding 'help wanted' in case someone wants to create a patch. I'll work on this with some of the other bugs.

from webfont-dl.

mmastrac avatar mmastrac commented on August 18, 2024

Supporting references that illustrate almost complete woff coverage. In fact, woff + eot is pretty much 100% of today's global browsers (other than Opera Mini that doesn't support any font extensibility as far as I can tell):

http://caniuse.com/#search=woff

http://caniuse.com/#feat=svg-fonts

http://caniuse.com/#search=eot

I'd suggest that we change the default to inline WOFF and link EOT, with the rest omitted.

from webfont-dl.

mmastrac avatar mmastrac commented on August 18, 2024

Digging into this more, if we keep TTF linked that covers the "ancient android" and gives you iOS support all the way back to 4.3. Not too shabby.

So: WOFF: inline, EOT: link, TTF: link

from webfont-dl.

mmastrac avatar mmastrac commented on August 18, 2024

Committed

from webfont-dl.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.