Added autoresize and fixed letter tails trimming