From: Martin H. <mar...@si...> - 2012-09-04 01:36:47
|
Dear Tom, > I looking at querying a fonts features tables from C#. > > I thought about directly invoking [lib]graphite.(so|dll) from C# but > rejected that idea due to graphite a lack of C api. (I don't want to > maintain a c wrapper lib or use experimental stuff like cxxi) Graphite2 has a C interface. Download graphite2 (the preferred engine now) from http://projects.palaso.org/attachments/download/242/graphite2-1.1.3.tgz there is sample code in the tests/examples directory. You can get a pretty PDF of it all at http://projects.palaso.org/attachments/download/212/manual.pdf It would be great to have a C# wrapper for graphite2. When I did a ctypes layer for python, it took about half a day. GB, Martin |