Tagged articles
3 articles
Page 1 of 1
Bilibili Tech
Bilibili Tech
Jul 2, 2024 · Game Development

Character Rendering with FreeType and OpenGL: Bitmap Font Generation, Texture Creation, and Caching Mechanism

The article explains how to use FreeType to load and render font glyphs into bitmaps, upload those bitmaps as OpenGL textures, render them with texture coordinates, and employ a bitmap cache and fixed‑size texture atlas to efficiently manage and reuse character images in a fast double‑buffered text rendering pipeline.

FreeTypeOpenGLbitmap font
0 likes · 8 min read
Character Rendering with FreeType and OpenGL: Bitmap Font Generation, Texture Creation, and Caching Mechanism
Laravel Tech Community
Laravel Tech Community
Sep 2, 2021 · Backend Development

PHP imageloadfont Function: Loading Custom Bitmap Fonts

The article explains PHP's imageloadfont function, which loads a user‑defined bitmap font and returns its identifier, details its string parameter, return values (font ID or FALSE), notes platform‑specific binary format requirements, and provides a complete code example demonstrating image creation, font loading, text rendering, and output as PNG.

BackendImage ProcessingPHP
0 likes · 2 min read
PHP imageloadfont Function: Loading Custom Bitmap Fonts