Skip to content

Inner EDT restricted to glyph bounding box causes incorrect SDF values at glyph edges #63

@lhapaipai

Description

@lhapaipai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions