简体   繁体   English

我需要在@ face-font中使用哪种字体类型,以及如何在所有浏览器(如sIFR)中使字体更平滑?

[英]Which font types i will need in @face-font and how to to make font smoother in all browser like sIFR?

Which font types i will need in @face-font and how to to make font smoother in all browser like sIFR? 我需要在@ face-font中使用哪种字体类型,以及如何在所有浏览器(如sIFR)中使字体更平滑?

IE 6, IE 7, IE 8, Firefox 3+, Google Chrome and Safari (MAC) IE 6,IE 7,IE 8,Firefox 3 +,Google Chrome和Safari(MAC)

Which font type i needed 我需要哪种字体类型

alt text http://shup.com/Shup/325648/11032963642-My-Desktop.png 替代文字http://shup.com/Shup/325648/11032963642-My-Desktop.png

You're using font-squirrel, so you should be uploading an OpenType font. 您使用的是字体松鼠,因此您应该上载OpenType字体。 You can also upload a TTF SVG you can untick as that's for iPhone support. 您还可以上传可取消勾选的TTF SVG,因为这是针对iPhone支持的。 Depending on the kerning, you may want to add: 根据字距调整,您可能需要添加:

filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=UserSubmitted/fonts/hIEfix.png,sizingMethod=crop); 过滤器:progid:DXImageTransform.Microsoft.AlphaImageLoader(src = UserSubmitted / fonts / hIEfix.png,sizingMethod = crop); zoom:1; 变焦:1;

to your CSS declaration for the place you're using the font to enable/disable cleartype rendering, which makes some PC fonts look great and some look awful, depending on the individual font's hinting. 到您使用字体启用/禁用cleartype渲染的位置的CSS声明中,这使某些PC字体看起来很棒,而某些字体看起来很糟糕,具体取决于各个字体的提示。

You should also be using the bulletproof (smiley varient) css invocation for best results and healthy syntax-based approach. 您还应该使用防弹(笑脸变种)css调用以获得最佳结果和基于语法的健康方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM