elf.mes: compute text-free, text-offset.