fontaine icon indicating copy to clipboard operation
fontaine copied to clipboard

[fontless] Support SvelteKit

Open vnphanquang opened this issue 7 months ago â€ĸ 3 comments

🆒 Your use case

Thanks for the good work here! I'm a heavy Svelte/SvelteKit user, and as of 0.0.2, fontless isn't working with SvelteKit from my test here: https://github.com/vnphanquang/sveltekit-fontless-reproduction.

🆕 The solution you'd like

Would be awesome to have this working in Sveltekit, if it's even possible without any additional adapter/config. Please see the reproduction repo above for more information.

🔍 Alternatives you've considered

Right now, I'm falling back to traditional methods of loading fonts (link, font-face, manual self-hosting, etc.), i.e not using fontless

â„šī¸ Additional info

Would love to dive in the vite plugin code to see if i can help but just want to report here first in case someone already has better insight. Maybe this is related to Vite environment?

vnphanquang avatar Jun 12 '25 16:06 vnphanquang

I'm not familiar with fontless, but here's an example repo that uses fontaine with sveltekit: https://github.com/rodneylab/sveltekit-fontaine

anxpara avatar Jun 20 '25 20:06 anxpara

this is strange as we have a ~~sveltekit~~ repo in our test suite. I'll have to investigate your reproduction.

update: we have a svelte app

danielroe avatar Sep 10 '25 13:09 danielroe

this is strange as we have a ~sveltekit~ repo in our test suite. I'll have to investigate your reproduction.

update: we have a svelte app

Thanks, it's been a while. I'll check back in to see if the reproduction is still valid.

vnphanquang avatar Sep 10 '25 13:09 vnphanquang