First I create hb_font_t from FT_Face: FT_Library ft; FT_Init_FreeType(&ft); FT_Face face; FT_New_Face(ft, path.c_str(), 0, & ...
First I create hb_font_t from FT_Face: FT_Library ft; FT_Init_FreeType(&ft); FT_Face face; FT_New_Face(ft, path.c_str(), 0, & ...
I'm currently working on a makefile for my gamedev project, and have managed to compile everything into a static lib bingus.a - my engine. I am now tr ...
I have to write a multi lingual text a pdf using C++. I have unicode values as well as glyph id values with their advances and displacements for the s ...
I have Direct3D monochrome font textures that I genrated using the FreeType library I can rendering fine but I'm now trying to color them. I first ex ...
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 ...
Problem: Call to undefined function imagettfbbox. Output of function_exists('imagettfbbox') is false. I've seen so many Dockerfiles now, and it seems ...
I've been trying to get TTF to work with my OpenGL project and this is the closest I've come to, here is my code: here is an example of what i mean ...
I'm quite new to font rendering and I'm trying to generate signed distance field with freetype so that it can be used in fragment shader in OpenGL. He ...
I want to use Pygame's freetype module to load a colorful emoji via its unicode. Unfortunately I only get a monochrome image with the outline of the e ...
I was working on a game on my laptop which I now copied to my desktop (on which I installed Monogame 3.7.1). I can run the build from my laptop on my ...
I can't seem to find this anywhere, but is there any way in render a simple text animation using Freetype Fonts. It should be similar to the gif belo ...
I'm building an application that can show text on the screen based on a JSON object that it gets from a TCP Socket. The JSON object contains informati ...
I have create this simple env with conda: The following code in jupyter lab crashes the kernel : I don't face the problem on Linux. The problem ...
I'm trying to build RDKit version 2021_03_5 from source on Ubuntu 18.04 and I'm getting the error below. I don't see anything about this in the offici ...
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 ...
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 have difficulty trying to write a php extension that uses an external shared library: The content of config.m4 is as follows: The code of the ma ...