]> git.donarmstrong.com Git - lilypond.git/commit
font: rewrite and parametrize natural code
authorJanek Warchoł <lemniskata.bernoullego@gmail.com>
Wed, 4 Dec 2013 11:20:12 +0000 (12:20 +0100)
committerBenkő Pál <benko.pal@gmail.com>
Thu, 19 Dec 2013 23:04:05 +0000 (00:04 +0100)
commit166d6eab595c2e5a9a1538f9ab5a3810bd3f1b04
treede772441c599b794e7186aaedfcb0d89413c8412
parentcf106d041fe91a674a850b720453475696384dee
font: rewrite and parametrize natural code

The logic remains virtually the same. List of changes:
* more descriptive variable names,
* removed surplus points (1', 3', 11', 21'),
* stem brushing is controlled in a simpler way,
* beam slant does no longer depend on stem thickness,
* all dimensions are explicitely and straightforwardly
  derived from global parameters.  This makes it trivial
  to get a differently-looking natural by just changing
  clearly defined values.

At size 20, the natural remains identical.  At signifincantly
different sizes there are a few microscopic changes, but they
are too small to be noticeable:

* stem end thickness is defined in terms of stem thickness,
  so regardless of design size the ratio between them is constant.
* beam slant is slightly more consistent.  But you wouldn't notice
  the change if i haven't told you ;-)
mf/feta-naturals.mf