[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Italic numbers for fingerings (feature request)
From: |
Urs Liska |
Subject: |
Re: Italic numbers for fingerings (feature request) |
Date: |
Fri, 17 Feb 2017 08:23:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 |
Am 17.02.2017 um 01:39 schrieb Simon Albrecht:
> On 16.02.2017 23:27, tisimst wrote:
>> On Thu, Feb 16, 2017 at 3:08 PM, Urs Liska wrote:
>>
>>> if I'm not mistaken (and a very recent post in the German forum
>>> http://www.lilypondforum.de/index.php?topic=2465.0 seems to confirm
>>> that) LilyPond doesn't have built-in support for italics in fingerings.
>>>
>>> As using italics for fingerings is a regular use case (e.g. to
>>> differentiate between editor's and composer's fingerings) I would like
>>> to see native support for italics in fingerings.
>>>
>>> So there would have to be a) glyphs for italics numbers in Emmentaler
>>> and b) a way to choose between upright and italics for fingerings.
>>>
>> The default mechanism uses the 'fetaText encoding to get the numbers. If
>> you
>>
>> \override Fingering.font-encoding = 'latin1
>>
>> you should then be able to change the font to any normal text font
>> and turn
>> on Italics.
>
> I gave it a try, and using
>
> \version "2.19.54"
> {
> 1-\tweak font-encoding #'latin1 \tweak font-name "Ubuntu" \tweak
> font-size 6 \tweak font-shape #'italic -3
> }
>
> I can get the correct font and font size, but not the correct font
> shape (nor series).
>
> Don’t know why…
AFAIK it can be achieved by setting the font-name to "Ubuntu Italics" or
whatever the concrete font name is. So alternative font shapes can be
used by directly calling the font but not through font-series.
Best
Urs