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

Convert other way around - from WOFF to TTF #13

Open
AndyOGo opened this issue Nov 8, 2017 · 6 comments
Open

Convert other way around - from WOFF to TTF #13

AndyOGo opened this issue Nov 8, 2017 · 6 comments

Comments

@AndyOGo
Copy link

AndyOGo commented Nov 8, 2017

Awesome tool.

Though I would like to do the conversion the other way around.
From WOFF or WOFF2 to TTF.

@benjatron
Copy link

An issue I can see is that you'd have to handle both PostScript and TrueType outlines (both supported by WOFF) and force them to a TrueType standard. Additionally, the conversion library at the heart of fontplop right now seems to go only one way.

All that said, there are definitely tools out there that do this, so there is a way, but it might require being very opinionated on what comes out the other end.

@briangonzalez
Copy link
Collaborator

@benjatron Do you have a link to said tools?

@benjatron
Copy link

benjatron commented May 15, 2018

Sure! I'm not sure about the quality of the tools because my experience is usually going from OTF/TTF to WOFF/2 rather than the other way around.

A couple of online solutions can be found here:
cloudconvert
everythingfonts.com

I also found a couple of libraries, though again I'm not sure of the ultimate quality:
PHP - woff2ttf
Node - woff2sfnt

If these are at all usable, I'm hoping they help. If not, I hope I haven't wasted too much of your time. I'd be surprised if you get the same file going from TTF -> WOFF -> TTF, but it'd be very interesting even just to see what differences there are.

@briangonzalez
Copy link
Collaborator

If you'd be willing to have a go on the command line and are happy with the output, we can add it in.

Mind giving it a shot?

@benjatron
Copy link

Sure! Given the current setup for the app, would it be preferable to test with woff2sfnt (the Node library) first?

@briangonzalez
Copy link
Collaborator

Perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants