From: Arshia C. <ars...@an...> - 2016-09-04 10:18:09
|
Thank you Dominique for the response. The StaffFormat is definitely what’s needed for the vertical spacing between staves! A simple question: When you put a number there, say “-5”, what’s the default unit used? And what would you recommend to us as unit so that it’d be ‘relatively’ correct on both Guido Desktop and say iOS+Android rendering? Regarding the horizontal collision / spacing: Though your solution solves the problem locally, the problem remains. You’d ideally want the ‘renderer’ to calculate the space not only based on local lyric text but also the rest of the GR context. My guess is that Guido already does that for everything except for Lyrics. For example, when you have a new Clef definition in the middle of a measure, Guido Renderer adjusts spacing… . My wild guess is that a lot of other renderers work like this for Lyrics… . What do you think? If “not”, then I’d certainly need to “calculate” the \space tag value based on context! Do you have any suggestions on how to “detect” collisions (or when that tag is needed) to start with? Many thanks, Arshia > On 02 Sep 2016, at 15:08, Dominique Fober <fo...@gr...> wrote: > > >> Le 2 sept. 2016 à 13:17, Arshia Cont <ars...@an...> a écrit : >> >> Dominique, >> >> As a sample score, attached is a direct import (from MusicXML) of Schubert’s “Der Wanderer” (voice + piano) to demonstrate the effect. >> >> While rendered (for example in QT GuidoEditor), look at : >> >> - measure 7 (first appearance of Lyrics) where texts horizontally overlap. >> - measure 8: Note how the lyrics “her” collapses with the beaming of the lower voice (vertical spacing) which happens almost all the time. > > You can make space between notes using the \space tag, that’s one way to solve the horizontal collision issue, > regarding vertical collisions with the next staff, you can also make space between staves using the \staffFormat<dy=nnn> tag. > See the revised document attached > >> >> For the Horizontal overlap, you can also check the “bach_lyrics.gmn” in the Guido Sample where “ge-schlach-“ is systematically overlapping ‘ge’ and ’schlock’. > > that’s now corrected and pushed to git (dev branch) > > — > Dom > >> >> Cheers, >> >> Arshia >> > <schubert.gmn> >> >> >> <schubert.gmn> >> >> >> >>> On 02 Sep 2016, at 13:11, Dominique Fober <fo...@gr...> wrote: >>> >>> >>>> Le 2 sept. 2016 à 12:32, Arshia Cont <ars...@an...> a écrit : >>>> >>>> Hello Guido list, >>>> >>>> I have recently achieved in converting MusicXML lyrics to Guido format using the Advanced Guido Proposal / lyrics additions. >>>> >>>> I was wondering if there are ways to control their rendering? I see several problems that do not seem to be related to the dx,dy parameters: >>>> >>>> (1) Sometimes the note/event spacing should be increased to avoid overlapping of lyric text in adjacent events. >>>> (2) Sometimes the lyric text vertically overlaps the stems or stems from the voice below. >>>> >>>> Are there parameters in the renderer that controls these behaviors? >>> >>> could you send some sample gmn code to illustrate? >>> — >>> Dom >>> >>>> >>>> Thanks in advance, >>>> >>>> >>>> Arshia Cont >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Guidolib-devel mailing list >>>> Gui...@li... >>>> https://lists.sourceforge.net/lists/listinfo/guidolib-devel >>> >> > |