use std::uniqure_ptr<char[]> to store memory fonts