Hacker News new | past | comments | ask | show | jobs | submit login

I know it's "bad" but my solution to this is just to stuff everything in the head tag.

Instead of @import I just base64 encode things as data URIs. One big fat CSS file with everything the browser needs.

Get the content loaded once and the cache generally takes care of making it fast enough.




The problem here is that you have to use Typekit because you don't actually own the fonts.


I'm not familiar with Typekit, but from the link it applies more broadly.

> I've discovered a bug when using the Webfont Loader for Google Fonts or Typekit.

I've found most of the Google Web Fonts permit transformation and embedding. You just need to read the licenses closely.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: