linebender / linebender/runebender

Add an option to change the first segment (node)

Open
#174 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
799
Forks
35
PR merge metrics
No merged PRs in 30d

Description

This option could just be something in the paths menu with a label like "make selected node first".

This would be useful for a variety of reasons, but mainly it is important for variable fonts. If two paths have the same point structure, but different first segments, the interpolated in-between shapes will be twisted and unrecognizable.

Maybe I could figure out a PR for this using `src/draw.rs/draw_direction_indicator` as a starting point.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/draw.rs/draw_direction_indicator and inspect how the paths menu and selected nodes are handled. Add a paths-menu option to make the selected node the first segment, and verify that the selected node becomes the path start so matching variable-font paths interpolate without twisting.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
design, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.