Skip to content

Missing font names when downloading without processing #15

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

Open
gingerbeardman opened this issue May 31, 2021 · 3 comments
Open

Missing font names when downloading without processing #15

gingerbeardman opened this issue May 31, 2021 · 3 comments

Comments

@gingerbeardman
Copy link

Reproduce

  1. https://fonts.adobe.com/fonts/bebas-neue-pro
  2. check "download without processing"
  3. I get missing name for all fonts:

Screen shot 2021-05-31 at 21 59 21

Workaround

  • uncheck "download without processing" to enable processing and correct the names
@gingerbeardman
Copy link
Author

Ah, I see in the readme:

Added the option to download fonts without processing. This is useful if your download hangs and/or crashes your browser. Downloading the fonts without processing will always work, but you will have to edit the fonts manually to change their names and ensure compatibility with your OS.

@CodeZombie
Copy link
Owner

Downloading without processing should only be used in cases where Typerip crashes while trying to download a font file. This happens because the font contains some data that Opentype.js isn't expecting, causing the browser to hang resulting in a crash.

Opentype.js is used to rebuild the font file, because the raw files from the adobe server are basically unusable outside of browsers as they're missing the font name and important pieces of data that windows and macos can't seem to parse.

I'm still looking into why this crash is occurring, but mostly focusing on trying to find a replacement for Opentype as I've already had to make modifications to the library to get it to work at all, and I'm losing faith in its ability to be useful for rebuilding fonts in this project.

I should add an explanation in the main tool that tells you what "Download without processing" does though, as users shouldn't need to look at the readme to figure out what its used for.

If you download the fonts with processing do they install correctly? I grabbed a few font files just now and they seem to work fine on windows.

@gingerbeardman
Copy link
Author

Yes, with processing they install fine

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