小程序 显示细线_精心设计:高密度显示器上的细线

小程序 显示细线

Despite the many benefits of Retina displays, there is one clear drawback that must be considered when designing for high-density screens:

尽管Retina显示器具有许多优点,但在设计高密度屏幕时仍必须考虑一个明显的缺点:

必须避免细线(Thin lines must be avoided.)

You might be more familiar with this problem as a font-rendering issue: very thin weights at small sizes tend to render poorly, since they are expressed through a variety of different rendering engines (some with anti-aliasing effects applied, which may cause unexpected distortions).

您可能将这个问题作为字体渲染问题更为熟悉小尺寸的粗细权重字体往往表现不佳,因为它们是通过多种不同的渲染引擎来表达的(有些应用了抗锯齿效果,这可能会导致意外的扭曲)。

But, this can also present in other high-contrast elements, such as element borders.

但是,这也可能出现在其他高对比度元素中,例如元素边界。

Here is an example of a button with a 1px border, which does not render well because it is too thin:

这是一个带有1px边框的按钮的示例,该边框太细,因此无法很好地呈现:

原创设计 (Original Design)

This video presents the original design
该视频介绍了原始设计

设计调整1:移除边框 (Design Tweak 1: Remove Border)

The first approach to solving this issue is to remove the border entirely: it isn’t required. The element does have contrast issues with the background, but only the play icon needs to be recognizable (and it is, with a near 100% contrast ratio).

解决此问题的第一种方法是完全消除边界:这不是必需的。 该元素的背景确实存在对比度问题,但仅需要识别播放图标(对比度约为100%)。

This video removes the border on the button element
该视频删除了按钮元素上的边框

设计调整2:使边框变厚 (Design Tweak 2: Make Border Thicker)

Another approach would be to make the border thicker. This solves most sub-pixel rendering issues. However, there are no other elements with similar border emphasis:

另一种方法是使边界更厚。 这解决了大多数子像素渲染问题。 但是,没有其他元素具有类似的边框重点:

This video adds thickness to the border of the button element
该视频为按钮元素的边框增加了粗细

您更喜欢哪种方法? (Which approach do you prefer?)

Image for post
UX Para Minas Pretas (UX For Black Women), a Brazilian organization focused on promoting equity of Black women in the tech industry through initiatives of action, empowerment, and knowledge sharing. Silence against systemic racism is not an option. Build the design community you believe in. UX Para Minas Pretas (UX For Black Women),这是一个巴西组织,致力于通过采取行动,赋权和知识共享的举措来促进科技行业中的黑人女性平等。 对系统性种族主义保持沉默是不可行的。 建立您相信的设计社区。

翻译自: https://uxdesign.cc/design-with-care-thin-lines-on-high-density-displays-4694f8a95c9f

小程序 显示细线

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值