johanmattssonm / birdfont

A font editor for creating fonts in TTF, EOT, SVG and BIRDFONT format.
https://birdfont.org
447 stars 32 forks source link

'Filter Characters' Feature Always Removes 'Hyphen-Minus' Symbol (Unless U+2d Is Used) #178

Closed GeorgeWilkins closed 2 weeks ago

GeorgeWilkins commented 2 weeks ago

image

In the above image, if U+2d is omitted, the - (hyphen/minus) symbol will be removed from the font, despite it being included in the retention list. This occurs even if the 'Copy Letter' feature is used to obtain and paste the correct - character into this box (ensuring it's not one of the many variations).

However using the U+2d string instead results in the - being retained as expected.

I would speculate this is a result of a bug in the range parsing not recognising the - character as a literal when delimited by spaces:

You can also use Unicode ranges like a-z

johanmattssonm commented 2 weeks ago

Thank you for the report. I will look at it immediately.

johanmattssonm commented 2 weeks ago

Hi. I think I have a solution. Do you want to test a beta? If yes, please send me an email, address johan.mattsson.m at gmail.com

johanmattssonm commented 2 weeks ago

I also need to know which OS and OS version you are using. Have a nice Sunday.

GeorgeWilkins commented 2 weeks ago

Thank you @johanmattssonm. E-mail sent.

Windows 10.0.19045 Build 19045

GeorgeWilkins commented 2 weeks ago

Appears to be fixed with the provided beta release. 👍

Many thanks for your quick response.

johanmattssonm commented 2 weeks ago

Thanks. I will release the new version later this week.