Re:Show HN: GPU text rendering with vector textures
by panic on Saturday January 02, 2016 @05:22PM
(#10828277)
Font atlasing can and does work during pinch-to-zoom: that was the point I was trying to make. You have to generate a new atlas each time you paint, but drawing multiple "e" glyphs from an atlas is much cheaper than rasterizing each "e" individually.
[ Parent
| on HN ]
Re:Show HN: GPU text rendering with vector textures
by derefr on Saturday January 02, 2016 @05:27PM
(#10828294)
Huh; I almost don't think of that as font-atlasing. If you know you're continuously zooming—and therefore are going to throw out the atlas at the end of the frame—it's almost more like a "glyphs rendered this frame" cache. Which changes things a bit, because you don't need to preload the entirety of the "font"—which might be a unicode font!—into the atlas, but only what you're rendering.
I have no argument against that kind of font-atlasing as a process; it's fairly more stateless, more like a secret cache inside the black box of the glyph-rendering kernel.