CodeZombie / TypeRip

Adobe Fonts (formerly TypeKit) font ripper
http://badnoise.net/TypeRip/
352 stars 62 forks source link

Create CSS file that uses local font sources #19

Open jeroensmink98 opened 2 years ago

jeroensmink98 commented 2 years ago

It would be nice if the program could create a .css file with the local font definitions and their source.

Example:

@font-face {
    font-family: "museo-slab";
    src: url("../fonts/museo-slab_300_italic.woff") format("woff"),url("museo-slab_300_italic.woff2") format("woff2"),url("museo-slab_300_italic.otf") format("opentype");
    font-display: auto;
    font-style: italic;
    font-weight: 300;
}

I'm currently creating something like this project but it works a little bit different and is a lot more buggier than your solution

Therefore the requested enchantment