refactor glyph drawing interface, implement GrayDrawBuf