Export TTF to WOFF and EOT
I'm currently searching for a Php Library to convert fonts between various formats, my immediate need is to convert TTF to both WOFF and EOT.
I wanted to post an issue here to find out:
- Are you interested in having this feature in php-font-lib?
- Any idea in the amount of work required to add this feature?
- How can I help make this feature possible?
Thanks
Hi Paul, glad to see your interest in PHP font lib ! Yes I'm interested in thease features, of course. But I don't know exactly what amout of work it will require. The libe is able to open and parse WOFF fonts, but not write them, but it may not be too hard. However, it currently only parses EOT headers, not the entire content of the fonts as it's a weird format, so it will require a lot more time to get it to work. Did you already look at the source code ? I'm conscious it doesn't follow modern coding rules, but I'd like to change this, so don't be afraid when you see it ;)
Thanks for quick the feedback, I'm glad to hear that you would welcome these features! I will spend some time next week looking at the code. I browsed through it before but didn't go into too much detail. I might come back to you next week with some questions or if I'm lucky some pull requests :)
There are python scripts for woff you can use to port to php. Eot is in Java sfntly, the Java library puttering google fonts
Reply from phone On Nov 1, 2013 12:59 PM, "Travis Paul" [email protected] wrote:
Thanks for quick the feedback, I'm glad to hear that you would welcome these features! I will spend some time next week looking at the code. I browsed through it before but didn't go into too much detail. I might come back to you next week with some questions or if I'm lucky some pull requests :)
— Reply to this email directly or view it on GitHubhttps://github.com/PhenX/php-font-lib/issues/11#issuecomment-27580791 .