nilostolte on Nostr: EXAMPLE TO DISPLAY TTF GLYPHS USING GLSL I finished not long time ago and uploaded to ...
EXAMPLE TO DISPLAY TTF GLYPHS USING GLSL
I finished not long time ago and uploaded to my GitHub (links after the image) the C/GLSL source code "ttf1.c", an animation of an 'a' letter in a format similar to the one used in TrueType fonts, except that it contains only quadratic Bézier. curves.
Link for ttf1.c:
https://github.com/nilostolte/OpenGL-GLSL/blob/main/glfw-3.3.8/examples/shaders/ttf1.c
Link for the ttf.ninja build:
https://github.com/nilostolte/OpenGL-GLSL/tree/main/glfw-3.3.8
Link for instructions how to use GLSL, and what to install:
https://github.com/nilostolte/OpenGL-GLSL/tree/main?tab=readme-ov-file#opengl-and-glsl-shaders
I finished not long time ago and uploaded to my GitHub (links after the image) the C/GLSL source code "ttf1.c", an animation of an 'a' letter in a format similar to the one used in TrueType fonts, except that it contains only quadratic Bézier. curves.
Link for ttf1.c:
https://github.com/nilostolte/OpenGL-GLSL/blob/main/glfw-3.3.8/examples/shaders/ttf1.c
Link for the ttf.ninja build:
https://github.com/nilostolte/OpenGL-GLSL/tree/main/glfw-3.3.8
Link for instructions how to use GLSL, and what to install:
https://github.com/nilostolte/OpenGL-GLSL/tree/main?tab=readme-ov-file#opengl-and-glsl-shaders