-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Text to ASCII Art Generator unable to fetch fonts #1546
Comments
Hi @artyPD, sounds like unpkg.com has a problem |
Simple solution, as in it seems easy, but I'm not this competent YET... One day... Host the font files locally. Instead of loading fonts from unpkg.com, download them and serve them from the same domain (it-tools.tech). That way, there's no cross-origin request to be blocked. |
It seems so simple now. Thanks. |
I can do you one better (I think)... There are two slashes right before Standard. If you remove one, the font is actually loadable from unpkg. https://unpkg.com/[email protected]/fonts/Standard.flf. It might be a mere concatenation issue! Cheers |
Hi @artyPD and @Gormandy and @bfqrst , I will serve fonts locally in my fork soon (for "safety reasons"). But as of now, this works again in my fork (ctrl+f5 may be needed): https://sharevb-it-tools.vercel.app/ascii-text-drawer |
Hi @sharevb, looks good! It seems that Ctrl+F5 is needed to switch fonts. Swiching between the different fonts with reloading shows the same error. However, Ctrl+F5 then loads the font I selected because it was the last selected font. Is this what you meant with the Ctrl+F5? |
Describe the bug
Initial page load throws Current settings resulted in error. Changing the font or width makes no difference:
What happened?
It seems the page is unable to fetch any fonts. Issues persist across all browsers listed below:
System information
System:
Browsers:
Where did you encounter the bug?
Public app (it-tools.tech)
The text was updated successfully, but these errors were encountered: