Arthur Reutenauer wrote:
-O2 -c ../../../../src/texk/web2c/luatexdir/font/ttfotf.c -o font/ttfotf.o ../../../../src/texk/web2c/luatexdir/font/ttfotf.c:3141: error: conflicting types for “getsid” /usr/include/unistd.h:510: error: previous declaration of “getsid” was here
Ah, ok. It seems OSX has a getsid function thanks to XOOPEN. Luckily, that was easy to fix, because luatex's function is something completely different. I would be happy if you could try again, I committed a one-line fix. Btw, this code implements font.read_ttf("filename") and font.read_otf("filename") if it succeeds, the return value is a table containing a lua representation of the font, with a bit of preprocessing applied. I am not totally happy with the interface, and that is why I have not created a snapshot yet. Best, Taco