2014-11-05 1:03 GMT+01:00 tisimst <tisimst.lilyp...@gmail.com>:
> Harm,
>
> The parentheses are static glyphs from the music font, so there's no way
> that I know of to simply make it bolder (i.e., there's no bold version of
> emmentaler). You might be able to change this by setting the font-encoding
> to latin1 and using another font for the parentheses that has a bold
> variant, but that's the best I can think of right now. Not sure how to do
> this in a \tweak, though. Anyone else?
>
> HTH,
> Abraham
>
>
> On Tue, Nov 4, 2014 at 4:44 PM, Thomas Morley-2 [via Lilypond] <[hidden
> email]> wrote:
>
> Hi all,
>
> maybe I'm too tired, though, is there no better way to change the
> thickness of a ParenthesesItem, than scaling their stencils?
>
> \version "2.19.13"
>
> paren-thick =
> #(define-music-function (parser location x music)(number? ly:music?)
> #{
>   \tweak ParenthesesItem.stencils
>   #(lambda (grob)
>       (map
>         (lambda (stil) (ly:stencil-scale stil x 1))
>         (parentheses-item::calc-parenthesis-stencils grob)))
>   $music
> #})
>
> {
>   <
>    b''
>    \paren-thick #3 \parenthesize b'
>    b
>   >4
> }
>
>
> -Harm

Hi Abraham,

thanks for your reply, sounds logical.
OTOH, we have functions like 'make-bezier-sandwich-stencil', which is
used in 'make-parenthesis-stencil' and finally in
'parenthesize-stencil'
They are not used here ofcourse, though it might be worth a thought.
(only row brainstorming...)

Thanks,
  Harm

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

Reply via email to