Hello -
I'm building a Java Native Interface (JNI) into freetype. I've read
freetype-2.4.10's CUSTOMIZE and I'm poking around in ftsystem.c. What I
would like is a way to build an FT_Stream that allows me to pass in my
own stream handler(s), independent of the C RTL. These stream handlers
will actually use Java's I/O - a pre-opened (i.e., no "filename" readily
available) InputStream.
My questions:
1. Has anyone already done and published something like this? If not,
2. Any suggestions on Best Practice?
It looks like for starters I'll be overriding a bunch of the contents of
ftstdlib.h - things like "fseek" would be replaced by my own,
Java-specific version that operates on the InputStream.
Thanks for any comments and suggestions,
-Del
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel