added support for add font as Uint8Array