On Sat, 01 May 2004 20:22:53 -0600 "Carl D. Sorensen" <[EMAIL PROTECTED]> wrote:
> As part of my ongoing work with fret diagram markups I need to be able > to create a stencil of text that can be placed at the proper location > in > the diagram. > > Searching through the code, it appeared that the scheme function > fontify-text would do it. > > However, when I tried to do this using ly:paper-get-font to get a font > metric, I got the following errors: > > ... > > Any ideas for how to fix it? > > Carl D. Sorensen > Department of Mechanical Engineering > Brigham Young University > 435 CTB > Provo, UT 84602 > 801-422-6397 FAX 801-422-0516 > AFAIK, There are also these markup commands, take a look at scm/define-markup-commands.scm, for example, command bigger (line 539-) to increase font size, and command natural (line 204-) to draw a symbol. Command bigger take the font metrics from props, and command natural seeks a defined symbol. For existing symbols may be used for producing the fret diagram, but at some point, symbols like fret-circle and others need to be defined in order to obtain the best result. I hope this helps somewhat. Greetings, Heikki Junes _______________________________________________ lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel
