From: Travis G. <tra...@gm...> - 2010-10-20 20:21:17
|
A colleague of mine has been playing with the ICU text layout engine. We work in a Smalltalk system and would like to take our text layout/ rendering "to the next level." We've done some playing with Pango. ICU seemed like a good alternative, especially given its much more permissive license. We discovered that while most of the ICU software components seem to be C libraries, the text layout engine is written in C++. We can bind and use C dll's pretty easily straight from Smalltalk, but not C++. I'm just wondering if others have had to deal with this situation, and how they did, or how people recommend dealing with it. Our current thought, is to write a simple C dll that just exposes all of the C++ objects as opaque pointers, and C functions which correspond with the various member functions. TIA -- Travis Griggs Objologist "Every institution finally perishes by an excess of its own first principle." - Lord Acton |