From: Arshia C. <ars...@an...> - 2016-09-15 13:32:15
|
Dominique, I see this on iOS. See the attached Screenshot (which is very basic Guido Render from XML). I use the “grParameters.layoutSettings.systemsDistribution = kNeverDistrib” to get 1 system per page. Note that we start to see measure numbers on the fifth page only because the first letter is out-of-page here. In case it helps, here are the grParameters that we pass to AR2GR: grParameters.layoutSettings.spring = 1.1f; grParameters.layoutSettings.force = 750; grParameters.layoutSettings.systemsDistribution = kNeverDistrib; // Important to get 1 system per page grParameters.layoutSettings.systemsDistance = 10000; // Important to get 1 system per page grParameters.layoutSettings.neighborhoodSpacing = 0; grParameters.layoutSettings.optimalPageFill = 1; grParameters.layoutSettings.resizePage2Music = 1; grParameters.pageFormat.width = GuidoInches2Unit(MAX(width, 370) / 72.0); // ≥370px to avoid re-layout when the force-spring algorithm can't cope with high-density areas (making one long page) grParameters.pageFormat.height = 0; grParameters.pageFormat.marginbottom = 0; grParameters.pageFormat.margintop = GuidoInches2Unit((15) / 72.0); grParameters.pageFormat.marginleft = GuidoInches2Unit(0 / 72.0); grParameters.pageFormat.marginright = 0; > On 15 Sep 2016, at 14:59, Dominique Fober <df...@gm...> wrote: > > >> Le 15 sept. 2016 à 14:47, Arshia Cont <ars...@an...> a écrit : >> >> Thank you a million Dominique. >> >> It seems to work fine. >> >> The “numDy” and “numDx” parameters on \bar does not seem to be effective when “autoMeasuresNum” is set to “page”. This said, I realize that on some devices the X-Position is out-of-page so I was trying to test this to see if it works but it doesn’t. > > nothing can escape your vigilance ! you’re right, that’s due to implementation issues (the number is actually displayed by the next bar) > However, since the page break location is not supposed to be known, I dont know why (and how) specific settings should be applied to the number when “autoMeasuresNum” is set to “page”. > If really needed, I can try to restore the bar specific settings. > > Can you give more details for the out-of-page issue? (what kind of device? an example?) > — > Dom > > >> >> I see the same behaviour on a fresh compile of GuidoEditor on Mac. >> >>> On 15 Sep 2016, at 11:51, Dominique Fober <df...@gm...> wrote: >>> >>> Hi Arshia, >>> >>> >>>> Le 6 sept. 2016 à 12:22, Arshia Cont <ars...@an...> a écrit : >>>> >>>> Hello Guidoers, >>>> >>>> Is there a way to force the renderer to generate Measure Numbers at the beginning of rendered “pages” (aka rows)? >>> >>> That’s done. >>> The autoMeasuresNum attribute of \meter supports ‘page’ as value >>> e.g. \meter<"2/4", autoMeasuresNum="page”> >>> There is a sample code in 'gmn-examples/new-tags-v1.63/measuresNumberingPage.gmn’ >>> To get it, you have to update your ‘dev’ branch. >>> — >>> Dom >>> >>> >>>> >>>> Cheers, >>>> >>>> >>>> Arshia >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Guidolib-devel mailing list >>>> Gui...@li... >>>> https://lists.sourceforge.net/lists/listinfo/guidolib-devel >>> >> > |