Rewrite glyph positioning routine

New version is based on freetype outline decomposition.