« Return to Thread: Available font sizes in Lilypond preview

Re: Available font sizes in Lilypond preview

by John Craick :: Rate this Message:

Reply to Author | View in Thread

Sorry, yes. my mistake, I AM now seeing exported Lilypond files that match the Lilypond print pre-views.

I am also getting roughly the outputs I expect when I edit the Lilypond file to change the global-staff-size. As far as I can tell, Lilypond does operate with values other than the Rosegarden pre-set list. The "Basic Options" - Font size setting in the Lilypond export options dialog appears to set the "global-staff-size" parameter in the resulting Lilypond file, rather than a font size as such. Presumably Lilypond itself then chooses text & note font sizes compatible with that staff size. So we can use the staff size as a convenient global scaling parameter.

Having pre-sets, as at present, and also allowing arbitrary staff size entry might be a useful change for Rosegarden in the future. Adjusting score size to fit exactly into a set of pages is a tricky business.

- JohnC

D. Michael McIntyre-3 wrote:
On Thursday 25 June 2009, John Craick wrote:

> It seems that the Lilypond file one obtains from export is NOT the same as
> the one Rosegarden uses to generate the Lilypond print preview.

You must have done something to cause the difference.  Here's a file I
previewed and then exported, using identical settings in the export dialog
both times, and without changing anything in between:

e3cd49b5f3ec7209f9151329fa43da1b6fc1503c  609_lilypondview/rosegardenv5zlPa.ly
e3cd49b5f3ec7209f9151329fa43da1b6fc1503c  exported.ly

Exactly the same.

> In my exported Lilypond files there is a statement "#(set-global-staff-size
> 13)" and changing the magic number in there seems to scale the printout.
> Numbers such as 12, 14,15 seem to work ok so perhaps they could be
> additional options offered by Rosegarden.

I think I'm the one who implemented this originally.  If not, I had a hand in
it along the way, because I have a clear memory of offering all the point
sizes that were valid in LilyPond at that time.

Perhaps this limitation is no longer true.  LilyPond has changed a great deal
since those days.  I'll investigate this as soon as I get a chance.
--
D. Michael McIntyre

------------------------------------------------------------------------------
_______________________________________________
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user

 « Return to Thread: Available font sizes in Lilypond preview