typemytype / drawbot

http://www.drawbot.com
Other
393 stars 61 forks source link

font() does not support "dotted" font names, but installedFonts() does return them #543

Open justvanrossum opened 10 months ago

justvanrossum commented 10 months ago

So we can't use arbitrary fonts from installedFonts().

typemytype commented 10 months ago

https://github.com/typemytype/drawbot/pull/478#issuecomment-1145597358

typemytype commented 10 months ago

we only need to update the app :)

justvanrossum commented 10 months ago

What do you mean?

If I run DB from master, installedFonts() still returns dotted font names. I don't think it should, as we have no way of using those font names anymore.

typemytype commented 10 months ago

must be the difference in macOS as I dont see them on 13.5.2

justvanrossum commented 10 months ago

Ahh, that could easily be. I could perhaps make a PR that filters all dotted names. Although maybe it's not worth the effort.

typemytype commented 10 months ago

still a good plan! to remove all . font names