Hi Alexei,
We are using FreeType. Sorry, the intention was not to report any bug. We are looking for suggestions. We are not from graphics background, hence please excuse if we have asked any obvious questions.
As Niyas mentioned, everytime we write new stuff onto the pixmap it would overwrite that particular area. So the whole logic of creating edge effect by writing font at different positions with single pixmap is not helping.
We have 2 options in minds (not so concrete),
- If we can skip drawing of the pixels of non-font area in bounding box. Then we would not be overwriting. But this looks to be a bit tedious to implement.
- Create one more buffer which will have only edge drawing. And render both (one with actual font and a new with edge) in the order of edge buffer first and then font buffer.
As creating edge might be an usual need, we thought of seeking inputs from you & team.
Thanks
Sagar