From: Dominique F. <fo...@gr...> - 2017-01-04 13:58:20
|
> Le 4 janv. 2017 à 14:40, Arshia Cont <ars...@an...> a écrit : > > Thank you Dominique. > > The StaffFormat tag’s Size parameter seems to be able to do the job, if we change the GMN score directly. > > Is there a way to control this parameter for the entire score from the API? I don’t see anything like this in GuidoGrParameters that I can control from the API. no, the API is not designed to affect the guido code itself (in a given way, that’s what it should do to control this parameter) > > I tried creating a “zoom” using the PageFormat of the API but somehow the HEIGHT parameter is not as effective as the WIDTH parameter. Meaning that I can get “pages” with long Height but the rendered staff inside does not occupy much of it. maybe using the optimalPageFill attribute of the GuidoLayoutSettings you can experiment that with the GuidoEditor preferences pane. > > >> On 04 Jan 2017, at 12:31, Dominique Fober <fo...@gr... <mailto:fo...@gr...>> wrote: >> >> >>> Le 4 janv. 2017 à 10:55, Arshia Cont <ars...@an... <mailto:ars...@an...>> a écrit : >>> >>> Hello Guido List, >>> >>> I was wondering if there’s a mean to control the “size” of a rendered score in a page, for readability purposes on a page. This can be achieved somehow if we can control the Height of the system on a page. Playing around with the engine, I don’t seem to be able to control this parameter. Ideally you’d want to control a default staff height where the system would infer from that given a score… . >>> >> >> you should look at the ‘gmn-examples/tags/staff*.gmn’ files >> https://sourceforge.net/projects/guidolib/files/gmn-examples/tags/ <https://sourceforge.net/projects/guidolib/files/gmn-examples/tags/> >> does it answers your question? >> you could also use the page format tag (or API parameter) and / or zoom in the rendered score >> — >> Dom >> >> >>> Is it somehow fixed in the system? Any way to control this from the engine? >>> >>> Thanks in advance, >>> >>> >>> Arshia Cont >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, SlashDot.org <http://slashdot.org/>! http://sdm.link/slashdot <http://sdm.link/slashdot> >>> _______________________________________________ >>> Guidolib-devel mailing list >>> Gui...@li... <mailto:Gui...@li...> >>> https://lists.sourceforge.net/lists/listinfo/guidolib-devel <https://lists.sourceforge.net/lists/listinfo/guidolib-devel> >> > |