Project

General

Profile

Actions

Bug #2268

closed

SVG - Backward Compatibility

Added by Matthew Brooke about 19 years ago. Updated almost 19 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 ProgressMatthew Brooke11/04/2005

Actions
Actions #1

Updated by Matthew Brooke about 19 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.

Actions #2

Updated by Matthew Brooke almost 19 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

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2268

Actions

Also available in: Atom PDF