The demo data was generated by a C++ program that reads a PDF and spits out three files: a vector atlas, a vertex buffer and a JSON file with data for each page (dimensions, offset into vertex buffer). It could be extended to render all elements of a PDF (images, vector art). The vertex buffer contains only world position, color and the texture coordinates of the curve data. The grid texture coordinates and size are stored in the first two slots of the curve data and looked up in the vertex s...