iOS-HIG 视觉设计-排版

Typography

San Francisco (SF) is the system typeface in iOS. The fonts of this typeface are optimized to give your text unmatched legibility, clarity, and consistency. Download the San Francisco family of fontshere.

iOS uses San Francisco as the system font for Latin, Greek and Cyrillic alphabets, and a variety of other typefaces for other scripts.

Emphasize important information.Use font weight, size, and color to highlight the most important information in your app.

强调重要信息。使用粗字体,字号和颜色来高亮app里最重要的信息

If possible, use a single typeface.Mixing several different typefaces can make your app seem fragmented and sloppy. Consider using one typeface and just a few font variants and sizes.

尽可能使用单一字体。混合多种不同字体可能使你的app看起来风格不统一和粗心。考虑使用一种字体和仅仅几种字体变种和大小。

Use built-in text styles whenever possible.The built-in text styles let you express content in ways that are visually distinct, while retaining optimal legibility. These styles are based on the system fonts and allow you to take advantage of key typographic features, such as Dynamic Type, which automatically adjusts tracking and leading for every font size. iOS includes the following text styles:

尽可能使用内置的文本样式。内置的字体样式让你的内容清晰易读。这些样式是基于系统字体的允许你利用关键的排版特性,例如动态类型,自动调整跟踪每种字体大小的行距。iOS包括以下文本样式

Make sure custom fonts are legible.Custom typefaces are supported on iOS, but are often tough to read. Unless your app has a compelling need for a custom font, such as for branding purposes or to create an immersive gaming experience, it’s usually best to stick with the system fonts. If you do use a custom font, make sure it’s easily readable, even at small sizes.

确保定制的字体是易于理解的。定制的字体在iOS是支持的,但是经常难以阅读。除非你的app有一个强制需求定制字体,例如品牌目的来创造一个沉浸式的游戏体验,最好与系统字体一致。如果你使用一个定制字体,确保它是易于阅读的,即时在很小的字号时。

Implement accessibility features for custom fonts.System fonts automatically react to accessibility features like bold text and larger type. Apps using custom fonts should implement the same behavior by checking whether accessibility features are enabled and registering for notifications when they change. SeeAccessibility.

实现定制字体的可访问性。系统字体自动对可访问性特性做出回应,例粗文本和大字号。App使用定制字体应该实现相同的行为,通过检查可访问性是否可行,当他们改变时为通知登记。SeeAccessibility.

Dynamic Type Sizes

冬天字体大小

The San Francisco typeface was designed to be highly legible at both small and large sizes. Dynamic Type provides additional flexibility by letting readers choose their preferred text size.

Prioritize content when responding to text-size changes.Not all content is equally important. When someone chooses a larger size, they want to make the content they care about easier to read; they don’t always want every word on the screen to be larger.


Larger Accessibility Type Sizes

In addition to the standard dynamic type sizes, the system offers a number of even larger type sizes for users with accessibility needs.


Font Usage and Tracking

Use the correct font variant in interface mockups.Use SF Pro Text for text 19 points or smaller, and SF Pro Display for text 20 points or larger. When you use San Francisco for text in standard controls like buttons and labels, iOS automatically applies the most appropriate variant based on the point size and the user’s accessibility settings. Adjust tracking—the spacing between letters—appropriately.

In iOS 10, the San Francisco variants were SF UI Text and SF UI Display. 

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 9,985评论 0 23
  • 二.郎骑竹马来, 绕床弄青梅。 目录:似曾相识燕归来(1) 那是南佳和苏锦泽还很小的时候,他们两家是...
    至柚阅读 640评论 2 7
  • 鸟儿林中叫,我又在朝圣的路上。为什么说“又”我也不懂,只是觉得似是多年以前已然来过。这里的一切都有种异常的熟悉,就...
    会说话的kate猫阅读 281评论 2 0
  • 烦恼即菩提,还是写写吧。 十一第一天,睡觉,收拾家,玩游戏。迷迷糊糊就是不愿意搞旅行的事情。还跟发发开玩笑说,不出...
    艳敏姐阅读 281评论 2 0