Lines Matching refs:font

108 InitShaders(nw::font::RectDrawer* pDrawer)  in InitShaders()
122 nw::font::RectDrawer::GetVertexBufferCommandBufferSize(shaderBinary, fileSize); in InitShaders()
146 const nw::font::ColorBufferInfo colBufInfo = { height, width, PICA_DATA_DEPTH24_STENCIL8_EXT }; in InitDraw()
216 nw::font::ArchiveFont* pFont, in InitFont()
248 const u32 fontBufferSize = nw::font::ArchiveFont::GetRequireBufferSize( in InitFont()
256 void* const fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFont()
299 nw::font::ArchiveFont* pFont, in InitFontStreaming()
305 nw::font::ArchiveFont::ConstructContext context; in InitFontStreaming()
306 nw::font::ArchiveFont::ConstructResult ret = nw::font::ArchiveFont::CONSTRUCT_ERROR; in InitFontStreaming()
313 NN_ASSERT(readBufferSize >= nw::font::ArchiveFont::HEADER_SIZE); in InitFontStreaming()
324 readSize = pFileReader->Read(readBuffer, nw::font::ArchiveFont::HEADER_SIZE); in InitFontStreaming()
325 if (readSize != nw::font::ArchiveFont::HEADER_SIZE) in InitFontStreaming()
328 NN_LOG("Fail to load %d bytes. Maybe too small bcfna.", nw::font::ArchiveFont::HEADER_SIZE); in InitFontStreaming()
334 const u32 fontBufferSize = nw::font::ArchiveFont::GetRequireBufferSize( in InitFontStreaming()
343 void* fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFontStreaming()
361 if (ret == nw::font::ArchiveFont::CONSTRUCT_ERROR) in InitFontStreaming()
382 NW_ASSERT(ret == nw::font::ArchiveFont::CONSTRUCT_FINISH); in InitFontStreaming()
402 CleanupFont(nw::font::ArchiveFont* pFont) in CleanupFont()
423 nw::font::DispStringBuffer*
426 const u32 DrawBufferSize = nw::font::CharWriter::GetDispStringBufferSize(charMax); in AllocDispStringBuffer()
430 return nw::font::CharWriter::InitDispStringBuffer(bufMem, charMax); in AllocDispStringBuffer()
442 nw::font::RectDrawer* pDrawer, in SetupTextCamera()
481 nw::font::RectDrawer* pDrawer, in DrawAscii()
482 nw::font::DispStringBuffer* pDrawStringBuf, in DrawAscii()
483 const nw::font::Font* pFont, in DrawAscii()
489 nw::font::WideTextWriter writer; in DrawAscii()
534 nw::font::ArchiveFont fontNormal; in nnMain()
535 nw::font::ArchiveFont fontStream; in nnMain()
551 nw::font::RectDrawer drawer; in nnMain()
556 nw::font::DispStringBuffer *const pDrawStringBuf = AllocDispStringBuffer(512); in nnMain()