use options.staticFontSize to compute layout metrics for slope equation