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

Weird behavior in nabc rendering #1331

Open
rpspringuel opened this issue Mar 13, 2017 · 0 comments
Open

Weird behavior in nabc rendering #1331

rpspringuel opened this issue Mar 13, 2017 · 0 comments
Labels

Comments

@rpspringuel
Copy link
Contributor

Debug messages are, by design, not supposed to affect the typesetting output. However, in playing around with a new debugging feature, I've found a message (or two) which seem to be changing the way an nabc glyph is being rendered.

Take a look at the tex-output/syllable-rewriting test in the test repository. Comment out or delete the syllablerewriting debug messages in \gre@emit@syllabletext (either, or both) in gregoriotex-syllable.tex and you'll find that the test run against this modified file fails because of a small tick mark in the nabc glyph over the syllable "spi" in the first line (all three times) is moved to the left (I advise upping the DPI to 300 in order to make the changing pixels more numerous and opaque, but the algorithm detects the change at my usual 150dpi, the pixels just happen to be fairly transparent, and thus hard to spot). Normally I'd associate this kind of shift with a spurious space or missing %, but everything seems fine here in that regard.

Not knowing anything about the nabc, I can't tell which position of the tick mark is right.

Can others please take a look at this test and see if this behavior is reproducible on their setup.

@rpspringuel rpspringuel mentioned this issue Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant