Skip to content

Sketching text fails if glyphs overlap #1152

@jwebb

Description

@jwebb

System information

  • SolveSpace version: e07b082
  • Operating system: Ubuntu 20.04

Expected behavior

Sketching 'Text in TrueType Font' should create a valid contour.

Actual behavior

The contour may be self-intersecting and therefore unusable if some glyphs overlap e.g. due to kerning. For example, the letters TY in DejaVu Sans Bold.

Additional information

While in general CAD software expects that users should resolve self-intersecting paths manually, this seems an exception: other than picking a different font or text this isn't in the user's control. I think the desired behaviour would always be to take the union of overlapping glyphs in this case.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions