Dear Federico,

Here is a minimal example. I don't know what fonts you have installed on
your system, so I put what I believe to be the default LilyPond Roman font
into the function (not that it's important). Tinkering with the values in
the "(/ staff-height pt 20)" argument doesn't seem to help. I would like
the default size in the example to be the same as the one I manually
resized with \abs-fontsize.

\version "2.18.0"


\paper {

#(define fonts (make-pango-font-tree "Century Schoolbook L" "" "" (/
staff-height pt 20)))

}


\relative {

   \textLengthOn

   c'_"default size"

   c_\markup { \abs-fontsize #10 "size 10" }

}



On 6 June 2014 14:48, Federico Bruni <[email protected]> wrote:

> Can you provide a minimal example?
>
>
> 2014-06-06 15:39 GMT+02:00 Kevin Patrick Barry <[email protected]>:
>
> Dear Federico,
>>
>> Thank you for responding. I had read the section you linked (and copied
>> the code at the bottom into a style file). There are two problems: I can't
>> use an absolute font size in an override, which I need, and if I change the
>> font size in the paper block with the pango function all of the emmentaler
>> glyphs are resized also. I would like a single command, that can accept an
>> absolute font size, to only apply to Textscript. Is this possible? I don't
>> want to have to fill all the files with \abs-fontsize.
>>
>> Kevin
>>
>>
>> On Fri, Jun 6, 2014 at 1:39 PM, Federico Bruni <[email protected]>
>> wrote:
>>
>>>  2014-06-06 14:31 GMT+02:00 Kevin Patrick Barry <[email protected]>:
>>>
>>>>  Dear LilyPond users,
>>>>
>>>> I would like the font in a series of files to be size 10, but I don't
>>>> want to have to put \abs-fontsize in every markup. I would prefer to put it
>>>> in my style file, but when I mess with the font sizes there, the size of
>>>> the music glyphs also changes. Is there a way to change the absolute font
>>>> size of just the textscript?
>>>>
>>>
>>> Here's explained how to change the font size of a specific object:
>>>
>>> http://lilypond.org/doc/v2.18/Documentation/notation/fonts#single-entry-fonts
>>>
>>> If you know which object to apply it to, it should work.
>>>
>>>
>>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to