* @public * @param {string} font * @return {number} line height
(font)
| 7952 | * @return {number} line height |
| 7953 | */ |
| 7954 | function getLineHeight(font) { |
| 7955 | // FIXME A rough approach. |
| 7956 | return getWidth('国', font); |
| 7957 | } |
| 7958 | |
| 7959 | /** |
| 7960 | * @public |
no test coverage detected