News for hackers. Stuff that matters.
Re:Accidental layer creation by capisce on Monday March 04, 2013 @09:26AM (#5318304)
Sure, but once the text is cached in a layer that layer might be rotated or scaled or similar, in which case subpixel antialiased text would cause ugly artifacts. Keeping subpixel antialiased text in the layer and re-rendering the layer without subpixel antialiasing when a rotating or scaling animation starts would lead to stutters in the animation.

Looking forward to high DPI displays obsoleting subpixel antialiasing as it leads to a bunch of problems when wanting to create fluidly animating UIs.

Re:Accidental layer creation by ferongr on Monday March 04, 2013 @10:06AM (#5318493)
I don't know what Firefox does on GNU/Linux or OSX but on Windows 7 with DirectWrite, applying transformations to subpixel-AA'ed text is very fast and has excellent fidelity.
Re:Accidental layer creation by aoetr on Monday March 04, 2013 @10:28AM (#5318617)
Yeah, but in the example the text is not transformed, it's merely overlaid on a composited surface.