weixin_40000430
weixin_40000430
2021-01-09 09:43

Set Ascent/Descent/LineGap of Roboto to Roboto v1 values

We need to figure out if that is desired for all version of Roboto, or only those shipped with Android or served on the web.

The values are 1900/-500/0.

\cc

该提问来源于开源项目:googlefonts/roboto

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

5条回答

  • weixin_40000430 weixin_40000430 3月前

    Also make sure we are actually setting and testing for these values. Once we are no longer receiving source updates, we should set these values in the toolchain rather than the post-production scripts.

    点赞 评论 复制链接分享
  • weixin_39918084 weixin_39918084 3月前

    Will this cause clipping?

    点赞 评论 复制链接分享
  • weixin_40000430 weixin_40000430 3月前

    Fixed in https://github.com/google/roboto/commit/bad336a540bde77c49740d96b7e309efcfae2c6c

    点赞 评论 复制链接分享
  • weixin_39818691 weixin_39818691 3月前

    Not so fast. Need to give more thought. Can lead to clipping and/or overlap of adjacent lines with tall glyphs.

    点赞 评论 复制链接分享
  • weixin_40000430 weixin_40000430 3月前

    OK, so we'll leave this open to discuss whether we actually want these values. However I believe these are the values currently used for Android and webfonts, and that changing them will break vertical spacing on any platform.

    点赞 评论 复制链接分享