neanes / neanes

Neanes is a free and open source scorewriter for notating Byzantine chant in Byzantine notation.
https://neanes.github.io/neanes/
GNU General Public License v3.0
35 stars 9 forks source link

Fix lyric height bug when using gorthmikon/pelastikon #668

Closed danielgarthur closed 3 weeks ago

danielgarthur commented 3 weeks ago

Fixes #665.

The addition of the Stathis Series font necessitated a new way of displaying the Gorthmikon and Pelastikon. Previously, these neumes had been implemented as part of the Omega font and the Omega font was always specified as a fallback font for lyrics. This worked because only one font was supported. Now we must support the Stathis Series gorthmikon/pelastikon. This was accomplished by falling back to the selected neume font instead of to Omega. But the neume fonts have drastically different font heights. This PR fixes that by forcing the line height of the lyrics box to be that of the lyrics font.