Git Product home page Git Product logo

Comments (13)

sholladay avatar sholladay commented on May 26, 2024

This would be a nice change as it is simpler and more intuitive. I am curious about browser support.

from mime-db.

alrra avatar alrra commented on May 26, 2024

I am curious about browser support.

@sholladay I responded to a now deleted tweet about that.

TL;DR: browsers ignore font media types.

from mime-db.

dougwilson avatar dougwilson commented on May 26, 2024

TL;DR: browsers ignore font media types.

Is that all browsers or only current browsers? I'd be interesting to know about current Firefox, current Firefox ESR, current Chrome, current Safari, current Edge, current IE, IE10 (probably IE9, but no lower since I think SSL is broken now on those anyway). Anything else @sholladay you would like to know about?

from mime-db.

sholladay avatar sholladay commented on May 26, 2024

I only personally care about latest of: Chrome, Firefox, Safari, Edge

FYI Microsoft dropped support for IE < 11 early last year and they are no longer even remotely secure, as they stopped receiving basic security patches. IE11 has approximately 13% market share and falling quickly. It is a new day!

I know the situation with fonts on mobile has traditionally been very different than desktop (e.g. for a while only SVG was supported). It wouldn't surprise me if they avoided sniffing to save battery. That is probably a bigger concern. But following the standard is a 👍 from me.

from mime-db.

alrra avatar alrra commented on May 26, 2024

Is that all browsers or only current browsers?

@dougwilson The only problem was with old Blink/WebKit based browsers, which used to display a warning, but that is no longer the case.

from mime-db.

dougwilson avatar dougwilson commented on May 26, 2024

I wonder when Apache / NGINX will update their mappings to use these new types. I'm going to see if there are bug reports in those projects. That's where our font types are coming from today, if you were wondering :)

from mime-db.

alrra avatar alrra commented on May 26, 2024

I'm going to see if there are bug reports in those projects.

@dougwilson Did you manage to look into that? Thanks!

Also, in the meantime,

Let me know if you are open to updating custom.json.

from mime-db.

dougwilson avatar dougwilson commented on May 26, 2024

Hi @alrra I didn't check yet. I can take a look now. I would prefer this remain simply an aggregation system, as in it just passes through the other sources, so unless there is some specific reason (like types that came into existence before IANA and similar, as one example) I would rather not add things to custom.json . Our font data comes from the Apache / NGINX projects currently, so updating those projects will mean we'll pull down the new mappings.

from mime-db.

dougwilson avatar dougwilson commented on May 26, 2024

A quick search didn't find anything in the Apache HTTPD bug tracker, but found https://trac.nginx.org/nginx/ticket/1243 for NGINX.

from mime-db.

dougwilson avatar dougwilson commented on May 26, 2024

@alrra you're welcome to make a pull request to get the types added, though that will just list the existing extensions twice until the upstream removes them.

from mime-db.

alrra avatar alrra commented on May 26, 2024

you're welcome to make a pull request to get the types added,

Done.

though that will just list the existing extensions twice until the upstream removes them.

:(

from mime-db.

dougwilson avatar dougwilson commented on May 26, 2024

Alright, Apache changed their types now, which makes landing this fit very nicely now :O

from mime-db.

alrra avatar alrra commented on May 26, 2024

Alright, Apache changed their types now, which makes landing this fit very nicely now :O

@dougwilson I've updated #90.

from mime-db.

Related Issues (20)

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.