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

Addresses #1036 #1058

Merged
merged 7 commits into from Apr 6, 2016
Merged

Conversation

rpspringuel
Copy link
Contributor

interwordspacetext distances are changed to be dependent on the font
Instructions are added to GregorioRef for how the above is accomplished so that the user can do the same.

Lots of tests break, but all in the expected manner. However, I think that these new defaults might be a tad too small. If others would please review the test changes and tell me if they agree or not, I'd appreciate it.

`interwordspacetext` distances are changed to be dependent on the font
Instructions are added to GregorioRef for how the above is accomplished so that the user can do the same.
@@ -20,6 +20,7 @@ As of v3.0.0 this project adheres to [Semantic Versioning](http://semver.org/).
- A podatus followed by a virga `(eghv)` will now be kept together (no line break between the shapes), If you would like to allow a line break there, use `(eg/hv)` instead (see UPGRADE.md and [#1045](https://github.com/gregorio-project/gregorio/issues/1045)).
- Penalties must now be changed using the `\grechangecount` command. See GregorioRef and [UPGRADE.md](UPGRADE.md) for details (for the change request, see [#1021](https://github.com/gregorio-project/gregorio/issues/1021)).
- `\greemergencystretch` must now be set by changing `emergencystretch` using `\grechangedim` instead of redefining the macro.
- `interwordspacetext` and it's related distances are now defined as fixed distances based on the `\fontdimen` values. This means that they will scale according to the font, not the staff size. The documenation has been updated to explain how this is done and provide the default definitions. See [#1036](https://github.com/gregorio-project/gregorio/issues/1036).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think 99% will be puzzled by the \fontdimen thing, this should probably be explained a little more, like

"based on the \fontdimen values, so that a space between two words in a score is exactly the same as a space between two words in text if notes do not interfere"

something like that...

The extra `\relax` at the end isn't needed and will actually cause problems if `interwordspacetext@euouae` is used in a `\glueexpr` or `\dimexpr`.
@rpspringuel
Copy link
Contributor Author

Hopefully things are clearer now.

This change increases their size to `1ex` and removes the stuff about using `\fontdimen` (which will be put in the Tips'n'Tricks section of the website).
…fontdimen

* commit '53a92da355ea65f880d423c0d45ef1356b2e738f':
  Prevented an element cut before an isolated stropha. Fixes gregorio-project#1056.
…fontdimen

* commit '294a3f643dab09fc3ba8242a1cc47f8912113dde':
  Implemented alterations for custodes. Fixes gregorio-project#1049.
@rpspringuel rpspringuel merged commit 1189420 into gregorio-project:develop Apr 6, 2016
@rpspringuel rpspringuel deleted the feature/fontdimen branch April 6, 2016 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants