* some more refactoring * fixed text ruling classification for vertical text * shrunk min graphics size