bugSkencil - Bugs: bug #4684, incomplete graphic when reading...

 
 

bug #4684: incomplete graphic when reading from svg

Submitted by:  Bernhard Reiter <bernhard>
Submitted on:  Fri 08 Aug 2003 07:33:16 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 0.6.x

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 08 Aug 2003 07:33:16 PM UTC, 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.

Bernhard Reiter <bernhard>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #586:  resolve.svg added by bernhard (3kB - application/octet-stream - File Added32314: resolve.svg2002-10-03 16:22stefan)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup