-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for Freetype, JPEG, Giflib, and Pango on Windows #620
Conversation
Almost forgot, two other things needed to be added in order to get the compilation going:
|
Holy font batman! +1000 on this. |
+1K - I couldnt use node-canvas on windows if not for this issue, mentioning the proper prebuilt GTK bundle |
@sepehr-laal would you mind rebasing on latest master? |
It's mentioned on the wiki here. Is this PR still relevant? I didn't think there was anything wrong with the Windows build. |
GIF support maybe? But if it's added, it should probably be optional like JPEG and SVG. |
@LinusU it's been a long time since I looked at this PR. I know of a handful of companies and individuals who have production code off of this PR. If you don't mind, I am going to submit a new PR and close this as is for historical references. |
Sounds good 👍 |
Closing per:
|
I have only tested this with Visual Studio 2013 (Update 5) x64 build. Following versions of dependencies I have used:
Note that I have not used the same Freetype that comes with GTK+, because it was slightly outdated and I would rather building Freetype from scratch since it uses CMake and it takes literally two minutes to build and install it. After installation
include/freetype2
needs to be renamed toinclude/freetype
.Giflib comes with
autoconf
scripts for its build management. Honestly the easiest way to build it, is just including it in the source tree. That's how Leptonica builds it as well.