> Thanks. There is a fundamental problem in your code: You are calling > `FT_Outline_Translate' with non-integer offset values, but you don't > recompute the bbox after this operation to get correct bitmap > dimensions. It depends on your application whether non-integer offset > values are useful or not. > > See attached code that fixes this. If you execute it, you get much > less cases with a zero row or column. An example is angle 29, and the > attached image shows the reason (with thick lines indicating pixel > borders): The covered area is to small to cause a non-zero gray value.
Thanks a lot for your time to look into this. Everything seems to be working fine now. Marco _______________________________________________ Freetype mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype
