Use project-relative paths in font builder

What do you want to achieve?

I’d like to be able to reproduce the same exported SquareLine studio code regardless of the project location.

Do you see alternative options and workaround to achieve it?

I do not see any good alternative.

Mention some use cases

  1. When multiple developers work on a project, using absolute paths causes unhelpful merge conflicts.
  2. When working on a fork of a project in a different on the same machine, using the absolute path makes merging more difficult.
  3. When working on SquareLine studio changes, using absolute paths makes it difficult to see what you’ve actually changed, when seemingly unrelated lines are updated to show the new project export / font builder locations.

Hi, thank you for the well-detailed feature request. You’ve highlighted a valid point, and we agree that absolute paths can be problematic for collaborative projects and clean version control.

We have good news! A solution for this is coming in the v1.5.4 release, which is scheduled for next week.

In the new version, the project will store these paths in a local text file. This file will be separate from the main project file, so it won’t be part of your version control. This allows each developer to set up their unique local paths without creating merge conflicts for the rest of the team.

Furthermore, we are also improving the command-line export. This will enable you to export the project without opening the SquareLine Studio UI, which is ideal for integrating into an automated build pipeline

1 Like