https://github.com/GameFoundry/bsf/blob/master/Source/Foundation/bsfCore/Text/BsTextData.cpp#L604
A few places in the same file has the same issue. Data is being copied from new buffer to old instead of from old to new. Whenever the buffers need to expand the old contents will be nuked.