bugDenemo - Bugs: bug #31864, Standalone SVG graphic override...

 
 

bug #31864: Standalone SVG graphic override wrong position

Submitter:  -Deleted Account- <steele>
Submitted:  Mon 13 Dec 2010 05:37:29 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  rshann
Originator Name:  Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 13 Dec 2010 10:03:10 PM UTC, comment #4: 

hmm, it is the OVERRIDE_GRAPHIC flag that is tweaking the position
(regardless of the origin of the graphic - as I say, the draw does not know how the graphic was obtained)
this is bad - png and svg should not make a difference.
That is, as it stands if you create a png
instead of  the neomensuralxxx.svg it and use it for a chord it will load wrongly (by half the width and height of the graphic - not too bad if it is a small png).

Richard Shann <rshann>
Group administrator
Mon 13 Dec 2010 06:21:33 PM UTC, comment #3: 

The same fix that was applied to chord directives need to be applied here. The chord directive displayed svg graphics wrongly, too but then was tweaked. This had no effect on how chord handles png graphics:

(d-InsertA)
(d-DirectivePut-chord-display "ANote" "")
(d-DirectivePut-chord-graphic "ANote" "RehearsalMark")
(d-DirectivePut-chord-override "ANote"  DENEMO_OVERRIDE_GRAPHIC)
(d-RefreshDisplay)

-Deleted Account- <steele>
Mon 13 Dec 2010 05:54:54 PM UTC, comment #2: 

(define pair (cons "BreathMark" "\\breathe"))
(d-Directive-standalone (car pair))
(d-DirectivePut-standalone-postfix (car pair) (cdr pair))
(d-DirectivePut-standalone-minpixels (car pair) 30)
 (d-DirectivePut-standalone-graphic (car pair) "noteheads_sM1neomensural")
 (d-DirectivePut-standalone-override (car pair) DENEMO_OVERRIDE_GRAPHIC)
(d-RefreshDisplay)

-Deleted Account- <steele>
Mon 13 Dec 2010 05:48:21 PM UTC, comment #1: 

Can you give a script to show what you have in mind?

Richard Shann <rshann>
Group administrator
Mon 13 Dec 2010 05:37:29 PM UTC, original submission:  

A standalone SVG graphic override has the wrong position and is shown very displaced.

-Deleted Account- <steele>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rshann (Posted a comment)
  • -email is unavailable- added by steele (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-18 steele StatusNone Fixed
        Assigned toNone rshann
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code