specs: polyRAF, margins for measure_text