Webfont Smoothing and Antialiasing in Firefox and Opera

后端 未结 8 610
旧巷少年郎
旧巷少年郎 2020-11-28 18:26

I have custom-made web fonts used on my site. To style my rendering output, I used the following code:

//-webkit-text         


        
8条回答
  •  情深已故
    2020-11-28 18:56

    I found the solution with this link : http://pixelsvsbytes.com/blog/2013/02/nice-web-fonts-for-every-browser/

    Step by step method :

    • send your font to a WebFontGenerator and get the zip
    • find the TTF font on the Zip file
    • then, on linux, do this command (or install by apt-get install ttfautohint):
      ttfautohint --strong-stem-width=g neosansstd-black.ttf neosansstd-black.changed.ttf
    • then, one more, send the new TTF file (neosansstd-black.changed.ttf) on the WebFontGenerator
    • you get a perfect Zip with all your webfonts !

    I hope this will help.

提交回复
热议问题