Remix.run Logo
chowells 19 hours ago

Have you ever tried to self-host a font from Google fonts? I have. It's actually quite a lot of work. It doesn't just give you a blob of CSS that links to a font file. It dynamically populates the contents based on what Google thinks of your request. You can't just examine your browser network logs to get the content you need. You have to synthesize the contents of a lot of different requests to fully populate the CSS, and get a bunch of different font files. And it's not just combining things blindly, you have to work around all the weird splitting it does to attempt to optimize common cases.

Writing a tool to do all that work for you is the hacker spirit. Mocking the work is not.

jrm4 18 hours ago | parent [-]

I mean, I appreciate a "Make Doom run on a pregnancy test" as much as the next guy, but what are you talking about?

At fonts.google.com:

Find font; click download (it's the SECOND blue button)

Unzip and upload to your website.

What am I missing here?

Velocifyer 18 hours ago | parent [-]

That download is TTF format when it should be WOFF2 split by unicode chrarector sets. And it doesn't have the CSS for it to be a variable font

bigwheels 17 hours ago | parent | next [-]

WOFF2 is an optimization, but TTF fonts generally work fine.

jrm4 18 hours ago | parent | prev [-]

(Genuine question)

Is it not as simple as...

https://github.com/ebrasha/abdal-ttf-woff2