Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想自定义渲染字体,但是如何计算其他大小的动态字体的上升?
使用Font.ascent我只收到当前设置大小的上升。
在图像上: 1 步- 不移动; 2 步- 移动字符高度; 3 步- 在上升时转移 - 到字体基线;