У сб, 2010-01-30 у 12:27 +0200, Dmytro O. Redchuk пише:
> Hi!
Hi again!-)

Something to add; please take a look at this snippet:

\version "2.13.13"

{
  c'' -"sizes "
  %
  % works good (overrides font-name):
  c'' -\markup \override #'((font-name . "New Century Schoolbook")) "good"
  %
  % bad -- overrides font-name and increases font-size:
  c'' -\markup \override #'(font-name . "New Century Schoolbook") "bad"
  %
  % bad -- *should* increase font-size... or should not?..
  c'' -\markup \override #'((font-size . 1)) "bad"
  %
  % works good -- increases font-size:
  c'' -\markup \override #'(font-size . 1) "good"
}


So, to override font-name i need to use double parentheses (because
single ones do increase font-size), but it does not work with font-size,
at all --- i need to use single parentheses.

That's why i can not (well... shouldn't this be possible?) override both
font-name and font-size with a single \override.

I feel like somewhere there should be a reason for bugreport (at least,
some things should be documented better?), but can not understand where
and which exactly.

Still hope that somebody will help me :O)

Thanks!


> Well... Have i written something wrong?-)
> 
> I guess here are two options: this *is* the problem, or i have missed
> something heavily, there is no any problem with overriding font-name in
> markups.

-- 
  Dmytro O. Redchuk

<<attachment: override-font-in-markup.png>>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to