Search found 82 matches

by mathog
Tue May 15, 2012 9:09 am
Forum: Help with using Inkscape
Topic: Snap multipart letters
Replies: 0
Views: 1015

Snap multipart letters

Unicode has some codes which refer to parts of symbols. The attached example is for a brace which is composed of three characters. Is it possible to snap these 3 pieces into alignment without first converting it to a path? (I have a "donor" document where these were aligned at super high m...
by mathog
Sat May 12, 2012 1:31 am
Forum: Inkscape Resources
Topic: Windows binary with much improved EMF import/export and some
Replies: 1
Views: 2719

Windows binary with much improved EMF import/export and some

Since my EMF related (and other) patches aren't making it into trunk very quickly I have put together a zip file with binaries that incorporate those changes. For anybody who actually needs a more solid EMF import/export than either trunk or the release branches offer. Or for anyone who wants to aci...
by mathog
Mon Apr 23, 2012 4:00 am
Forum: Programming
Topic: extension and param
Replies: 4
Views: 2691

Re: extension and param

I would like to set a value in my gui extension, for example if I have this line in my .inx : <param name="flatness" type="float" min="0.0" max="1000.0" _gui-text="Flatness">10.0</param> I would like to change the default value by a value from my sv...
by mathog
Sat Apr 21, 2012 5:54 am
Forum: Programming
Topic: Where in an SPObject is the bounding box???
Replies: 1
Views: 2937

Re: Where in an SPObject is the bounding box???

Well, I found a way to do this, but I'm not sure how kosher it is. double x1,x2,y1,y2; x1= atof(style->object->getAttribute("x")); y1= atof(style->object->getAttribute("y")); x2=x1 + atof(style->object->getAttribute("width")); y2=y1 + atof(style->object->getAttribute(&q...
by mathog
Tue Apr 17, 2012 9:15 am
Forum: Programming
Topic: Where in an SPObject is the bounding box???
Replies: 1
Views: 2937

Where in an SPObject is the bounding box???

I have EMF import now mostly working when there are images present, at least for a first pass. Trying to get the reciprocal operation going, which means this needs to be implemented: unsigned int PrintEmfWin32::image(Inkscape::Extension::Print * /*module*/, unsigned char *px, unsigned int w, unsigne...
by mathog
Sat Mar 31, 2012 3:50 am
Forum: Help with using Inkscape
Topic: Reassemble a line of text?
Replies: 1
Views: 826

Reassemble a line of text?

Is there a function buried in Inkscape somewhere to reassemble formatted text back into a single line of text? In the attached example, the top line is one line of text. The second line was made by exporting to EMF, and then reimporting. Visually, they look the same, but they are not edited the same...
by mathog
Tue Mar 27, 2012 1:31 am
Forum: Help with using Inkscape
Topic: Snap to path question
Replies: 5
Views: 2007

Re: Snap to path question

brynn wrote:Do you have a development version of Inkscape, perhaps?


Yes, trunk. Here is what it looks like now.
by mathog
Sat Mar 24, 2012 9:33 am
Forum: Programming
Topic: extension and param
Replies: 4
Views: 2691

Re: extension and param

At least on Windows the last value set is maintained between program runs. (Where does Inkscape keep this information?) Anyway, the only time the default value shows up is if the parameter has never been set, once it is set you always see the last set value. So I'm not sure that changing the default...
by mathog
Sat Mar 24, 2012 2:53 am
Forum: Help with using Inkscape
Topic: Snap to path question
Replies: 5
Views: 2007

Re: Snap to path question

OK, that helped, I see how this works now. On the snap toolbar there are four identical icons (blue square to black arrow to green square). Top to bottom, these are: A Enable snapping (%) // what does the (%) indicate???, maybe it should be "(all modes)" B Snap bounding boxes C Snap nodes ...
by mathog
Fri Mar 23, 2012 8:56 am
Forum: Help with using Inkscape
Topic: Snap to path question
Replies: 5
Views: 2007

Snap to path question

How does one snap part of a closed path to part of another? I see some likely looking buttons down the right side of the screen, but they seem not to do anything. I have Inkscape set to snap when within 20 pixels. Use the polygon tool to draw a hexagon. Duplicate it. Convert both hexagons to paths. ...
by mathog
Fri Mar 23, 2012 8:47 am
Forum: Help with using Inkscape
Topic: Windows and Linux speed difference
Replies: 5
Views: 1918

Re: Windows and Linux speed difference

Not sure if this is part of what you are seeing, but inkscape versions built from trunk have for a while been using around 15% of CPU even when they are just sitting there doing nothing.
by mathog
Thu Mar 15, 2012 3:17 am
Forum: Programming
Topic: Cannot build working pango for devlibs
Replies: 0
Views: 3197

Cannot build working pango for devlibs

I have been trying to trace a problem into pango, but so far have not been able to build a version in mingw that actually works completely even before I try to modify it. Will the person who maintains devlibs please chime in and tell me where I am going wrong? This is what I did: 1. download devlibs...
by mathog
Thu Mar 15, 2012 1:43 am
Forum: Programming
Topic: method/function to change style on part of a string?
Replies: 0
Views: 1373

method/function to change style on part of a string?

Which method/function would one use in inkscape to change the style on part of a string (stored
in whatever a text object is called)?

For instance:
start with: abcdef (all in Times Roman 20 point)
change only the "cde" part to Arial 30 point.

Thanks.
by mathog
Fri Feb 03, 2012 2:59 am
Forum: Programming
Topic: Where are subscript/superscript offsets kept?
Replies: 1
Views: 4028

Re: Where are subscript/superscript offsets kept?

Found it:

style->baseline_shift.computed
by mathog
Thu Feb 02, 2012 6:55 am
Forum: Programming
Topic: Where are subscript/superscript offsets kept?
Replies: 1
Views: 4028

Where are subscript/superscript offsets kept?

Trying to work out one of the last bugs in the EMF output: superscripts/subscripts are drawn on the baseline and not the proper position. This occurs in PrintEmfWin32::text. Font size is correct and is passed as style->font_size.computed Vertical kerning (or whatever this offset is called) is stored...
by mathog
Thu Feb 02, 2012 4:40 am
Forum: Help with using Inkscape
Topic: Can't get there from here: converting to other types
Replies: 13
Views: 3571

Re: Can't get there from here: converting to other types

Version 0.48+devel works pretty well now for moving drawings from Inkscape to PPT 2003. See this thread: https://bugs.launchpad.net/inkscape/+bug/919728 To get everything working right, use the last code variant in that thread for emf-win32-print.cpp and pay special attention to the workaround descr...
by mathog
Fri Jan 27, 2012 2:19 am
Forum: Programming
Topic: Setting breakpoings in GDB on windows?
Replies: 0
Views: 1445

Setting breakpoings in GDB on windows?

Inkscape downloaded and built in mingw on Windows XP SP3. It runs. Now I want to trace a problem back into the code. The problem occurs before PrintEmfWin32::text, so I want to set a breakpoint there and use bt. Start it in GDB as shown here http://wiki.inkscape.org/wiki/index.php/Debugging_Inkscape...
by mathog
Sat Jan 21, 2012 8:04 am
Forum: Help with using Inkscape
Topic: How do I cut out a section of an object/path
Replies: 5
Views: 41682

Re: How do I cut out a section of an object/path

Possible, but there seems to be one slight complication... 1. Draw the letter as a path and replicate it as in your drawing. In theory you could start with text and convert that to path, but that was the complication, the 5th operation wouldn't work on the resulting path. 2. Draw a rectangle. Be sur...
by mathog
Fri Jan 20, 2012 9:23 am
Forum: Help with using Inkscape
Topic: Maintaining styles?
Replies: 2
Views: 898

Maintaining styles?

Imagine a drawing with three types of line and two types of text: lines/paths: thin, medium, wide text: small, huge I make the drawing (assume it is quite complex, with all sorts of different lines and paths and text entries), then decide my thin lines are too thin, but medium and wide are OK, and s...
by mathog
Thu Jan 12, 2012 9:47 am
Forum: Help with using Inkscape
Topic: Can't get there from here: converting to other types
Replies: 13
Views: 3571

Re: Can't get there from here: converting to other types

Just tried LO 3.5.0b2 to see if it worked any better. At first I was very excited when I saw the very nice job it did of importing the bounding_line4.svg file. Aside from one stray rectangle it was beautiful. Sadly it was too good to be true - it had not actually imported the SVG as objects into LOD...
by mathog
Wed Jan 11, 2012 3:11 am
Forum: Help with using Inkscape
Topic: Can't get there from here: converting to other types
Replies: 13
Views: 3571

Re: Can't get there from here: converting to other types

Here is the screen dump of what PowerPoint does with this .ppt file. Not shown, LOImpress view - looks just like it did in the PDF.
by mathog
Wed Jan 11, 2012 3:10 am
Forum: Help with using Inkscape
Topic: Can't get there from here: converting to other types
Replies: 13
Views: 3571

Re: Can't get there from here: converting to other types

One more gotcha to add to the list - noninteger font sizes stored in PPT files are handled differently by LOImpress and PowerPoint itself. Here is one way to see this scenario: Move a diagram Inkscape -> PDF -> LOdraw (copy) -> LOImpress (paste) -> save as PPT -> Open in PowerPoint. After saving in ...
by mathog
Sun Jan 08, 2012 3:21 am
Forum: Inkscape Ideas
Topic: Generalized alignment (pairwise)
Replies: 3
Views: 2374

Re: Generalized alignment (pairwise)

There are a few complications that also need to be dealt with. The position of the standard arrows will need to be defined with respect to the borders, if these are present. Towards that end, each of the two panels would also need a radio button with the options: inner, center, outer. If there is no...
by mathog
Sat Jan 07, 2012 7:08 am
Forum: Inkscape Ideas
Topic: Generalized alignment (pairwise)
Replies: 3
Views: 2374

Re: Generalized alignment (pairwise)

Sorry about the typo in the attachment's filename.
by mathog
Sat Jan 07, 2012 6:31 am
Forum: Inkscape Ideas
Topic: Generalized alignment (pairwise)
Replies: 3
Views: 2374

Re: Generalized alignment (pairwise)

I forgot one other thing, a checkbox "define transform". This would let the general alignment interface be used to define a transform, and then that could be used with the existing "transform" tool to move a bunch of other objects. If define transform is checked, nothing happens ...

Go to advanced search