rem extractMeasureAndMeasureOffsets