Skip to content

offset seems to treat straight & curved segments differently #78

Open
@mbutterick

Description

All curves

Here’s an example of a capital O showing what happens when offset(10) is applied: each on-curve point is shifted in the offset direction by 10 units.

Screen Shot 2020-12-17 at Dec 17  10 39 30 AM

Screen Shot 2020-12-17 at Dec 17  10 39 36 AM

All straights

Here’s an example of the same offset(10) applied to a capital H. In this case, the points are only moving 5 units from their original positions:

Screen Shot 2020-12-17 at Dec 17  10 39 16 AM

Screen Shot 2020-12-17 at Dec 17  10 39 20 AM

Mix of curves and straights

Now here’s a capital D with offset(10). Whereas the O was only made of curves, and the H only made of straights, this combines both. The result is that the straight segments are moving only half the distance, so certain segments that should be parallel are not. For instance, the top and bottom edges are no longer horizontal.

Screen Shot 2020-12-17 at Dec 17  10 37 24 AM

Screen Shot 2020-12-17 at Dec 17  10 37 30 AM

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions