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

feat: convert fonts from TTF to WOFF and WOFF2 #13

Open
Prestapro opened this issue Jan 20, 2017 · 15 comments
Open

feat: convert fonts from TTF to WOFF and WOFF2 #13

Prestapro opened this issue Jan 20, 2017 · 15 comments
Assignees
Milestone

Comments

@Prestapro
Copy link

Hello,

I'm trying to use the plugin to convert not only SVG icons.
My task is to convert fonts from TTF to WOFF and WOFF2
I have not found a way to do this.

Best regards,
Alexandr

@alexander-akait
Copy link
Member

@Prestapro thanks for feedback, accepted.

@misterbrownlee
Copy link

I would +1 this and will even take a look once I get some 🕐

@romanran
Copy link

There is ttf2woff in the code already, why not just skip the svg part if there is already ttf?

@alexander-akait
Copy link
Member

@romanran don't have time now for this PR, your can be champion this 😄

@romanran
Copy link

Yeah I forked it and did it, but the ttf2woff throws some strange error.

@alexander-akait
Copy link
Member

@romanran your can send PR and we together see that is happens 👍

@sergeymorkovkin
Copy link

Two years have passed. Do you accept PR's for this? How long will it take to merge? Implementing this functionality will change how webfont-webpack-plugin & webfont interact, since in TTF case it will return multiple file of the same type.

@alexander-akait
Copy link
Member

@sergeymorkovkin yes, PR welcome, just don't have time on this 😞 Anyway feel free to send a PR and when we can add support for webfont-webpack-plugin

@sergeymorkovkin
Copy link

sergeymorkovkin commented May 27, 2019

Alright, there you go: webfont-webpack-plugin and webfont. I'd highly appreciate if you could merge and update npmjs asap. All major work is accomplished, kindly read PR description. Thank you.

@sergeymorkovkin
Copy link

One thing I forgot to fix is webfont-webpack-plugin/package.json:53. Apologize for this.

@alexander-akait
Copy link
Member

Thanks for PR, i will see this in near future

@sergeymorkovkin
Copy link

Hello! Is there any chance to get it merged in the near future? Thanks.

@sergeymorkovkin
Copy link

@evilebottnawi Is anything needed to get it published?

@sergeymorkovkin
Copy link

sergeymorkovkin commented Jul 21, 2019

A couple of thoughts on what's remaining:

  1. Update CLI wrapper to support TTF-TO-WEBFONT
  2. Fix code to match all linters
  3. Auto-detect SVG/TTF mode without using a new property

Anything else?

@jimmyandrade
Copy link
Collaborator

Two years have passed. Do you accept PR's for this?

@sergeymorkovkin We apologize for the delay in checking your PR #185.

Hello! Is there any chance to get it merged in the near future? Thanks.

@sergeymorkovkin because of some changes we made to the main branch, there were some conflicts between your PR and our code. Could you help us to verify these issues so that we can integrate? Thank you.

@jimmyandrade jimmyandrade added this to the next milestone Sep 29, 2020
@jimmyandrade jimmyandrade changed the title Сonvert fonts from TTF to WOFF and WOFF2 feat: convert fonts from TTF to WOFF and WOFF2 Sep 29, 2020
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

6 participants