如何实现这种字体外观?
我怎样才能实现这样的字体?
iOS 平台图标下方的名称。是 Helvetica 吗?我怎样才能在代码中实现它的软阴影?提前致谢!
How can I acheive a font like this?
It's the name below icons on the iOS platform. Is it Helvetica, and how can I achieve the soft shadow that it has in code? Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
根据要求在此处重新发布我的评论:
这个答案可能会有所帮助。
正如评论中所讨论的,该字体确实是 Helvetica,至少在标准分辨率设备上。我不太确定它是否是 Retina 显示设备上的 Neue Helvetica。
Reposting my comment here as requested:
This answer may help.
As discussed in the comments, that font is indeed Helvetica, at least on standard-resolution devices. I'm not too sure if it's Neue Helvetica on retina display devices.
你可以使用 Quartz 2D 来完成。
看这里:
http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_shadows/dq_shadows.html%23//apple_ref/doc/uid/TP30001066-CH208- TPXREF101
祝你好运
you can do it using Quartz 2D.
look here:
http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_shadows/dq_shadows.html%23//apple_ref/doc/uid/TP30001066-CH208-TPXREF101
good luck
编辑
BoltClock 已经在评论中回答了。按照他的链接。
(我刚刚发现他说了同样的话,但我想引起人们的注意,所以我会留下这个答案——只是不要检查它,或者 BoltClock,将其添加为答案。)
这个对之前类似问题的回答解释了如何做到这一点。事实证明这很简单。
EDIT
BoltClock answered it already in a comment. Follow his link.
(I just discovered he said the same thing, but I want to draw attention to it so I'll leave this answer -- just don't check it, or BoltClock, add it as answer.)
This answer to a previous similar question explains how to do it. Turns out it's pretty simple.