Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SITE] Try out WF without having to upload a font yourself #7

Closed
RoelN opened this issue May 5, 2020 · 5 comments
Closed

[SITE] Try out WF without having to upload a font yourself #7

RoelN opened this issue May 5, 2020 · 5 comments

Comments

@RoelN
Copy link
Contributor

RoelN commented May 5, 2020

...without you needing to find and upload a font first.

For example, add a button saying "Try it with Recursive!" where a copy of Recursive is being downloaded/supplied to the site automagically.

@RoelN RoelN changed the title [GENERAL] Add some way to try out the site [GENERAL] Try out WF without having to upload a font yourself May 5, 2020
@RoelN RoelN changed the title [GENERAL] Try out WF without having to upload a font yourself [SITE] Try out WF without having to upload a font yourself May 11, 2020
@RoelN
Copy link
Contributor Author

RoelN commented May 11, 2020

Add (open source) example fonts to try immediately. SEO BONUS: make result pages for many fonts, making WF show up if people search for info on that font :-)

@davelab6
Copy link
Contributor

This doesn't have the CORS issue that loading a font via URL may pose (although since the site can fetch files from random URLs as blobs rather than as page resources, CORS can be worked around, I think)

@RoelN
Copy link
Contributor Author

RoelN commented Aug 6, 2020

Note to self:

https://wakamaifondue.com/bungee

@RoelN
Copy link
Contributor Author

RoelN commented Aug 6, 2020

Did some 👨‍🔬experimenting🧪 but looks like CORS isn't circumventable. Which makes sense as that would mean a hole has been poked in the whole reason CORS exists.

Short explanation here. Yes, mode: 'no-cors makes the file load, but you can't access it from JavasScript. Why it does load the file (and presumably puts it in the cache) is a mystery to me, because what's the point? Either way, circumventing CORS from the browser looks like a dead end.

@RoelN RoelN transferred this issue from another repository Aug 24, 2020
@RoelN
Copy link
Contributor Author

RoelN commented Aug 24, 2020

Simple setup: #5

@RoelN RoelN closed this as completed Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants