lilypond-user
[Top][All Lists]
Advanced

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

Using a semi-bold font


From: Noeck
Subject: Using a semi-bold font
Date: Sat, 24 Oct 2015 21:54:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hi,

I would like to use a semi-bold font in my score (for TextScript or
DynamicText). Is that possible? I tried this:

\version "2.19.21"

\paper {
   #(add-pango-fonts fonts 'textFont "Linux Libertine O" (/ (*
staff-height pt) 2.5))
}

{
  % when overriding font-name, the font-series can't be used anymore
  \override TextScript.font-family = #'textFont
  \override TextScript.font-series = #'bold
  \override TextScript.font-shape = #'italic
  a^"Que" a
  % I would like to choose semi-bold here:
  \override TextScript.font-series = #'medium
  a^"Que" a
}

I have Linux Libertine O installed and it comes with a semi bold font
series. I can use it in LibreOffice for instance.

Cheers,
Joram



reply via email to

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