public void setFont(final Font font) {
    Preconditions.checkNotNull(font, "Error: Font argument can't be null");

    if (!isEmpty()) {
      m_atext.addAttribute(TextAttribute.FONT, font);

      m_textLayout = new TextLayout(m_atext.getIterator(), m_fontContext);

      updateCharBounds(font);
    }
  }
Changes the font that is used to display the whole line.

<p>Note that the font must be a monospaced font.

@param font The new font to be used.
java/zylib/src/main/java/com/google/security/zynamics/zylib/gui/zygraph/realizers/ZyLineContent.java