为什么 Mac 上的 Flash 无法正确显示字体?
我们有标准的flex 3项目,我们将所有内容保留为默认,风格没有任何变化,我们部署了我们的项目,并注意到在Mac上字符间距非常糟糕,整体外观和感觉不像视窗。
这是区别,左边是Windows,右边是Mac。Adobe默认选择的flex字体是“Verdana”,左边看起来很漂亮,右边看起来是宽度和字符间距,一切都不正确。我认为 verdana 字体可能无法在 Mac 上使用,但在这种情况下,我认为 adobe 应该提供高质量的默认标准字体。
替代文本 http://akashkava.com/images/MacFlashFontProblem.png
我们可以做什么解决这个问题吗?在 Flex 项目样式中嵌入 Verdana 字体会有帮助吗?
We have standard flex 3 project, and We have left everything as default, no change in style at all, and we deployed our project and noticed that on Mac the character spacing is very bad and overall look and feel is not as clear as that of windows.
Here is the difference, left one is Windows and right one is Mac.. the default flex font chosen by Adobe is "Verdana", the left one looks pretty, but right one looks as its width and character spacing, everything is incorrect. I assume verdana font may not be available on Mac, but in that case I supposed adobe should have given default standard font of good quality.
alt text http://akashkava.com/images/MacFlashFontProblem.png
What can we do to resolve this? Will embedding Verdana font in flex project style will help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Mac OS X 和 Windows 有不同的文本渲染引擎。我听说 Mac OS X 尝试保留字符形状,而 Windows 尝试与小尺寸的屏幕像素对齐。
这将导致字体呈现方式之间的差异,并且确实没有办法解决它。
就我个人而言,我认为右边的例子看起来更好;左边的看起来是方形的,就像它以太小的尺寸渲染一样,而右边的看起来更像字体应该看起来的样子。
Mac OS X and Windows have different text rendering engines. I've heard it said that Mac OS X tries to preserve the character shape while Windows tries to align with screen pixels at small sizes.
That's going to result in differences between how fonts are rendered, and there's really no way to work around it.
Personally, I think the example on the right looks much nicer; the one on the left looks square, like it's being rendered at too small a size, while the one on the right looks more like the font is supposed to look.
这不是一个解决方案,但 Verdana 可在每个 OS X 机器上使用。对于 10.5,请参阅此 Apple 文档;我在 10.6 上找不到,但有一个。
It's not a solution, but Verdana is available on every OS X box. See this Apple doc for 10.5; I couldn't find one on 10.6 but there is one.