zoukankan      html  css  js  c++  java
  • 字体结构的Baseline/Leading/Ascent/Descent的图示

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

      示意如下:

     

     

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

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

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

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

    ————————————————
    版权声明:本文为CSDN博主「柳鲲鹏」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/quantum7/article/details/112016260

  • 相关阅读:
    设置与获取Cookie
    事件对象详解
    兼容各浏览器的鼠标滚轮事件
    正则对象与正则表达式的基础学习
    Ajax 学习
    禅道使用流程概述
    Fiddler、Maven介绍
    Locust安装教程与使用
    常用工具软件包下载地址
    SVN合并步骤
  • 原文地址:https://www.cnblogs.com/pengmn/p/15331035.html
Copyright © 2011-2022 走看看