[Top][All Lists]

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

Italic Times New Roman. Was: font error in 2.11.36

From: Mats Bengtsson
Subject: Italic Times New Roman. Was: font error in 2.11.36
Date: Thu, 13 Dec 2007 13:52:19 +0100
User-agent: Thunderbird (X11/20070716)

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

\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

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
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")


reply via email to

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