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

[WIP] Sloppy prototype to load font in Node instead of browser #1

Closed
wants to merge 3 commits into from

Conversation

RoelN
Copy link
Owner

@RoelN RoelN commented Jun 11, 2020

See Font.js issue: Pomax#58

RoelN added 3 commits June 10, 2020 15:17
wf.html dumps font data similar to how Wakamai Fondue would need
them.

The other HTML file is kinda the same, expect I'm trying to dump
it all as YML for Specimen Skeleton.
- Disabled woff/woff2 decompression as it needs the global
  `window` object
- Disabled manpage for same reason
- Did not try to load a font yet
@RoelN
Copy link
Owner Author

RoelN commented Jun 11, 2020

Tried to use node-fetch but this doesn't support file URLS: node-fetch/node-fetch#481

Though maybe a solution lies in padding the font URL with localhost, like suggested here and here?

@jnieberg jnieberg closed this Jun 15, 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

Successfully merging this pull request may close these issues.

2 participants