Hitting *Tab* in the Input Field of the Metrics Window Yields a Segmentation Fault
Issue #7
resolved
Step to reproduce:
-
Open any font.
-
Select any character.
-
Open the Metrics window (Ctrl-K).
-
Hit Tab.
Comments (6)
-
-
- changed status to on hold
Workaround in place, but the intended behavior may be different. (We didn’t write it, so don’t know without investigating. :) )
-
I should point out the commit in case you want to just patch rather than sync to the latest code: https://bitbucket.org/sortsmill/sortsmill-fontforge/commits/4186a29752df68472a256f9fc32bd486e769477f
-
I had the same change last night, but didn’t push it pending investigating the wrote of the issue.
-
OK, this fix is all needed actually. The metrics view text field is initialized with
GTextInfo
array (mv_text_init
) that has a separator line and separator lines haveNULL
text. -
- changed status to resolved
- Log in to comment
I stuck in a quick workaround that, I suspect, does not restore the intended behavior, but at least avoids the immediate cause of the segfault.