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

Feature request: Generate font.css #10

Closed
pedrosousa13 opened this issue Nov 3, 2017 · 3 comments
Closed

Feature request: Generate font.css #10

pedrosousa13 opened this issue Nov 3, 2017 · 3 comments

Comments

@pedrosousa13
Copy link

pedrosousa13 commented Nov 3, 2017

Amazing tool, I do find that I need the font.css that fontprep generated with the list of all the filetypes and weights.

Like so:

  font-family: 'Neutraface 2 Text Bold';
  src: url('Neutra2Text-Bold.eot'); /* IE9 Compat Modes */
  src: url('Neutra2Text-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('Neutra2Text-Bold.woff') format('woff'), /* Modern Browsers */
       url('Neutra2Text-Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('Neutra2Text-Bold.svg#e5bebe314e929cdf22abdf4bbfb62856') format('svg'); /* Legacy iOS */

  font-style:   normal;
  font-weight:  700;
} 

Would be great to have this feature :)

@wilfreddenton
Copy link

Yes, FontPrep had this and was the sole reason why I used it.

@kevinmu17
Copy link

"It is the simpler, faster, free successor to FontPrep" It's not faster if we need to code the css our selfs :)

@briangonzalez
Copy link
Collaborator

Fixed via #20

cc/ @matthewgonzalez

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

4 participants