Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #1137 #1164

Merged
merged 1 commit into from
Jun 26, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ As of v3.0.0 this project adheres to [Semantic Versioning](http://semver.org/).
- Staff lines after a two-line initial should now be sized correctly in a more consistent way (see [#1141](https://github.com/gregorio-project/gregorio/issues/1141)).
- Space at the end of line was not always correct when a line is cut in the middle of a word (see [#1155](https://github.com/gregorio-project/gregorio/issues/1155)).
- In rare cases, the very last bar or glyph of a score could appear alone at the beginning of the final line (see [#1152](https://github.com/gregorio-project/gregorio/issues/1152)).
- In cases of a syllable without note, the space between notes of the previous and next syllables was sometimes not enough (see [#1137](https://github.com/gregorio-project/gregorio/issues/1137)).

## [4.2.0-rc1] - 2016-05-31
### Fixed
Expand Down
5 changes: 4 additions & 1 deletion tex/gregoriotex-spaces.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1009,8 +1009,11 @@
\gre@debugmsg{barspacing}{allocated text space: \the\gre@skip@text@allocation}%
\gre@debugmsg{barspacing}{allocated notes space: \the\gre@skip@bar@allocation}%
% now we check the bar width
\gre@debugmsg{barspacing}{bar width: \the\wd\gre@box@syllablenotes}%
\gre@skip@bar@requirement = \wd\gre@box@syllablenotes\relax%
\ifdim\gre@skip@bar@requirement=0pt\relax % no notes
\gre@skip@bar@requirement=\gre@space@skip@interwordspacenotes %
\fi %
\gre@debugmsg{barspacing}{bar width: \the\gre@skip@bar@requirement}%
\ifdim\gre@skip@bar@allocation < \gre@skip@bar@requirement\relax%
\advance\gre@skip@text@allocation by \glueexpr(\gre@skip@bar@requirement - \gre@skip@bar@allocation)\relax%
\gre@skip@bar@allocation = \gre@skip@bar@requirement\relax%
Expand Down