Comments (4)
Just guessing here but try replacing text, iterable, line
with text, line, lines
and see if that works. I'll have a proper look when I get home.
from raphael.export.
Are you using the latest code? I believe this issue was recently fixed in #10.
from raphael.export.
Have not yet tried it.
On Fri, Nov 16, 2012 at 10:46 PM, Elbert Alias [email protected]:
Are you using the latest code? I believe this issue was recently fixed in
#10 #10.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-10470214.
History tells all of us that nobody gets a pass. Your [country's]
perpetual existence is not guaranteed. If you do not believe in yourself,
and believe that you're better than the alternative, and have the
educational skills to come to that empirical judgment, then there is no
reason for you to continue, and often you won't. --Victor Davis Hanson
from raphael.export.
The multi-line text boxes, the serializer generates an array of tags, but forgets to join them before returning. This causes an unwanted comma (,) to appear between each line when rendered.
var serializer = {
'text': function(node) {
// ...
map(textLines, function(text, line) {
tags.push(tag(
// ...
));
});
// MERGE ARRAY BEFORE RETURNING
return tags.join('');
},
from raphael.export.
Related Issues (20)
- gRaphael Chart legends SVG Image( to PDF)Conversion HOT 5
- Uncaught TypeError for a Path tag with a Stroke attribute set to "none" HOT 1
- Raphael Markers for Arrow tips Not exported HOT 5
- Matrix export
- viewBox attribute of svg node not exported
- [enhancement] Add missing bower.json. HOT 1
- text-anchor inside style attribute incorrect
- stroke-dasharray
- Export doesn't work with rx and ry attributes
- Pull Request #39 removes the radius from circles
- "stroke-width" is wrong HOT 1
- Elements loose positioning within canvas
- interaction with freeTransform
- Escaping of text elements HOT 2
- Error when text created without specifying font. AKA "Uncaught TypeError: Cannot read property 'replace' of undefined" HOT 1
- Uncaught TypeError: Cannot read property 'replace' of undefined in the extractStyle function (font-family attribute). If I don't have this attribute in my image then error is thrown. The line 118 must be replaced by : family: typeof node.attrs.font === 'undefined' ? null : node.attrs.font.replace(/^.?"(\w+)".$/, '$1'), HOT 1
- gradient fill for path gets lost
- path arrow get lost
- Error setting class attribute in IE8
- Ampersands have extra space around them HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raphael.export.