January 23rd 2018
git clone https://github.com/rougier/freetype-gl cd freetype-gl mkdir build cd build cmake ..
But first, I had to install:
cmake doxygen glfw-x11 (version 3.something)
The demos in build/demos work now, and I started hacking on them.
Ripped out the screenshot bits.
To make them fullscreen:
GLFWmonitor* monitor = glfwGetPrimaryMonitor(); const GLFWvidmode* mode = glfwGetVideoMode(monitor); window = glfwCreateWindow( mode->width, mode->height, argv, monitor, NULL );
Replaces a single line like this:
window = glfwCreateWindow( 850, 200, argv, NULL, NULL );
Several absolute pixel dimensions as in the example above also need to be replaced by
Now the window won't react to the Escape key anymore and needs to be killed. Until I find a way in C to exit upon any sort of keyboard or mouse event, this will be part of a shell wrapper script.