public void SetDrawData(IDrawer2D drawer, Font font, Font titleFont) { this.font = font; this.titleFont = titleFont; headerHeight = drawer.FontHeight(titleFont, true); entryHeight = drawer.FontHeight(font, true); }