multi-line text entry causes exception in cvs
by inkblotter
$ ./inkscape
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::replace
Emergency save activated!
[snip]
public cvs, up-to-date this evening
fc3, gcc 3.4.2
Steps to repeat:
select the text tool
enter some text and then hit CR to enter a multi-line text object
*bang!*
Happens every time.
Aren't exceptions wonderful?
I suspect things are changing in text handling at the moment, yes?
18 years
Re: [cairo] Pango + cairo
by unknown@example.com
Quoting Keith Packard <keithp@...579...>:
> I'll read through the SVG spec and see whether this is always
> true; it may be that SVG allows applications to request text
> wrapping or embed newlines.
Newlines in SVG text are just whitespace; they don't introduce a new
line:
http://www.w3.org/TR/SVG/text.html#WhiteSpace
However, SVG 1.2 introduces flowing text and graphics, where text
flowing/wrapping is performed according to a specified greedy
algorithm.
http://www.w3.org/TR/SVG12/flow.html
Speaking for Inkscape, we're currently in the progress of
implementing support for this in Inkscape, and we do use pango for
what we can, but I'm fairly certain we ended up having to do line
breaking/wrapping ourselves as the required algorithm is very
different from what Pango wants to do.
(Admittedly, I'm not very personally involved with that part of the
codebase these days so I might be off on some of the details; I'll
CC the list in case anyone more familiar wants to correct me...)
-mental
18 years
Show Page Shadow Option
by Jon Phillips
I can't find the email where I said I would commit my "Show Page Shadow"
option to the "Document Preferences" dialog. Anyhow, I added and tested
it (I'm trying to make good on my backlog of promises). Now anyone may
quickly set whether page shadow is on or off per-document via the
"Document Preferences" dialog.
If you would like to make it permanent, you can change your local
preferences.xml under namedview by adding the attribute:
showpageshadow="false"
However, if you have the default.svg located by default
at /usr/local/share/templates/default.svg on *nix, then you must add the
aforementioned setting in namedview. Took me moment to track down where
that conflict between preferences.xml and default.svg occurred.
I think Jimmac and some others requested this and I don't like the
cheesy "this is a document" page shadow either. Plus, it won't really be
applicable when the documents are for animations, etc.
Jon
PS: Should I have made that atrribute "inkscape:showpageshadow" ??? I
can change quickly if necessary.
--
Jon Phillips
USA PH 510.499.0894
jon@...235...
http://www.rejon.org
Inkscape (http://inkscape.org)
Open Clip Art Library (www.openclipart.org)
CVS Book (http://cvsbook.ucsd.edu)
Scale Journal (http://scale.ucsd.edu)
18 years
Re: [Scribus] Scribus on VNU.NET
by PLinnell
On Thursday 10 March 2005 20:15, Louis Desjardins wrote:
> Hi everybody!
>
> The Frenchspeaking readers on this list will appreciate the
> following link. It brings you to the Dossier published in Feb. 05
> in SVM Mac. There are no screenshots. However, there are many links
> and a Fink how-to.
>
> http://svmmac.vnunet.fr/dossiers/logiciels/utilitaires/20050309001
>
> Happy reading!
>
> Bonne lecture!
>
> Louis
> _______________________________________________
>
For those who are not French speakers or have not read the articles,
the text version was very in depth group of articles about not just
Scribus, but Inkscape and GIMP.
For a major Mac publication to give it such broad coverage is in
itself very significant.. To me, it says to their readers who might
not truly understand OSS benefits, 'these are worthy applications'.
What I found most pleasing was they highlighted the applications
strengths: Inkscape's attention to UI detail and ease of use, along
with prominently Scribus PDF export.
Worth a look, if you can get it.
Cheers,
Peter
18 years
Re: [Inkscape-devel] Inkscape website with WordPress
by Jonathan Leighton
John Taber wrote:
>On Wednesday 16 March 2005 11:30, you wrote:
>
>
>>>I'll format my blogs simply using css (although even css doesn't work very
>>>well in IE for customers stuck with that so maybe I'll just keep my blogs
>>>in simple html).
>>>
>>>
>>I know quite a few people who would shoot you for saying that, although
>>I'd rather they shot Microsoft ; ).
>>
>>
>
>I don't understand why - I wasted a whole weekend redesigning our site using
>W3C standard CSS, testing on Mozilla and Konqueror then found out that it was
>basically unreadable in IE. So I've gone back to lots of tables.
>
>
Sorry, my comment was perhaps a little rude. I didn't mean it like that.
Basically, standards advocates (myself included) say that developing
semantic (ie. not using tables for presentation), standards compliant
sites is very important. There are lots of reasons: it helps search
engines understand your content more, makes your site more accessible
(by separating content and presentation), smaller file sizes, etc.
IE has crappy support for standards, which is where the fight begins.
There are, however, ways to get around the IE difficulties including
suicide, changing career, and forcing everyone to use Firefox. Errr,
sorry, I mean browser specific "hacks" (filters), writing CSS in a more
compatible "style", and some other little things to fix stuff as well
(like for transparent PNGs). There is also a slight hope that one day
Microsoft may decide to improve IE's standards support, but I personally
think Firefox will take over sooner than that.
If you're still interested in going the standards route, you might find
the following links to be of use (particularly the first):
* http://www.mezzoblue.com/archives/2004/04/30/a_roadmap_to/
* http://www.htmldog.com/
* http://www.positioniseverything.net/
This has gone wildly off topic though (sorry everyone!), so if you have
any more questions feel free to email me direct and I'll do my best to
help you out.
Jon
--
Jonathan Leighton aka. Turnip
http://turnipspatch.com/ | http://digital-proof.org/
18 years
NEW: converting node to smooth improved
by bulia byak
Kevin,
I reviewed your page at
http://www.angelfire.com/mi/kevincharles/inkscape/ncwf.htm - thanks
for the detailed description. I just committed a fix to Inkscape CVS.
Now you can achieve your result with a single click. In Node tool,
either Ctrl+click the node, or select it and click the "Make selected
node smooth" button. The node will get handles and its adjacent
segments will become curves, but the neighbouring nodes will remain
cusp.
18 years
NEW: dragging out handles
by bulia byak
Here's another Node tool improvement:
- If a node does not show one or both handles (i.e. they are
retracted), you can drag a handle out by dragging away from the node
with Shift. This is often more convenient than using the "Convert node
to smooth" or "Convert segment to curve" buttons. Unlike before,
dragging a node without modifiers, or with any modifiers but Shift,
will always move the node itself, not its retracted handle.
Retracted handles are now not displayed at all, so for the user
there's no difference between a node on a line segment (without
handles) or a curve node with retracted handles. They behave the same,
and you can Shift+drag out a handle easily from both.
18 years
interface discussions
by Kees Cook
I love that the core features of Inkscape are so far along that the
devel list has dived into long discussions of how to make subtle tweaks
to the interface to make things _even better_. :)
--
Kees Cook @outflux.net
18 years
NEW: small improvement in drawing tools
by bulia byak
Inspired by http://www.angelfire.com/mi/kevincharles/inkscape/aiwf.htm,
I added a small improvement to the drawing tools:
- When you switch to the Pen or Pencil tool, they now start in the
"add" mode: the selected path displays endnodes to attach to, and any
path you draw becomes a single object with the selected path. To start
a new path object, deselect the selected path by pressing Esc.
Previously you had to press "a" to go to the add mode, and I'm sure
many people were not aware of this. You can still turn the add mode
off by pressing "a", but I'm thinking of removing that because I don't
see what advantage that may have. If you don't want to continue the
path, just deselect it. Removing the "non-add" mode altogether will
make the interface simpler. Any comments?
18 years
NEW: Unsetting paint and painting clones
by bulia byak
New in CVS:
* Unsetting paint and painting clones: Both Fill and Stroke tabs
of the Fill&Stroke dialog have a new mode button, "Unset paint" (with
a question mark icon). Pressing this button removes the fill or stroke
property from the style of selected objects, which has the visible
effect of painting them black. The usefulness of this is that clones
of such an object can redefine the unset fill or stroke, which means
you can have clones painted differently from their original and from
each other. Just use the Fill&Stroke dialog on a clone to assign it
any kind of fill or stroke paint (flat color, gradient, etc.).
Moreover, you can unset paint on some of the objects in a group, clone
the group, and paint the clone; only those objects with unset paint
will accept the paint, while others will retain their original paint.
18 years