Niklas von Hertzen
2841f19647
List refactoring
2012-11-25 23:36:28 +02:00
Niklas von Hertzen
c6baabc99c
Text rendering refactoring
2012-11-25 23:26:18 +02:00
Niklas von Hertzen
44023015b6
Refactoring
2012-11-25 23:05:30 +02:00
Niklas von Hertzen
bca6458301
Clean up
2012-11-25 22:39:09 +02:00
Niklas von Hertzen
7c0b893564
Added support for "data-html2canvas-ignore" attribute
2012-11-25 22:25:08 +02:00
Niklas von Hertzen
084bf4b039
Switched build process to use grunt
2012-11-25 20:59:31 +02:00
Vladimir Panteleev
1b81f7d517
Accept 0px as an acceptable letter-spacing value for per-word rendering
...
This improves performance in Opera.
2012-10-20 22:18:46 +03:00
Vladimir Panteleev
3164e5bae0
Don't create zero-width text node after each render
...
This fixes rendering the same node getting slower each time
when using Opera.
2012-10-20 22:15:58 +03:00
Niklas von Hertzen
730ebcfcaa
border-radius parsing
2012-06-26 17:18:34 +03:00
Niklas von Hertzen
cce6e3537c
corrected border drawing with multiple colors
...
initial code for border-radius implemented
2012-06-26 15:15:46 +03:00
Niklas von Hertzen
d6cb548a5c
updated to version 0.34
2012-06-26 01:35:11 +03:00
Niklas von Hertzen
343b86705f
removed last jQuery dependencies
...
should be fully jQuery free now!
2012-06-26 01:17:03 +03:00
Benjamin Lupton
1059314258
Added a sublime-project file for Sublime Text 2 that contains the detected linting and standards set. Allows Sublime Text 2 to automatically follow the standards and have live linting enabled. Trimmed useless whitespace.
2012-05-29 11:26:26 +10:00
Niklas von Hertzen
c08ac5d0c4
add svg powered rendering
2012-03-06 17:11:10 +02:00
Niklas von Hertzen
67d3e0d0f5
first commit for SVG powered rendering
2012-03-06 14:32:45 +02:00
Niklas von Hertzen
946bdef0d4
Merge pull request #67 from cobexer/some-fixes
...
Some fixes
2012-03-03 06:42:46 -08:00
Niklas von Hertzen
b60fc931b5
moved backgroundPosition to utils
2012-03-03 16:39:52 +02:00
Obexer Christoph
38fe643b25
clear the canvas with the documentElement background color
...
see tests/background.html
2012-03-03 15:07:14 +01:00
Niklas von Hertzen
0b065ad5d8
bug fixes
2012-03-02 21:53:20 +02:00
Niklas von Hertzen
cad3be2c66
bug fixes, and further simplification of API
2012-03-02 19:07:15 +02:00
Niklas von Hertzen
c7d526c9ea
simplified API and cleaned up code
2012-03-02 18:05:03 +02:00
Niklas von Hertzen
bf994849e0
bug fixes for body background & firefox font
2012-03-02 14:43:25 +02:00
Niklas von Hertzen
e01d97df19
fixed an instance of html2canvas.log to h2clog
2012-02-28 12:39:38 +02:00
Obexer Christoph
c24223ca85
renamed html2canvas.log to h2clog (minifies better)
...
renamed the html2canvas.canvasContext to h2cRenderContext,
it's used by both backends and thus not canvas specific
2012-02-26 22:57:22 +01:00
Niklas von Hertzen
b65357c55d
added flashcanvas integration and some legacy IE bug fixes
2012-02-26 00:19:16 +02:00
Obexer Christoph
36ff1ec7aa
fix warnings reported by the closure compiler
2012-02-18 23:01:18 +01:00
Niklas von Hertzen
501f559783
Merge pull request #31 from cobexer/add-render-canvas-support
...
add support to render a canvas element to the screenshot
2011-11-26 10:18:37 -08:00
Niklas von Hertzen
f75456cc88
Merge pull request #33 from cobexer/fix-jpeg-export
...
clear canvas before rendering to allow jpeg export
2011-11-26 10:17:35 -08:00
Niklas von Hertzen
961f6caf21
Merge pull request #34 from cobexer/rewrite-image-handling
...
rewrote image handling from using an array to an object
2011-11-26 10:15:40 -08:00
Obexer Christoph
73763c8114
rewrote image handling from using an array to an object
...
The image loading done in Preload.js used an array to store
image src and image object as 2 consecutive entries in that
array. Using the src as an index in a hash allows direct
instead of a linear search and also allows to store more data.
* improved cleanup of images loaded with the proxy
* this also adds a timeout for the image loading phase, after that
running image requests are aborted and the rendering is started
2011-11-26 18:09:25 +01:00
Obexer Christoph
1f7314747e
instead of scrolling the view on every Bounds() call, do it only once
2011-11-26 18:06:56 +01:00
Obexer Christoph
66d328d1e3
make sure the image used for the detection of the underline is positioned correctly
2011-11-26 18:06:55 +01:00
Obexer Christoph
2ec7fda1f1
replaced external image http://html2canvas.hertzen.com/images/8.jpg with data URI
2011-11-26 18:06:55 +01:00
Obexer Christoph
044b612d6e
clear canvas before rendering to allow jpeg export
...
* normally when exporting jpeg any pixel that was transparent
becomes black, make them white
* check for window.console.log before use (avoid crash)
* html2canvas.Parse: fix missing call to html2canvas.Util.Extend for the
given options
2011-11-26 17:38:57 +01:00
Obexer Christoph
91ac445fdf
add support to render a canvas element to the screenshot
2011-11-26 17:34:19 +01:00
Obexer Christoph
16c74d1f8c
Improve build system: read version from version.txt, fix build without compiler
...
* read the version from version.txt
* set default target to build
* added dependencies to all targets
* allow the build to run without a local copy of the closure compiler
* updated license header with @VERSION@ which will be replaced during the build
* added the license header to all files (that one will be stripped out by the closure compiler)
2011-11-16 00:36:06 +01:00
Niklas von Hertzen
ff635115dc
Enabled list-style-type's for position inside
2011-09-13 17:25:51 +03:00
Niklas von Hertzen
6fe3218b50
Added some support for CSS gradients (by cthackers)
2011-09-12 23:50:43 +03:00
Niklas von Hertzen
f0112ff3ab
merged from dev
2011-09-12 21:39:28 +03:00