]> git.donarmstrong.com Git - lilypond.git/commit
New markup commands \left-brace and \right-brace.
authorNeil Puttock <n.puttock@gmail.com>
Fri, 31 Jul 2009 23:06:45 +0000 (00:06 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Fri, 31 Jul 2009 23:06:45 +0000 (00:06 +0100)
commitdc1af73a4a34799c3e5492b32d0ea148a856b5bf
tree7676fabd102d510f5025bb4aec59682d6c687738
parent389a17eaac55a1a3ce9392e2f245efce8076722c
New markup commands \left-brace and \right-brace.

* add a binary search function to lily-library.scm

* add markup command \left-brace, using binary search to select a fetaBraces
  glyph based on y-extent comparison with scaled point size

* add markup command \right-brace: a \left-brace rotate 180 degrees

* add exported function ly:otf-glyph-count and use in \left-brace to remove
  hard-coded value for upper range in binary search

* fix potential null dereference in ly:otf-font-glyph-info

* add regression tests for exercising new commands and invalid point sizes
input/regression/markup-brace-warning.ly [new file with mode: 0644]
input/regression/markup-braces.ly [new file with mode: 0644]
lily/open-type-font-scheme.cc
scm/define-markup-commands.scm
scm/lily-library.scm