Distance Python Scripting
Patrick Attard <[email protected]>
| Newsgroups | gmane.comp.fonts.fontforge.devel |
|---|---|
| Message-ID | <CAMaGrHWQdT5iENZuXCAb0fLbrEDjJVfHYHcjOTT-WsekeK4NzQ@mail.gmail.com> |
Hi, I am currently using the fontforge python scripting in order to generate a glyph and I would like to compare it to the original glyph, for example I generate the letter A for a glyph and then I need a distance function in order to find out how similar the generated A is to the original (for example the generated A is 80% similar to the original one). I saw that there is a function called similar in python scripting that compares 2 contour finds the maximum amount of error needed to diverge. I would like to know exactly how this works since the project I am working on is for my thesis at university. Thanks for your help Patrick ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Fontforge-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fontforge-devel