Project

General

Profile

Bug #2268

SVG - Backward Compatibility

Added by Matthew Brooke over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Immediate
Category:
interface
Target version:
Start date:
11/11/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2268

Description

- Need to add code so old SVG icons are translated to have their origin at the
top-left corner. They are currently cropped when displayed in batik, because
Ptolemy's default origin for svg components is at the center of each actor icon,
whereas the svg/batik standard is to have the origin at top-left.

Another possibility (and one which would temporarily help with the memory usage
problems - see bug #2267) would be to continue using PTII's SVG rendering for
the old "simple" svg icons, and use batik only for the new icons.


Related issues

Blocked by Kepler - Bug #2245: TRACKING: Batik SVG Rendering - remaining tasksIn Progress2005-11-04

History

#1 Updated by Matthew Brooke over 13 years ago

Another back-compat issue:
In EML simple example plot, text at bottom is rendered using SVG, and it does
not wrap, but extends off the screen. (but the text did wrap OK in the
old-style svg handling). Note, however, that if annotation actor is re-created
and text is pasted in again, it does wrap in the new instance.

#2 Updated by Matthew Brooke over 13 years ago

fixed translation issue by reverting to diva renderign for old-style icons, and
using batik only if batik switch is active in config.

Also - issue of attribute in EML simple example plot: haven't seen that in any
other workflows - maybe "Attribute" shouldn't really have been used in this
instance - probably shoudl have been annnotation actor? Anyway, future workflows
will behave correctly

#3 Updated by Redmine Admin almost 6 years ago

Original Bugzilla ID was 2268

Also available in: Atom PDF