double computeTitleFontSize(double height) { double size = height * 0.13; if (size > 15) { size = 15; } return size; }