Automattic / Automattic/node-canvas

v1.3.7 crashes on require because of file name difference in 32bit and 64bit windows gtk+ bundles

Open
#704 9 comments 0 reactions 0 assignees View on GitHub
Build
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

After compiling v1.3.7 on 32bit windows using the suggested package (http://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+/2.24/gtk+-bundle_2.24.10-20120208_win32.zip),
require()-ing the build product results in a `Cannot set property 'parseFont' of undefined` error.

During compilation a warning is displayed, complaining about a missing libfreetype-6.dll. It turns out that the filename of the freetype library in the 32bit gtk+ bundles the library is freetype6.dll, whereas in the 64bit bundles it is called libfreetype-6.dll.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.