Lukas Schmitt
Lukas Schmitt
Thanks for the clarifications! Yes, both screenshots are from the github diff, sorry about the confusion. But locally I can only reproduce the right version. Using freetype 2.7 and my...
Here is the whole image, which to me looks like the right version from above 
Hm, I tried all enum options for `FT_Library_SetLcdFilter`, but unfortunately they all render like the image above. Setting the values of `self->lcd_weights` at https://github.com/rougier/freetype-gl/blob/master/texture-font.c#L228-L232 to non-sense values at least affects...
Here is a zoomed image of the texture atlas, with unmodified code: (I used CodeXL to inspect the texture)  Which looks like subpixel rendered glyphs to me. So I...
> Could you compare the `display` function in subpixel.c as you did for the picture ? Sorry can you please elaborate, I don't think I understand what you want me...
Ah, just went to the commit section https://github.com/rougier/freetype-gl/commits/master and simply clicked the commit. The rest of the magic is done by github.
Perhaps this commit is relevant https://github.com/rougier/freetype-gl/commit/d252d165df5e3e0442c01db58b00f4b84f7a27b2 If you scroll down to the `text-buffer.c` diff there are some commented lines regarding blending. Edit: the blending was originally changed in https://github.com/rougier/freetype-gl/commit/87cbe450842da434e3aa573ac32f138a85c424da it...
Ok, thank you very much for the explanation! So if I understand correctly, right now the color in the texture atlas is discarded when blending. Which means there is no...
I decided to investigate a bit and here is what I found. This commit https://github.com/rougier/freetype-gl/commit/1dc7fefa3884a3a33b9b6089150e967647ff0434 from 2011 initially added support for subpixel rendering. Here is a diff showing the code...
Yes, I would be interested in that as well. Was just reading the freetype docs here https://www.freetype.org/freetype2/docs/reference/ft2-lcd_filtering.html and have another question about gamma correction. > Each of the 3 alpha...