Lines Matching refs:fontBufferSize
161 const u32 fontBufferSize = nn::font::PackedFont::GetRequireBufferSize( in InitFont() local
163 if (fontBufferSize == 0) in InitFont()
170 void* const fontBuffer = s_AppHeap.Allocate(fontBufferSize, nn::font::GlyphDataAlignment); in InitFont()
174 … NN_WARNING(false, "Failed to allocate memory for the font buffer (%d bytes).", fontBufferSize); in InitFont()
181 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont()
199 pFileReader->GetSize(), readBufferSize, fontBufferSize); in InitFont()
257 const u32 fontBufferSize = nn::font::PackedFont::GetRequireBufferSize( in InitFontStreaming() local
259 if (fontBufferSize == 0) in InitFontStreaming()
266 void* fontBuffer = s_AppHeap.Allocate(fontBufferSize, nn::font::GlyphDataAlignment); in InitFontStreaming()
270 NN_LOG("Failed to allocate memory for the font buffer (%d bytes).", fontBufferSize); in InitFontStreaming()
278 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming()
314 pFileReader->GetSize(), readBufferSize, fontBufferSize); in InitFontStreaming()