fix font size parsing

Change regex so that the size can also appear
as last option, without a space following it.