asturur
85ba574458
Update parser.js
...
Restored parseUseDirectives functionality, maintaining getElementsByTagName and changing logic of running trought the list.
2014-07-20 13:44:44 +02:00
asturur
481b40549e
Update parser.js
...
I should not multiply the translating values.
Fixes mathformla that was still outside the screen
2014-07-20 13:36:52 +02:00
Juriy Zaytsev
de42013e3f
Merge pull request #1504 from asturur/various-fixes
...
Various SVG rendering fixes
2014-07-19 19:19:37 +02:00
asturur
21591588d5
Update parser.js
...
remove statements (2?) for travis
2014-07-19 10:23:06 +02:00
asturur
12f5c6356e
Update parser.js
2014-07-18 20:42:21 +02:00
asturur
da99193ad6
Update text.class.js
2014-07-18 20:37:32 +02:00
asturur
fbbd763eb0
Update object.class.js
...
Fix border in case of stroke=color but strokewidth=0.
2014-07-18 20:14:51 +02:00
asturur
a52e081c25
Update parser.js
...
I forgot to delete one piece.
2014-07-18 20:07:24 +02:00
asturur
6ceb1123b6
Update util.js
2014-07-18 19:54:50 +02:00
asturur
c346d297ad
Update util.js
...
Any svg return a pathgroup
2014-07-18 19:43:42 +02:00
asturur
ddbcb47d23
Update text.js
...
So tests don't fail.
2014-07-18 18:03:21 +02:00
asturur
20df73c362
Update polyline.class.js
...
never touch too much.
2014-07-18 17:49:29 +02:00
asturur
c58abe2698
Update polygon.class.js
...
Never touch too much.
2014-07-18 17:48:28 +02:00
asturur
56b4caebbe
Update parser.js
2014-07-18 16:37:55 +02:00
asturur
2495d58523
Update line.class.js
2014-07-18 16:28:29 +02:00
asturur
f610ffe9de
Update path.class.js
2014-07-18 16:27:29 +02:00
asturur
4db2d6c5ed
Update text.class.js
2014-07-18 16:24:34 +02:00
asturur
3bf7fbc619
Update text.class.js
2014-07-18 16:24:15 +02:00
asturur
0c36a1a7cc
Update polygon.class.js
2014-07-18 16:13:46 +02:00
asturur
58e318f214
Update polyline.class.js
2014-07-18 16:12:39 +02:00
Juriy Zaytsev
b2377f4195
Merge pull request #1502 from asturur/fix-ordering-of-the-pieces
...
Fix ordering of SVG parsing
2014-07-18 16:10:53 +02:00
asturur
7d3aa1cbef
Update misc.js
...
Always return a pathgroup if we parse a svg.
2014-07-18 16:10:11 +02:00
asturur
cc830286e2
Merge pull request #4 from kangax/master
...
sync to head
2014-07-18 16:03:41 +02:00
asturur
848005c61b
Update elements_parser.js
2014-07-18 15:13:19 +02:00
kangax
17bf29616d
Try fixing char width for travis again
2014-07-18 14:43:54 +02:00
kangax
7de2aedf7c
Try fixing char width for travis again
2014-07-18 14:33:50 +02:00
kangax
3e294fee94
Try fixing char width for travis
2014-07-18 14:27:25 +02:00
kangax
3df3c396a2
Fix unit tests
2014-07-18 13:11:18 +02:00
kangax
c55b06908b
Remove failing node versions from travis
2014-07-18 13:11:06 +02:00
kangax
da0037447b
Change height in itext test
2014-07-18 12:19:51 +02:00
Juriy Zaytsev
9df8198de8
Merge pull request #1500 from Kienz/jsdocFixes
...
JSDoc + JSCS tweaks - Part 2
2014-07-18 11:56:23 +02:00
Stefan Kienzle
6b5f049bb0
JSDoc + JSCS tweaks - Part 2
2014-07-18 11:16:23 +02:00
asturur
347debb677
Update elements_parser.js
...
slicing one by one, doesn't make the array bigger. so the index value is still effective.
If you slice by 0 the array grows up and so index loose meaning.
2014-07-18 07:19:37 +02:00
Juriy Zaytsev
61853dd275
Merge pull request #1495 from Kienz/issue1494
...
Fix initialization of viewportTransform array
2014-07-17 18:54:27 +02:00
Juriy Zaytsev
2c6cafe34f
Merge pull request #1496 from Kienz/jsdocFixes
...
JSDoc + JSCS tweaks - Part 1
2014-07-17 18:52:54 +02:00
Juriy Zaytsev
809ec30a59
Merge pull request #1491 from asturur/basic-unit-support
...
Basic unit support
2014-07-17 18:46:13 +02:00
asturur
795d8a7aa5
Update misc.js
...
some more polishing, for me and for toFixed.
2014-07-17 16:38:09 +02:00
asturur
df7671daa3
Update HEADER.js
...
Moved fabric.DPI to proper file.
2014-07-17 16:28:42 +02:00
asturur
5ca64ad636
Update parser.js
2014-07-17 16:25:59 +02:00
asturur
dfbd1887bf
Update misc.js
...
some more polishing
2014-07-17 16:24:46 +02:00
Stefan Kienzle
b34387d10e
JSDoc + JSCS tweaks - Part 1
2014-07-17 16:18:57 +02:00
Stefan Kienzle
43b029e8a4
Just do slice() for cloning
2014-07-17 14:35:28 +02:00
Stefan Kienzle
306a040fef
Fix initialization of viewportTransform array
...
Add unit tests
JSDoc tweaks
2014-07-17 13:28:55 +02:00
asturur
0bb156f308
Update misc.js
...
it had some problem with len of string 0 and slicing from 0 to -0 , or calculating len of ''.
now is ok, rects went crazy and i didn't notice.
2014-07-17 07:44:03 +02:00
asturur
d34f970ffb
Update misc.js
2014-07-17 00:42:31 +02:00
asturur
81092715c1
Update misc.js
...
added missing space.
2014-07-17 00:38:55 +02:00
asturur
d78996194b
Update misc.js
2014-07-17 00:37:27 +02:00
asturur
bd4c7a0c4d
Update parser.js
2014-07-16 18:56:10 +02:00
asturur
0d4320c018
Update parser.js
...
Use parseUnit to normalize pt,pc,mm,in,cm to px.
2014-07-16 15:34:54 +02:00
asturur
bf4fa0091f
Update misc.js
...
add parseUnit function to normalize mm,cm,in,pt,pc to pixels.
res is setted to 96dpi is not real screen resolution dependant.
2014-07-16 15:29:41 +02:00