Allow to work correctly the PEN command with TTF fonts. Actually tey have a fixed sixe always to MEDIUM

see the issue #4957 to explain