@ font-face和letter-spacing [英] @font-face and letter-spacing in webkit

查看:183
本文介绍了@ font-face和letter-spacing的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚发现,当嵌入字体时,letter-spacing并不总是在webkit(和其他浏览器?)中工作。我尝试了两种不同的字体,并得到不同的结果。



联盟哥特式常规将工作



http://www.theleagueofmoveabletype.com/fonts/7-league-gothic



Quicksand Light不会



http://www.fontsquirrel.com/fonts/Quicksand



什么是瘦的?是否有办法强制不符合字体的手?



快速备注:Firefox似乎适用于两种字体。


<我不知道我有答案,但我有一个字间距问题与联赛哥特式从字体松鼠,我不能弄明白,直到我使用不同的设置重新生成网站上的字体面部东西。




I just discovered that letter-spacing doesn't always work in webkit (and perhaps other browsers?) when embedding fonts. I've tried it on two different fonts and received different results.

"League Gothic Regular" will work

http://www.theleagueofmoveabletype.com/fonts/7-league-gothic

"Quicksand Light" will not

http://www.fontsquirrel.com/fonts/Quicksand

What's the skinny? Is there a way to force the hand of non-compliant fonts?

Quick note: Firefox does seem to apply to both fonts.

解决方案

I'm not sure I have the answer but I was having a word-spacing problem with League Gothic from Font Squirrel, I couldn't figure it out until I re-generated the font-face stuff on the site using different settings. I use the Paul Irish's Bulletproof method...

这篇关于@ font-face和letter-spacing的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆