Andrea Bogazzi
0edd147b0e
Update group.class.js
2015-08-08 14:30:24 +02:00
Andrea Bogazzi
f519bd422a
Update parser.js
2015-07-17 11:36:41 +02:00
Andrea Bogazzi
d9d8c715fd
Update parser.js
2015-07-17 09:48:46 +02:00
Andrea Bogazzi
2315fafde1
Update parser.js
2015-06-26 12:07:03 +02:00
sapics
7e9f17186f
just code simpler
2015-06-11 11:16:41 +09:00
Andrea Bogazzi
3b460d9034
Fix fore removing last ; followed by spaces
2015-06-02 22:31:54 +02:00
Andrea Bogazzi
734cea4780
Update parser.js
2015-05-13 08:27:23 +02:00
Andrea Bogazzi
de4449231d
Add alternative to get elementById
2015-05-13 07:53:13 +02:00
Paul Kaplan
34d490c1a0
Don't import elements declared within <metadata>
...
Some SVG files declare elements inside of the metadata block. Don’t
import them.
2015-04-28 16:12:50 -05:00
sapics
563ec42196
fix space and linebreak
2015-04-20 09:51:32 +09:00
Juriy Zaytsev
506f4dfa47
Merge pull request #2069 from asturur/svgParsing
...
Parse svg with 100% dimension or missing dimensions
2015-04-06 21:24:47 +02:00
Andrea Bogazzi
48e83f4a7a
Update parser.js
2015-04-06 01:36:00 +02:00
Juriy Zaytsev
ebe2f687c1
Merge pull request #2075 from asturur/fixSVGimpor
...
Fix transform matrix of particular complex situation
2015-04-01 01:16:01 +02:00
Andrea Bogazzi
950fdbd89e
Fix transform matrix of particular complex situation
2015-03-31 23:59:18 +02:00
Andrea Bogazzi
568e2ed2c0
attemp to fix jscs crash
2015-03-31 01:46:38 +02:00
kangax
220256c267
Extract regex out of method
2015-02-07 14:14:32 +01:00
Andrea Bogazzi
552c6a833c
Update text.js
2014-10-28 17:12:10 +01:00
Andrea Bogazzi
c25a152bf9
Update parser.js
2014-10-20 00:51:50 +02:00
Andrea Bogazzi
30eaf11872
Update parser.js
2014-10-03 08:36:30 +02:00
Andrea Bogazzi
b2e2767053
Update getCssRule to exit on empty styles tag.
...
Test unit added.
2014-09-27 20:05:39 +02:00
Andrea Bogazzi
f8e6ae9461
Update parser.js
...
Allow first example of stroke svg import to work properly
2014-09-26 09:52:33 +02:00
Juriy Zaytsev
ec1db65110
Merge pull request #1694 from asturur/FillRule-misunderstanding
...
Fill rule misunderstanding
2014-09-23 11:32:06 +02:00
Andrea Bogazzi
af1138a686
Divided FillRule from globalCompositeOperation
2014-09-23 08:53:56 +02:00
kangax
0c41880e97
Add maximumLineLength restriction of 120 chars and space after comma
2014-09-22 20:40:39 +02:00
Andrea Bogazzi
eef80ebaf2
Update parser.js
2014-09-21 01:16:25 +02:00
Andrea Bogazzi
b43492554a
Update parser.js
...
Added comment for future reference
2014-08-28 00:04:07 +02:00
Andrea Bogazzi
4c4ba5bfe0
Update parser.js
...
Added comment for future reference
2014-08-27 23:09:31 +02:00
Andrea Bogazzi
cd7bea6183
Update parser.js
...
Better than getting 0px width and height.
Specs say that when they are missing we should consider 100%, in our case 100% will be 100px because we don't have anything to compare the SVG to before adding the SVG into a canvas.
Otherwise we could take canvas widht and height.
2014-08-27 14:17:33 +02:00
Andrea Bogazzi
2fe200e178
Update parser.js
...
Forgot one variable.
2014-08-16 16:26:08 +02:00
Andrea Bogazzi
74a9ac9d48
Update parser.js
...
Changed variable names, For loop in While loop and typing error.
2014-08-16 16:18:48 +02:00
Andrea Bogazzi
78db91225f
Update parser.js
...
Changed parsegradient to consider href element
2014-08-16 08:15:07 +02:00
Juriy Zaytsev
2cc901f2f7
Merge pull request #1595 from asturur/Load-Gradient-before-reviver
...
Load gradient before reviver
2014-08-13 19:14:48 +02:00
Andrea Bogazzi
e157437476
Update parser.js
...
Delete function from parser. moved in element parser.
2014-08-13 11:40:20 +02:00
Juriy Zaytsev
5e65dd54b2
Merge pull request #1574 from asturur/tag-symbol
...
Tag symbol
2014-08-09 00:31:17 +02:00
Andrea Bogazzi
ea942e3580
Update parser.js
...
This was missing.
Now if width and height get parse correctly.
They were even before but if it was width 18pt ( so 18 * 1.33 pixels ) and wievbox was 18, before no scaling was calculated.
2014-08-07 16:23:09 +02:00
Andrea Bogazzi
8eaba61b17
Update parser.js
...
Add support to catch attributes from symbol nodes.
This is a quick hack.
To have full support symbol should managed as defs and then copied as g, without display attribute.
But before adding tons of code, let's just make it work.
2014-08-07 16:11:31 +02:00
Andrea Bogazzi
5e0dc2211b
Update parser.js
...
Adding scaling of translating that was wiped by some commit
2014-08-05 12:42:58 +02:00
kangax
818ab118b3
JSCS changes; Prepare for JSCS ignore support; down to 51 failures
2014-08-03 16:47:27 +02:00
Andrea Bogazzi
221dc595a5
Update parser.js
2014-07-27 16:58:54 +02:00
Andrea Bogazzi
ce2530661c
Update parser.js
2014-07-26 19:19:22 +02:00
asturur
cf1aa0049a
Update parser.js
...
if we delete it , it won't pass to child graphic elements.
if this fillopacity is specified on a container element, it will change color of container element and then disappear. Color would then go to child element.
But if fill is specified on child element and fillopacity on parent element, this has to stay.
2014-07-21 06:47:40 +02:00
asturur
d78451a6b9
Update parser.js
...
Don't miss A tags, they behave like g tags.
2014-07-20 14:38:22 +02:00
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
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
a52e081c25
Update parser.js
...
I forgot to delete one piece.
2014-07-18 20:07:24 +02:00
asturur
56b4caebbe
Update parser.js
2014-07-18 16:37:55 +02:00
kangax
3df3c396a2
Fix unit tests
2014-07-18 13:11:18 +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