gatsby-plugin-webfonts icon indicating copy to clipboard operation
gatsby-plugin-webfonts copied to clipboard

feat: add support for self-hosted fonts

Open damianstasik opened this issue 4 years ago • 13 comments

This PR adds a basic support for self-hosted fonts.

TODO:

  • [x] Make sure the API has enough options
  • [x] Add example to the documentation
  • [ ] Add tests

Fixes https://github.com/hupe1980/gatsby-plugin-webfonts/issues/5

damianstasik avatar Aug 24 '20 16:08 damianstasik

@hupe1980 could you take look at this and give your feedback on it?

damianstasik avatar Aug 24 '20 16:08 damianstasik

@hupe1980 I just added a support of custom CSS properties to allow users customize them to their needs instead of hardcoding just a few. Now anything other than family and urls will be send through postcss and added inside the @font-face at-rule. What do you think?

damianstasik avatar Aug 24 '20 20:08 damianstasik

Can we get a status update on this PR? Thnx

justinledelson avatar Nov 19 '20 16:11 justinledelson

@hupe1980 can we help you? I'd love to see this feature added to plugin-webfonts.

I can offer coding support, rubber ducking, cheering you up in a video call and sending some bavarian beer 🙃

(I do maintain multiple Gatsby plugins, so I guess I could be a helpful hand)

axe312ger avatar Dec 07 '20 13:12 axe312ger

@axe312ger Help would be great!

You are welcome to take over the pull request. @visualfanatic currently seems to have no more time.

hupe1980 avatar Dec 07 '20 15:12 hupe1980

I'll add it to the "things I might hack on Christmas" list 🙃

axe312ger avatar Dec 08 '20 09:12 axe312ger

@hupe1980 can you maybe assign me? Helps me not forgetting about it :)

axe312ger avatar Dec 08 '20 09:12 axe312ger

@axe312ger I have assigned you. Thx for your support

hupe1980 avatar Dec 08 '20 18:12 hupe1980

@axe312ger Any updates on this?

hupe1980 avatar Jan 15 '21 18:01 hupe1980

@hupe1980 busy with earning money, so, no progress yet. Still wanna do it. If a client needs static font files, I might be able to do it within a project. Can't tell yet :)

If anybody else wanna code it, feel free to do it! I will put a note into this PR as soon I start working on it!

axe312ger avatar Jan 18 '21 13:01 axe312ger

Any update on this? Would be awesome to have this feature 🙂

flogy avatar Apr 08 '22 00:04 flogy

I won't find time soon. Anybody else feel tree to take this over. Would be a real great new feature for this plugin!

Alternative: Make me find time by paying me for this feature ;)

axe312ger avatar Apr 08 '22 08:04 axe312ger

I won't find time soon. Anybody else feel tree to take this over. Would be a real great new feature for this plugin!

Alternative: Make me find time by paying me for this feature ;)

I can't pay you but I am going to have a crack at this myself as gatsby-plugin-web-font-loader is deprecated and I need a good alternative that doesn't just do Google fonts 😅

jfgilmore avatar Aug 01 '22 02:08 jfgilmore