您当前的位置: 首页 > 

柳鲲鹏

暂无认证

  • 0浏览

    0关注

    4642博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

字体结构的Baseline/Leading/Ascent/Descent的图示

柳鲲鹏 发布时间:2020-12-31 15:40:08 ,浏览量:0

  示意如下:

ç»å¶çèµ·å§ç¹åºäºBaseline.png

实际工作中,会发现事情没这么简单。除了图示之外:

  • Max Advance

advance 是字符串基线上最左边的点到最右边的点之间的距离。string 的 advance 不一定是它所有字符的 advance 之和。这个不是字符属性吗?

  • Max Ascent

     * Determines the maximum ascent of the Font described by      * this FontMetrics object. No character extends further      * above the font's baseline than this height.

  • Max Descent

     * Determines the maximum descent of the Font described by      * this FontMetrics object. No character extends further      * below the font's baseline than this height.  

关注
打赏
1665724893
查看更多评论
立即登录/注册

微信扫码登录

0.0726s