Skip to content

Conversation

swhitty
Copy link
Owner

@swhitty swhitty commented Aug 5, 2025

Updates the alignment of SFSymbols and left/right guides to precisely align to the supplied insets.

When --insets auto is used the left/right guides are placed 10pt from the detected paths which is similar to how many official symbols are aligned;

chevron-left arrow circle

When a single --insets are supplied, these insets are now automatically used for all variants;

% swiftdraw image.svg --format sfsymbol --insets 10 20 10 20
Alignment: --insets 10 20 10 20
Alignment: --ultralightInsets 10 20 10 20
Alignment: --blackInsets 10 20 10 20

@swhitty swhitty merged commit dd11d1d into main Aug 5, 2025
18 of 20 checks passed
@swhitty swhitty deleted the align-left-right branch August 5, 2025 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

left and right insets for SFSymbol format are ignored after a certain value.

1 participant