Lines Matching refs:fontBufferSize
248 const u32 fontBufferSize = nw::font::ArchiveFont::GetRequireBufferSize( in InitFont() local
250 if (fontBufferSize == 0) in InitFont()
256 void* const fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFont()
266 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont()
283 pFileReader->GetSize(), readBufferSize, fontBufferSize ); in InitFont()
334 const u32 fontBufferSize = nw::font::ArchiveFont::GetRequireBufferSize( in InitFontStreaming() local
336 if (fontBufferSize == 0) in InitFontStreaming()
343 void* fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFontStreaming()
347 NW_WARNING(false, "can't alloc %d bytes", fontBufferSize); in InitFontStreaming()
355 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming()
391 pFileReader->GetSize(), readBufferSize, fontBufferSize ); in InitFontStreaming()