TJ Holowaychuk
f240262a81
Release 1.0.0
12 years ago
TJ Holowaychuk
241fb9a506
Merge branch 'add/font-integration'
12 years ago
TJ Holowaychuk
ef897a2a2c
ocd
12 years ago
TJ Holowaychuk
dce07d5023
refactor .useFont()
12 years ago
TJ Holowaychuk
bee4f655e6
comment out font parsing tests for now
12 years ago
TJ Holowaychuk
16ae06f1dc
refactor has_cairo_freetype.sh
12 years ago
TJ Holowaychuk
96461fc636
fix test server
12 years ago
TJ Holowaychuk
930d5be4d0
fix test server
12 years ago
Julian Viereck
a713911c3e
Revert build scripts and disable pango for now
12 years ago
Julian Viereck
41e6987a86
Fix whitespace and disable pango for now
12 years ago
Julian Viereck
beba8274d6
Tune intstall and make node-gyp expect to have build in sub directory
12 years ago
Julian Viereck
df8c1816bc
New version of cairo have .xz file format
12 years ago
Julian Viereck
40593dfc72
Update install file to fetch freetype library as well
12 years ago
Julian Viereck
1d3a99d85a
Add support to load fonts from file.
12 years ago
Nathan Rajlich
8a5349e525
explicitly cast the after work callback function to "uv_after_work_cb"
for node >= v0.9.4 compat
12 years ago
TJ Holowaychuk
900d61f738
Merge pull request #238 from c-spencer/patch-1
Call cairo_surface_finish in ~Canvas when pdf
12 years ago
Chris Spencer
cfc6dfd714
Call cairo_surface_finish in ~Canvas when pdf
Fixes an issue where when a pdf surface isn't buffered and then is
garbage collected, the toBuffer can be called and attempt to realloc
the destroyed closure.
12 years ago
TJ Holowaychuk
0d39dae66c
add Canvas#{png,jpeg}Stream() alias of create* legacy methods
create* is annoying
12 years ago
TJ Holowaychuk
64af9b201d
remove old 0.4.x binding support. Closes #197
12 years ago
Aleksander Adamowski
b9003c6824
Make has_lib.sh work properly on Debian 64 bit
12 years ago
TJ Holowaychuk
aabbb9b8f7
Merge branch 'master' of github.com:LearnBoost/node-canvas
13 years ago
TJ Holowaychuk
549c4bf9fc
add contrib list
13 years ago
John Hurliman
7897bff740
Changed the node-gyp build to use pkg-config
This fixes the build on OSX when installing the dependencies through macports, which puts things in /opt/local
13 years ago
TJ Holowaychuk
6527af58c6
Merge pull request #209 from markcochran/master
Adding support for grayscale JPEG images.
13 years ago
Mark Cochran
4a3caeb25f
Adding support for grayscale JPEG.
13 years ago
TJ Holowaychuk
9639672fab
Release 0.13.1
13 years ago
TJ Holowaychuk
c5468473d3
Merge pull request #203 from lpinca/master
Build improvements
13 years ago
Luigi Pinca
25234db5df
Fix cases where GIF_LIB_VERSION is not defined
Versions up to 4.1.6 of GIFLIB defined a GIF_LIB_VERSION macro that was string-valued.
Versions after 4.1.6 define integer-valued GIFLIB_MAJOR, GIFLIB_MINOR, and GIFLIB_RELEASE macros for the three components of the version.
Check for GIF_LIB_VERSION, otherwise use the new macros.
13 years ago
Luigi Pinca
19bcf35a94
Fix auto-detection of optional libraries for OS X
The OS X version of grep doesn't support -P (--perl-regexp). It was breaking the building.
Solved by slightly changing the RegExp and using -E (--extended-regexp).
13 years ago
Nathan Rajlich
718e868682
init: fix cases where JPEG_LIB_VERSION_MAJOR/MINOR are not defined
First fall back to trying to use JPEG_LIB_VERSION.
Then if that's not available, then set them both to 0.
Fixes #202 .
13 years ago
Luigi Pinca
a7615ceb91
Fixed an issue with jpeg-turbo library
There were compilation errors if the version of the library was less than 1.2.0.
This was happening because the macros JPEG_LIB_VERSION_MAJOR and JPEG_LIB_VERSION_MINOR were not being defined, since the compile-time macro LIBJPEG_TURBO_VERSION was introduced in version 1.2.0.
The problem was fixed by giving those two macros a definition if it was missing.
13 years ago
Luigi Pinca
f8c6a901d1
Improved auto-detection of optional libraries in Red Hat based systems
In RH based systems, libraries are distributed in two separate packages for each version. One contains the precompiled code, while the second one contains the related development files such as headers, etc. (marked as "-devel").
The previous auto-detection was marking the libraries as installed even if their "-devel" part was missing, generating compilation errors.
This should mark libraries as installed only if their "-devel" part is installed.
13 years ago
TJ Holowaychuk
8f2db792ff
Merge pull request #201 from AllYearbooks/master
Fix pango not setting style/weight properly for 'normal'
13 years ago
c-spencer
474635d526
Fix Context2d::SetFont for pango when setting normal weight/style
13 years ago
TJ Holowaychuk
9ad38b1e86
Release 0.13.0
13 years ago
TJ Holowaychuk
7348752713
Merge pull request #196 from AllYearbooks/master
Pango support and build improvements.
13 years ago
c-spencer
3388ab5b33
Properly dispose of pango related allocations in ~Context2d()
13 years ago
c-spencer
1b0d0cc06f
Tweak examples/text.js to show use of extended measureText attributes, and add examples/pango-glyphs.js
13 years ago
c-spencer
efadaead73
Add measureText implementation for pango
13 years ago
c-spencer
8e9defcb79
Tidy up build files and util script.
13 years ago
c-spencer
50ab677036
Use strndup for duplicating fontFamily strings.
13 years ago
c-spencer
309a1eb7e0
Make binding.gyp friendlier to windows. [ #195 ]
13 years ago
c-spencer
9c13c23f11
Trial auto-detection of libraries
13 years ago
TJ Holowaychuk
f5985af0f1
fix closure_destroy() with cast for AdjustAmountOfExternalAllocatedMemory()
13 years ago
TJ Holowaychuk
1cae3db2d0
Revert "Fixes #182"
This reverts commit 02041571ce
.
13 years ago
c-spencer
35d491a284
Add pango drawing support, and silence some warnings.
13 years ago
c-spencer
d3f3a94835
Add simple support for using jpeg-turbo library.
13 years ago
c-spencer
2140de6b24
Add pango build support and improve configure library detection.
13 years ago
TJ Holowaychuk
1d0e86a8c7
Merge pull request #194 from lpinca/master
Fixes an issue related to a wrong variable type (#182 )
13 years ago
Luigi Pinca
02041571ce
Fixes #182
13 years ago