This is a follow up question to this one.
CATextLayer
can only draw text with sub-pixel antialiasing when opaque.
The text is displayed over a tinted image. The image is tinted with a color 90%, which means that I could basically just ignore the few color differences between the image and the tint color, and antialias against the tint.
Now obviously the background of the CATextLayer
would still have to be transparent.
Unfortunately there is no way to really control sub-pixel AA, you can just disable it or enable it, the rest happens in the background.
I wonder if there is a way to set the anti-alias against a color that is not actually there.
So my question in a sentence:
Is there a way to sub-pixel antialias against a color that is never drawn?