private void updateCharBounds(final Font font) {
    m_charWidth =
        font.getStringBounds(m_text, m_fontContext).getWidth()
            / getTextLayout().getCharacterCount();
    m_charHeight = font.getLineMetrics(m_text, m_fontContext).getHeight();
  }
Updates the information that is used to calculate the line bounds.

@param font The font which is taken to calculate the bounds.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/zygraph/realizers/ZyLineContent.java