added standard text metrics +

Preparations for future features + fixed required "secure random" class
and improved inflation in PDFFilter.