Ferdinand Ramirez | 8 Feb 22:10
Picon
Favicon

Script to grab outline and create svg files?

I am new to inkscape and would like to know if it is possible to automate the following process to create svg
files (I have manually succeeded in it), and if so, what does the script look like and how should it be executed?

In the manual process, I perform the following steps to create the svg file.

1) Open inkscape
2) Open File->Document Properties and set size to 1000 x 1000
3) Type t
4) Drag a rectangle (this step and previous step are needed to activate the Append button used in Step 7) 
5) Click on Text -> Glyphs
6) Choose Font family, script and range (this is not English, which is why I need this step)
7) Click characters and click append for each character clicked (more than one character is involved, and I
click on the character since I use an English keyboard but the language I am interested is not English)
8) Ctrl-Shift-C to grab the outline of the text
9) Save as svg by clicking File->Save As

I need to automate this process to create a number of svg files, some of which are formed due to the outline of
multiple characters.

Thanks,
-Ferdinand

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Felix E. Klee | 27 Jan 17:15
Picon
Gravatar

Create outline texts only when saving/exporting?

I am currently comparing Illustrator and Inkscape for creation of SVG
documents for the web.

What I like about Illustrator is that it is possible to "Save a Copy..."
of a document and specify that all texts should be converted to outlines
*only for that copy*. So I can have all the texts editable in the
document, and only in the end they will be converted to outlines. Is a
similar workflow possible with Inkscape?

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Alexander (AddisMap | 25 Jan 14:34
Favicon
Gravatar

Are the performance improvements of 0.49 already in trunk?

We are using Inkscape to edit SVGs generated by the Maperitive OpenStreetMap
renderer. Those files are very complex and Inscape is practially unuseable in
the latest stable version.

We found on http://wiki.inkscape.org/wiki/index.php/Release_notes/0.49 that
there are performance improvements upcoming. So we installed the package from
the PPA 1:0.48+devel+10922+30~natty1. Build 10922 is the latest build in the
trunk branch as I see.

But using this version, there were no performance improvements notable.

Are those announce performance improvements already in trunk or do be have to
use some other branch?

Best Regards,
 Alexander  

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
Peter Schürch | 24 Jan 09:47
Picon
Favicon
Gravatar

change color of arrowhead

Hi,

How do I change the colour of an arrow head from black to (e.g.) red? I can change the line colour but it seems not to affect the color of the arrow head.

 

Any ideas are much appreciated !

 

Peter

 

 

 

Inkscape Version 0.48, Windows 7

--

Meier und Partner AG

Freiestrasse 26

8570 Weinfelden

 

Tel +41 71 626 51 15

Fax +41 71 626 51 26

p.schuerch-/XuuH6YnKcHt6vzh2Ns6lw@public.gmane.org

 

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Inkscape-user mailing list
Inkscape-user@...
https://lists.sourceforge.net/lists/listinfo/inkscape-user
Andi McClure | 1 Jan 02:09
Picon

Inkscape deletes whitespace from my xml attributes?

I am using Inkscape 0.48 (on Mac OS X under X11) to create resources for a video game. A feature I am making heavy use of is the ability to add custom attributes to the XML elements within the SVG document-- I have defined a bunch of attributes like polycode:density="" which are meaningless to Inkscape but my game code knows how to interpret, and I add them to the document using Inkscape's "xml editor" window. This works fine but I am having a problem.


Some of my custom attributes contain very long blocks of multiline text, specifically they contain scripts written in Lua. What I find is that Inkscape allows me to put multi-line text into an xml attribute; and I can save as many times as I want, and the multi-line text remains multi-line; but when I *open* a svg document in Inkscape, at that time all multi-line xml attributes in the entire document get collapsed down to single lines, and the next time I save all of my xml attributes are single line. This is extremely inconvenient, it confuses my source control and also it could break my code at some point.

Why is Inkscape doing this, and how do I make it stop?

What I've tried so far: I tried setting an xml:space=preserve attribute on the toplevel svg:svg element in the effected document, but this did not help, it did things to the whitespace * between * elements and broke the display in the XML Editor window, but it did not change Inkscape's behavior wrt whitespace in attributes.

Previously, I had a problem where at the same point in time that Inkscape is now eating my whitespace (document open), it was also stripping my custom polycode: namespace prefixes. I eventually fixed this by adding a xmlns:polycode="http://msm.runhello.com/local/svg/polycode0" attribute to the top of each document containing polycode: attributes. (The URL listed is not a valid URL, it's a 404.) Looking on the internet, I got the impression that if I can get Inkscape to load a "DTD" for my polycode: namespace, I can mark in the DTD that the attributes for which I do NOT want whitespace eaten are "CDATA" and this is supposed to make Inkscape leave those attributes alone. However, the document explaining this also suggested xml parsers like Inkscape should assume any attribute they do not recognize to be CDATA. Will creating a DTD solve my whitespace problems? How do I get Inkscape to load the DTD? And are there any examples of Inkscape-compatible DTDs of this sort out there, since I do not have experience with DTDs?

Thanks all.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Inkscape-user mailing list
Inkscape-user@...
https://lists.sourceforge.net/lists/listinfo/inkscape-user
Ian Caldwell | 30 Dec 05:31
Picon
Gravatar

Inkscape Website (Help needed)

Hello Folks,

It's that time again, I hope everyone is having a happy holidays! I am writing to you all in an urge to complete the new website within the next couple of months. I know we have all been busy with the holidays and what not. Here's a brief update on that status.

The website in regards to the design elements have been completed almost all the bare bones pages have been completed and implemented into the design. The design can be seen at dev.inkscape.org . and of course the code can be viewed at https://code.launchpad.net/~inkscape-webadmin . The backend code has been partially implemented however a lot is still missing such as user accounts login etc and a web based editor. I'd like to take a moment to thank Chris Morgan for porting over all the pages an Hinerangi Courtenay  for the actual design as well as the various others. I can't name everyone in this email but it's definitely been a team effort. 

On that note there's still a lot to be done. Here's what I think our best plan of attack is. I think our best plan of attack is to take the current site and all of it's factors and put it into a solution such as pinax (http://pinaxproject.com/)
Using pinax allows us to make a custom website without having to have all the components of a CMS but it allows us to easily implement various things with little effort such as account management profiles etc and web based editing.
Overall it shouldn't be too much work but we need someone with python/django experience to port our current code/design elements to pinax. From there once it's implemented we will then of course need the various translation teams 
to finish translating the content and to port over the rest of the news. So today I am looking for anyone with django/python experience to contribute to getting this website finished. I need people who are motivated and willing
to push forward and get this done in the least amount of time possible. If you're willing to contribute or have any further questions on the inkscape website please feel free to reply to this email or to me directly via email or irc (msg inc) Also if there is a company
that would like to sponsor development of the website or put in hours. We're willing to list you as a contributor on the website development page. In the past this project has kind of been put a little bit on the back burner due to everyones 
time constraints which is completely understandable but any help we can get would be great.
Thank you,
Ian Caldwell

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Inkscape-user mailing list
Inkscape-user@...
https://lists.sourceforge.net/lists/listinfo/inkscape-user
Jon Cruz | 30 Dec 01:35
Gravatar

Participation at SCALE 10x

Hi guys,

Just putting out a general call for anyone who would like to help us man a booth at SCALE 10x this year.
http://www.socallinuxexpo.org/scale10x

I know Josh and I will be there, but if anyone else can spend a little time in the booth that would be a big help.
The conference has given us a set of free full access passes for that.

If anyone is interested in helping, just drop me an off-list email. I'll get you the instructions (which
basically cover registering up to the point of paying, then sending me the registration number to finish
on my side).

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
Antonio Roberts | 21 Dec 12:19
Gravatar

New Inkscape website?

I remember awhile back a new website was being constructed that looked
very finished. What ever happened to it?

Ant

--

-- 
============================
antonio@...
http://www.hellocatfood.com
============================

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
john Culleton | 21 Dec 04:08

Embedding fonts.

The Wiki describes how to create "SVG Fonts" which are
embeddable. But the description is down at the source code level.
Is there/will there be a high level facility whereby the user can
insert text in a particular font and size and then translate that
text into an embedded font?  I know about outlining a font, but
that technique renders the text unreadable to web crawlers. 

--

-- 
John Culleton
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html

"Create Book Covers with Scribus"
http://www.booklocker.com/books/4055.html

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
Auguste Pop | 19 Dec 09:58
Picon
Gravatar

a question about path

Hi,

I'm not a native speaker of English, I'll try to explain my question clearly.

We can draw an ellipsis in inkscape, and rotate it. When we save it as
svg, it is saved as a path, which uses elliptical arc command inside
the its d attribute. So, i think this save operation is lossless.

We can draw a rectangle in inkscape too. After intersecting an
ellipsis with a rectangle and saving the file as svg, we can find out
that the intersection is also saved as a path. However, the elliptical
arc command is no long inside the d attribute of the path element. The
path is depicted by lines and cubic Bézier curves. Mathematically, an
elliptical arc can not be losslessly transformed into a polynomial
curve. So, this save, or intersection, operation is not lossless.

My question is, how good the approximation would be? Do we have any
control over this, like we do in simplify?

Best regards,

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Inkscape-user mailing list
Inkscape-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-user
cpblpublic+usenet | 16 Dec 17:46
Picon

Re: command line fitCanvasToDrawing (~suv)


> Alternative without needing to press any buttons:
>
> $ inkscape -f matplotlibOutput.pdf -l matplotlibOutput.svg
> $ inkscape -f matplotlibOutput.svg --verb=FitCanvasToDrawing \
>                                   --verb=FileSave \
>                                   --verb=FileQuit
> $ inkscape -f matplotlibOutput.svg -A prettyfigure.pdf
> $ rm matplotlibOutput.svg
>
>
> hth, ~suv

That works! Thanks!!
  The resultant file is also only 30% as big as the original. Hm, maybe that's bad. Has it lost fonts?
The GUI popups are funny, but better than fiddling with other methods, so far.
(It would be nice if I could tell X11 to set my display for this process to a sort of /dev/nul of X...)

Cheers,
Chris

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure

Gmane