lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with fontify-text


From: Heikki Johannes Junes
Subject: Re: Help with fontify-text
Date: Sun, 02 May 2004 13:04:39 +0300 (EEST)
User-agent: HUT webmail, IMP 2.2.6

On Sat, 01 May 2004 20:22:53 -0600 "Carl D. Sorensen" <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]