Estimation of the Global and Local Text Skew in the Old Printed Documents