A question
Nick Name
nick.name@inwind.it
Tue, 23 Jul 2002 15:33:53 +0200
> Go to www.haskell.org, and look at Libraries and Tools. There you
> will see HOpenGL, which is just what you seek.
>
> http://haskell.org/HOpenGL/
I am sorry, I did not specify that I am already using HOpenGL and I am
subscribed to their ML. The matter is that there is no binding to a
truetype font library in hopengl and I am willing to make it.
The problem, as I said, is that every font renderer already available
for opengl is written in C++ and I don't know how to make a binding to a
C++ library. This is more general than opengl, this problem might arise
in the future for something completely unrelated to opengl.
It seems that Haskell's FFI can only bind C. How could I solve this
problem? Any idea is well accepted. Maybe I have to write a C++ -> C
interface for my libary, but I don't know where to start, and besides, I
am learning haskell since I want to avoid C and C++...
Vincenzo Ciancia