On Sat, Jan 12, 2013 at 08:02:56AM -0500, D. Michael McIntyre wrote:
> > mention it, I saw something promising while grazing the docs the
> > other day.  I'll take another look right quick.
> 
> Ye gods, that took FOREVER to find.  I don't know how many hours I
> crawled around in the docs trying to discover that, but it was more
> than one, and maybe more than two.  Search terms fail.
> 
> Please experiment with the latest stuff I committed and see what you
> think of the staff name running off the page problem.

Much much better!! The very first page looks a bit odd with so much
space, but I'm not too worried about that (better too much space than
truncated text, that's for sure).


> I put in some hard code to give 3.0 cm of room for the long names, and
> 1.5 cm of room for the short ones.  Why 3.0 cm?  Because that was the
> code snippet I found, and because it seems like a reasonable place to
> start!
> 
> It seems like in a perfect world, either:
> 
> a) Rosegarden should do some figuring for you and make a best guess
> what numbers to use here.

Hmm. I'm surprised Lilypond doesn't have a way to automatically allocate
space based on how long the text is.


> b) There should be a manual control for users to fiddle with to salt
> this setting to taste

I think in this case, manual controls are an inferior solution. Things
like the length of a piece of text is exactly the kind of things that
computers should be able to figure out on their own. Being partly
inspired by TeX/LaTeX, I'd have expected that Lilypond should be able to
measure a piece of text (either on its own, or have some command to do
the measurement in a way that can be inserted into the spacing
specifications) and do the layout accordingly.


> Concerning a) I'm thinking if LilyPond with its 900,000-page manual
> and millions of hours perfecting layout magic comes up with such utter
> crap default spacing, who are we to think we could come up with a
> better algorithm?  It's intriguing to try balancing centimeters
> against the LilyPond point size against the length of the string and
> try to make a reasonable guess how much of a pad to leave here, but I
> bet it's hopeless.  Surely they could have done the same thing
> internally, and didn't.

They didn't?! I'm surprised.


[...]
> I'm not dead set against another control if it's really necessary, but
> 3.0 cm of room seems like a damned sensible default place to start.
> Let's just see how it goes and only add another control if it's really
> necessary.

Well, if people are going to be naming their instruments "Yamaha Z5000
Super-Duper-Blahblah-Gesticulatiously-Awesome Violin-Simulating
Contraption 2013 in F Sharp Minor", then I don't think there's much you
can do to help.


> Try some scores with random weird instrument names, and see how long
> it takes you to want more room than this.  Then we'll talk about
> another control.  In any event I agree 100% that the way this has
> always worked out is utter garbage, and fixing this is a most useful
> idea.
[...]

Well, so far I haven't needed any unusually long names yet. :) It looks
wonderful with the score I'm working on.

Anyway, yet another related question: how do I make very long staff
labels wrap to multiple lines? Is this even remotely possible?

Also, I'd like to use a flat symbol (like "Trumpet in B♭" as opposed to
"Trumpet in Bb") -- preferably in the same font that Lilypond uses. I
tried \flat but it just shows up as "\flat". :-/ Clearly, I'm missing
something obvious.


T

-- 
Turning your clock 15 minutes ahead won't cure lateness---you're just making 
time go faster!

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Rosegarden-user mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user

Reply via email to