随着 Roboto 字体系列的更新,其指标是否会发生变化?

As the Roboto font family is updated, do its metrics ever change?

正如所指出的 here and here,Google 定期更新 Roboto 字体以回应批评、添加字形、提高易读性等。指标是否锁定?这些更改是否会导致文本以不同的方式排列?

换句话说,与 ICS (API 14) 兼容的 Android 应用程序是否可以使用 Roboto 作为其文本并相信标签将占用相同数量的 space 在 ICS 和 Lollipop 上?当然,前提是屏幕具有相同的属性(dpi、尺寸、分辨率等)

系统字体实际上是窗口系统 public API 的一部分。如果指标发生变化,则编码为期望一段文本适合特定框的应用程序可能会崩溃。

Roboto 字体是 Android 的基础,就像 Arial 和 Verdana 是 Windows 一样。 As Microsoft puts it,

Note that some values associated with UI fonts and default fonts used in Microsoft apps are locked. UI fonts are used to render UI elements like captions, dialogs, and menus. Very few changes are made to these fonts, given their high visibility and frequent use.

一位 roboto 开发者回复了 issue I filed on the roboto github,说

I understand that metric compatibility would be helpful, but we don't have any plans for metric compatibility. The fonts are still far from stable, and it's too early to consider metric stability.