It seems that when a glyph is defined too close to the bounding box, the gradient is not computed and the cutoff becomes a hard edge. Fix: apply the inner distance transform over the same region as the outer one. Example: we need to look at the top of the P letter. https://github.com/user-attachments/assets/dfba921f-e301-49f1-bd85-183860a897e3
It seems that when a glyph is defined too close to the bounding box, the gradient is not computed and the cutoff becomes a hard edge.
Fix: apply the inner distance transform over the same region as the outer one.
Example: we need to look at the top of the P letter.
edt-before.prepared.mp4