sdfgsdhdshd wrote:
With 2.11.36 on WinXP: the "abcdef" text below is not in italic in the pdf,
but the "ghij" is in italic. Is there something wrong in my code? Bug or
feature?
%%%%%%%%%%%%%%%%%%%%%%%%%%
\include "italiano.ly"
\version "2.11.36"
{ do'^\markup { \column { \override #'(font-name . "Times New Roman")
\italic "abcdef" \italic \bold \smaller "ghij"} } re' mi' fa' sol' }
%%%%%%%%%%%%%%%%%%%%%%%%%%
First of all, this has nothing to do with the font error in 2.11.36.
Also, I hope you realize that your code only changes the font name
of the "abcdef" but not on "ghij". You could also simplify it somewhat
as
markup { \italic \column { \override #'(font-name . "Times New Roman")
"abcdef" \bold \smaller "ghij"} }
However, this doesn't answer your question. If you read the
documentation of the
font related properties at
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-internals/font_002dinterface#font_002dinterface
it says that if you specify the font-name, then you override any
settings of
font-family, font-series and font-shape. In other words, setting the
font-name
is a more low-level operation than setting the other font-related
parameters.
So, if you want to use the font-name property, you have to specify the
name of the
Italic version of the font, i.e.
\override #'(font-name . "Times New Roman Italic")
/Mats
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond