> Rendered glyphs passed to OpenGL as a texture and then "properly"
> blended with a background color show dark pixels on the edges.
> [...]

I'm no expert w.r.t. blending, but I think you get these artifacts if
you don't do the blending in linear color space.  In other words, you
have to undo gamma, apply the blending, then apply gamma again.

Look, for example, at this page

  http://ninedegreesbelow.com/photography/linear-gamma-blur-normal-blend.html


    Werner

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to