产品设计

    今日:1| 主题:15620
收藏本版 (1)
软件产品、PC、移动、网站、平台的开发、策划等内容。

[其他] Experimenting with Color Fonts

[复制链接]
不明觉厉 发表于 5 天前
21 2

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
Over the past couple of weeks there’s been a lot ofexcitement over color fonts. Adobe describes the technology like this :
  OpenType-SVG is a font format in which an OpenType font has all or just some of its glyphs represented as SVG (scalable vector graphics) artwork. This allows the display of multiple colors and gradients in a single glyph. Because of these features, we also refer to OpenType-SVG fonts as “color fonts”.
   Back in March, Roel Nieskens wrote about his experience building a color font and described the problem that they intend to solve:
  Typography on the web is in single color: characters are either black or red, never black and red.
   So, with a color font, type designers can now embed multiple colors within the glyphs themselves. Then, a web designer can pick one of the options available with the font-variation-settings property in CSS. Below, I’ve made a demo that shows how this works with Trajan Color, a new font made by Adobe and now available with Typekit :
     
Experimenting with Color Fonts-1 (themselves,technology,experience,available,describes)
    See how different parts of those glyphs, ABC, have different hints of color inside?
   What this means is that when it comes to emoji and display type, designers will soon have more interesting choices at hand. For now, browser support isn’t that great but Adobe has provided everyone with a heads up over on the Typekit page designed by Nick Sherman :
  Browser support for color fonts is still evolving, but exists in Firefox and Microsoft Edge (IE), and we expect more browser manufacturers will adopt the format before long. In browsers that lack color font support, they will fall back to regular monochrome glyphs.
  I think that final point, about how color fonts fallback, was best illustrated by Roel Nieskens, which ought to be the perfect, progressively-enhanced thing that could happen in this situation:

Experimenting with Color Fonts-2 (themselves,technology,experience,available,describes)
    Here are some examples of color fonts that you can experiment with today:
  
       
  • Trajan Color   
  • Emoji One   
  • Bungee by David Jonathan Ross   
  • Bixa Color  
  But beware! There are a few problems with this approach. The most troublesome being the size of the font file in my demo above: it’s 593 KB in all. Although, to be honest, in most projects we probably won’t need to load every variation of the color font which will greatly reduce the size of the font file we serve.
  Secondly, it doesn’t appear that in CSS it’s possible to change the various colors inside a color font. So for a while, we’re stuck with whatever styles type designers provide for us in the font files themselves.
  Regardless of those two pain points, though, I’m still very much excited by the emergence of color fonts and what that could mean for typography on the web. I can see old woodtype styles in particular coming back thanks in part to this new font format.
  Make sure to check out the demo below (with Firefox or Edge) to see the color font effect:
   See the Pen Color fonts demo by Robin Rendle ( @robinrendle ) on CodePen .
友荐云推荐




上一篇:Lead by Design, but Stay Classy!
下一篇:从支付宝的改版,看运营中比KPI更重要的8件事
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

况兴建 发表于 5 天前
给不明觉厉一个赞
回复 支持 反对

使用道具 举报

bob12158 发表于 4 天前
看起来好像不错的样子
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表