Skip to content

Add a preference for saving editor state#5044

Merged
jtanx merged 1 commit intofontforge:masterfrom
khaledhosny:pref-save-editor-state
Jul 3, 2022
Merged

Add a preference for saving editor state#5044
jtanx merged 1 commit intofontforge:masterfrom
khaledhosny:pref-save-editor-state

Conversation

@khaledhosny
Copy link
Copy Markdown
Contributor

Type of change

  • New feature

Comment thread fontforge/sfd.c
if ( sf->display_size!=0 )
if ( sf->display_size!=0 && SaveEditorState )
fprintf( sfd, "DisplaySize: %d\n", sf->display_size );
if ( sf->display_layer!=ly_fore )
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how is this not part of editor state?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC, this affects the exported font. The display layer is the layer that will be used for exported outlines.

@jtanx jtanx merged commit 68f5bb9 into fontforge:master Jul 3, 2022
@khaledhosny khaledhosny deleted the pref-save-editor-state branch July 5, 2022 16:40
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.

2 participants