docs: public void registerFontMetrics(String name, Font font, float lineHeight) {
      HtmlFontMetrics metrics = getFontMetrics(font); // get emwidth via default measurement
      fontMetrics.put(font, new HtmlFontMetrics(font, lineHeight, metrics.emwidth));
    }