hocrTranform.py: moved size computation to init