[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: more custom articulations...
From: |
luis jure |
Subject: |
Re: more custom articulations... |
Date: |
Fri, 5 Apr 2013 09:09:29 -0300 |
on 2013-04-05 at 00:50 Thomas Morley wrote:
> Quoting script-interface.cc:
>
> Stencil
> Script_interface::get_stencil (Grob *me, Direction d)
> {
> SCM s = me->get_property ("script-stencil");
> assert (scm_is_pair (s));
>
> SCM key = scm_car (s);
> if (key == ly_symbol2scm ("feta"))
> {
> SCM name_entry = scm_cdr (s);
> SCM str = ((scm_is_pair (name_entry)) ? index_get_cell
> (name_entry, d) : name_entry);
> return Font_interface::get_default_font (me)
> ->find_by_name ("scripts." + ly_scm2string (str));
> }
hmm, i see that selecting from the "scripts." glyphs is "hardcoded", which
makes sense for standard articulations, of course. i wonder if could try
to modify it and still make it work...
anyway, reading the code i noticed an option that i had missed completely
when reading the docs: toward-stem-shift. this solves many of my problems.
> Sorry, to be of not ore help,
quite the contrary, you've been most helpful, as always. thank you.
best,
lj