I've made an OpenGL c++ program that can display some text into the screen. I've followed some tutorials and got help from this question. With that, I ...
I've made an OpenGL c++ program that can display some text into the screen. I've followed some tutorials and got help from this question. With that, I ...
I'm trying to add border/outline to text's drawn using freetype. So far I've found freetype's docs about it but they are a bit inconsistent. Some func ...
Renv, can't install devtools Goal: install devtools with renv Expected Results: Installation of devtools. Actual Results: see error below I ...
I'm trying to display some simple text in OpenGL, but all I get is a black screen. I'm using cglm (glm for c), glad, and glfw. Here is my code: I'v ...
In my game engine, I have a texture loading API which wraps low level libraries like OpenGL, DirectX, etc. This API uses Magick++ because I found it t ...
On calling the function imagettfbbox(), I'm getting the error I understand from many sources, including other stackoverflow questions and PHP manua ...
I am Trying to compile 'xplanet' R224 (latest version) on Ubuntu 18.04 MAKE fails to find ft2build.h (freetype2 header) I have 'freetype'(2.8.1) insta ...
Cairo font extents structure has following information How do i calculate baseline from these metrices? ...
I've got a simple program: #include <GL/gl.h> #include <GLFW/glfw3.h> #include <cglm/cglm.h> #include <ft2build.h> #include F ...
I'm facing this issue for months. Every font I load with freetype works fine, I can prove that to myself by writing the glyphs to a BMP file using the ...
I'm trying to render 2D text over a 3D scene. The 2D text is loaded using freetype from a TTF font and uses an orthographic projection to render and t ...
This is a follow-up of this question. I'm interested by different glyphs for the same character, also known as "Unicode Compatibility Characters". Le ...
Using FreeType2, I'm calling FT_Load_Glyph, and getting a return value of 0xFFFFFFFF. According to https://www.freetype.org/freetype2/docs/reference/f ...
This is what I got when I render text using opengl (mine is on the right) The letter "j" is quite close to the letter "k" Here's how I measure the ...
I am working on a project in which i use a library to export geometry as IGES. This library only allows me to export lines. I want to create labels fo ...
I'm trying to compile freetype2 from source and link it in my own project, but I'm running into a CMake error: Presumably, this means that zlib is ...
I'm making a text renderer that uses FreeType 2 and legacy OpenGL. Problem is, FreeType 2's coordinate system has (0, 0) in the top left corner while ...
I am working on a 2D game engine and I want to implement text rendering. I want to use freetype. I have the following code: GLuint va; glGenVertexArr ...
After drawing a glyph with freetype the pen is advanced as follows: My question is, how do you set the initial pen position of the first character, ...
I have written a function that creates an image from a font using Freetype2. My goal is to create an OpenGL-texture with all characters from the font. ...