Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when generating a UFO from a font with design size #5415

Open
mf2vec-dev opened this issue May 4, 2024 · 0 comments
Open

Segfault when generating a UFO from a font with design size #5415

mf2vec-dev opened this issue May 4, 2024 · 0 comments

Comments

@mf2vec-dev
Copy link
Contributor

I ran into a segmentation fault when saving a font as UFO. I was able to isolate the problem and it is somehow caused by the design size.

Steps to reproduce

Run the following Python script

import fontforge
f = fontforge.font()
f.design_size = 10
f.generate('test.ufo')

Note: This does not seem to be related to Python. FontForge also crashes when generating the UFO using the GUI.

Actual behaviour

Segmentation fault (core dumped)

Expected behaviour

FontForge should not crash and the UFO should be generated.

FontForge version and OS

FontForge: 20230101 git:986f919997215865571d9d7524b457c5c7119cf6

Ubuntu 22.04.4 LTS

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

No branches or pull requests

1 participant