use pango, some small changes