Lurker News

Comments (476) 68 threads

Show all comments

Showing thread 7 of 68

Asooka3 replies#
Hm, if we're doing GPU rendering for speed, I'd suggest uploading vector glyph data to the GPU and rasterising on the GPU in the pixel shader, rather than using FreeType. See here: http://wdobbie.com/post/gpu-text-rendering-with-vector-textu... . The WebGL Demo is really impressive - it lets you zoom in and out on a multi-page PDF at speeds I haven't seen anywhere else.
jwilm#
Thank you for the suggestion! I've had a few comments suggesting similarly. I plan to investigate this as time permits.
dddddannyyyyy#
This is not fast. It uses less texture memory but it is not faster than 2 triangles per character. This is why no one really uses this technique in a production system right now.
pcwalton#
That will lose by a lot overall. Hit rates on the glyph cache are massive.