Blueprint sets the line height for the entire page to 18 pixels, so every image and variant of text must be a multiple of 18 pixels.
Blueprint将整个页面的线高度设置为18像素,因此每个图像和文本都必须是18像素的倍数。
The template sets the font for the line of text (and, therefore, the height of the line) using the element's height attribute.
该模板将使用元素的height属性设置文本行的字体(并因此设置行的高度)。
Next, you override the measure() method and measure the height and width of the text using text-line metrics.
接下来,覆盖 measure() 方法并使用文本行单位度量文本的 height 和 width。
应用推荐