A hyphen has a specific meaning within a font's PostScript name ID, so having a hyphen elsewhere in the name can be a problem: you'd have to omit it from the PS name, and could end up with that name being displayed in some situations, as 'gluk' noted.
I not tested - DigitaltS-Lime is OpenTypeSVG font, InDesign and Illustrator don't support SVGinOT technology. But with failback one color glyphs should work in both programs. Font with free OFLicense is available here: DigitaltS-fruits
Thank You @Erwin Denissen, I know exactly where is (small) problem in my font. Simply in auto-generated names Fontforge used as subfamily part after hyphen and not as usual weight name "Medium" (when FontName and FamilyName are equal). As far as I know only some programs use SubFamily name. I show it as example for some harm, is someone use hyphen in font name
Comments
But with failback one color glyphs should work in both programs.
Font with free OFLicense is available here: DigitaltS-fruits
As far as I know only some programs use SubFamily name.
I show it as example for some harm, is someone use hyphen in font name