Re: Using a semi-bold font

2015-10-24 Thread tisimst
Joram,

There's not a convenient pango interface (yet) for selecting variants
outside the Regular/Italic/Bold/Bold Italic styles. However, with the way
you are doing it, you should be able to just add "Semibold" to the original
font name and mostly work (i.e., you can then also select the 'italic shape
of you want). Then you could name the font-family 'semibold or something
like that for easier identification/differentiation.

HTH,
Abraham

On Saturday, October 24, 2015, Noeck [via Lilypond] <
ml-node+s1069038n182650...@n5.nabble.com> wrote:

> 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
>
> ___
> lilypond-user mailing list
> [hidden email] 
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://lilypond.1069038.n5.nabble.com/Using-a-semi-bold-font-tp182650.html
> To start a new topic under User, email ml-node+s1069038n...@n5.nabble.com
> 
> To unsubscribe from Lilypond, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Using-a-semi-bold-font-tp182650p182662.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Using a semi-bold font

2015-10-25 Thread Noeck
Hi Abraham,

> There's not a convenient pango interface (yet) for selecting variants
> outside the Regular/Italic/Bold/Bold Italic styles. 

That's a pity. But thanks for confirming it.

> However, with the way
> you are doing it, you should be able to just add "Semibold" to the original
> font name and mostly work (i.e., you can then also select the 'italic shape
> of you want). Then you could name the font-family 'semibold or something
> like that for easier identification/differentiation.

Unfortunately I could not get this to work. It only works in the
font-name: font-name = "Linux Libertine O Semibold Italic"
Thus loosing the ability to switch font shapes/series.

Cheers,
Joram

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user