在Safari连接的信件 [英] Letters Connected in Safari

查看:98
本文介绍了在Safari连接的信件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

字体中的某些字符连接到相邻字符。此行为存在于Safari 7.0.4和Chrome 35.0.x中;它不存在于Firefox中。下面是行为的屏幕截图。 设置为 common-ligatures 。尝试将其设为 no-common-ligatures



EDIT: >

根据提供的jsfiddle,用文本渲染替换 text-rendering:optimizeLegibility 解决了您的问题。



文本呈现上有更详细的说明


Some characters in my font are connecting to adjacent characters. This behavior is present in Safari 7.0.4 and Chrome 35.0.x; it is not present in Firefox. Below is a screenshot of the behavior. And here is a fiddle of it.

This issue is that the 'F's' and the 'i's' are sticking together. I am able to prevent this in Chrome by using -webkit-font-feature-settings: "liga" 0; which disables common ligatures, but this has no effect in Safari (which is what I am trying to 'fix').

解决方案

From your image, it does not look like a letter-spacing issue, as your first idoes not have the dot on top of it. You might have the css property font-variant-ligatures set to common-ligatures. Try setting it to no-common-ligatures.

EDIT:

Based on the provided jsfiddle, replacing text-rendering: optimizeLegibility with text-rendering: optimizeSpeed; solves your problem.

Here's a more detailed explanation on text-rendering.

这篇关于在Safari连接的信件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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