update TextBuffer
Fail in FontCache test, segment fault!