denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Articulations


From: Richard Shann
Subject: Re: [Denemo-devel] Articulations
Date: Sat, 10 Dec 2011 11:25:43 +0000

Well, it turns out that d-DirectivePut-chord-graphic is not limited to a
single char, it will output a string using the given font and size.

(d-DirectivePut-chord-graphic "test" "
  
emmentaler
26")
puts two U+E190 below the chord. 
*And* it turns out that we may need to look at the feta/emmentaler/...
story, if I replace emmentaler here with feta then I don't get a
character showing, so presumably they have moved the character positions
(?).
The good news is that we can create the upside down glyphs using cairo -
so we don't have to give the two versions of the glyph to Denemo.
I'll check in the support for this shortly.

Richard


On Sat, 2011-12-10 at 10:11 +0000, Richard Shann wrote:
> I've had a look, and what I wrote first was right, it is the *graphic*
> not the display field that you can use to display any single char from
> any font at any size.
> There is no up/down support, and there is also reversal support to go in
> there, we are essentially talking about switching the graphic glyph
> depending on stem up/down and positioning it differently also. I am sure
> we have enough capacity in the structure to do this, but I will need to
> give it some thought. And then implement the support for it.
> 
> Richard
> 
> 
> 
> > Sorry
> > This bit is muddled:
> > > These glyphs *are* the image to show in the draw area. You write
> > > (d-DirectivePut-note-graphic tag "
> > > \xEE\x85\xAD
> > > Feta26
> > > 24")
> > > 
> > > and it uses that glyph from that font at 24 point. There are quite a
> > few
> > > examples of this. We don't need them for any other purpose - issue
> > the
> > > LilyPond syntax /staccatissimo or whatever it is, and LilyPond
> > prints
> > it is d-DirectivePut-note-display that can place any string from any
> > font at any size.
> > I had it in mind to do something for the graphic field, but I am not
> > sure how far I got when I was last working on this. It would be better
> > if I looked into it and came up with an example.
> > 
> > Richard
> 
> 
> On Sat, 2011-12-10 at 09:46 +0000, Richard Shann wrote:
> > Sorry
> > This bit is muddled:
> > > These glyphs *are* the image to show in the draw area. You write
> > > (d-DirectivePut-note-graphic tag "
> > > \xEE\x85\xAD
> > > Feta26
> > > 24")
> > > 
> > > and it uses that glyph from that font at 24 point. There are quite a
> > few
> > > examples of this. We don't need them for any other purpose - issue
> > the
> > > LilyPond syntax /staccatissimo or whatever it is, and LilyPond
> > prints
> > it is d-DirectivePut-note-display that can place any string from any
> > font at any size.
> > I had it in mind to do something for the graphic field, but I am not
> > sure how far I got when I was last working on this. It would be better
> > if I looked into it and came up with an example.
> > 
> > Richard 





reply via email to

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