Webfont Smoothing and Antialiasing in Firefox and Opera

后端 未结 8 581
旧巷少年郎
旧巷少年郎 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:54

    Adding

    font-weight: normal;
    

    To your @font-face fonts will fix the bold appearance in Firefox.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题