initial work on word positioning and pdf spacing problem