Reading a ruler