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

 
 

bug #31864: Standalone SVG graphic override wrong position

Submitted by:  -Deleted Account- <steele>
Submitted on:  Mon 13 Dec 2010 05:37:29 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Richard Shann <rshann>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 18 Dec 2010 10:15:10 AM UTCsteeleStatusNone=>Fixed
      Assigned toNone=>rshann
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1