bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [2.13.11] Overriding font-name in markups increases font-size [was:]


From: Dmytro O. Redchuk
Subject: Re: [2.13.11] Overriding font-name in markups increases font-size [was:] strange problem with markup in \tempo
Date: Fri, 19 Feb 2010 16:58:36 +0200

У сб, 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
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]