Have a look at this change: https://github.com/juj/emscripten-freetype/commit/6b415373577fef697fd2ad6472939eb221d64a13. Does that help?
2014-05-01 14:22 GMT+03:00 Max Savenkov <[email protected]>: > I have compiled FreeType into JavaScript using vs-tool/Visual Studio 2010, > and linked my program with it. But during runtime, in one of the calls > inside library, functions table seems to be messed up - instead of proper > FreeType function, unrelated function from another library gets called. It > seems that this is a linking problem. How do I debug this? > > My current setup is as follows: > 1) Compile FreeType 2.5.3 in Visual Studio 2010, producing libfreetype.bc, > rename it to libfreetype.so to satisfy CMake > 2) Compile Allegro library, which uses FreeType > (liballegro_monolith-debug.so) > 3) Compile my project, spefiying -lallegro_monolith-debug and -lfreetype > > I'm using Emscripten SDK v1.16.0. Most of FreeType works, surprisingly, > but because this single call gone awry, I'm can't specify fonts size - > FreeType renders them all in default size :) > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
