sketch-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #4684] incomplete graphic when reading from svg


From: nobody
Subject: [bug #4684] incomplete graphic when reading from svg
Date: Fri, 08 Aug 2003 15:33:17 -0400
User-agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U; ) Gecko/20020610 Debian/1.2.5-1

=================== BUG #4684: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=4684&group_id=1154

Submitted by: bernhard                Project: Sketch                       
Submitted on: Fri 08/08/03 at 21:33
Category:  None                       Severity:  3                          
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         
Release:  0.6.x                       

Summary:  incomplete graphic when reading from svg

Original Submission:  { Transfered from deprecated bug tracker:
[ 618089 ] incomplete graphic when reading from svg
Submitted By:
Stefan Seefeld (stefan)
Date Submitted:
2002-10-03 16:22}

 I read in the attached svg, but the generated graphic
misses two things:

* the 'line' elements don't appear
* the text style 'underline' is ignored

(I'm running sketch 0.6.14 with PyXML 0.8.1)


Date: 2002-11-01 20:36
Sender: bernhard
Logged In: YES 
user_id=2369

> Is there any documentation I could read?

The developer's guide would be a start: 
http://sketch.sourceforge.net/Doc/devguide.html

> The UI suggests you don't have lines, only polygons.

Actually only "polybeziers". Polygons and lines are
only
special cases of that in Sketch.

> Therefor, should a <line/> be converted into
a polygon.

Basically, yes. The implementation will probably be similar
to the polyline method in svgloader.py. Create a path
object, call AppendLine for the start and end points and add
it as a bezier object.

> and saved as a <path/>

That happens automatically as Sketch doesn't have a special
type for lines. It would be possible for svgsaver to figure
out whether a given bezier object could be stored as a line
or a polygon as opposed to a path but I'm not sure it's
worth it.

Date: 2002-10-30 17:22
Sender: stefan
Logged In: YES 
user_id=764

ok, I'd like to look into this. Is there any documentation I
could read ?
The UI suggests you don't have lines, only polygons.
Therefor, should
a <line/> be converted into a polygon (and saved as
a <path/> ?)

any pointers are highly appreciated...

Date: 2002-10-17 20:50
Sender: bernhard
Logged In: YES 
user_id=2369

Assigned to nobody because I probably won't be working on
this any time soon.

Date: 2002-10-17 20:49
Sender: bernhard
Logged In: YES 
user_id=2369

Well, the SVG filters are very incomplete. Implementing the
line element shouldn't be difficult. Text underlining would
have to be simulated by creating a separate line object
since Sketch doesn't support underlined text directly.

I don't have the time to implement this at the moment.
Patches would be welcome.





No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=4684&group_id=1154

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]