matthewgonzalez / fontplop

Fast, Simple, & Free Open Source Webfont Converter
http://www.fontplop.com
784 stars 23 forks source link

Feature request: Generate font.css #10

Closed pedrosousa13 closed 6 years ago

pedrosousa13 commented 6 years ago

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 commented 6 years ago

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

kevinmu17 commented 6 years ago

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

briangonzalez commented 6 years ago

Fixed via #20

cc/ @matthewgonzalez