Statistics for Using Gaussian Window for Printed and Handwritten Text Parameters Extraction