gregorio icon indicating copy to clipboard operation
gregorio copied to clipboard

Improper text underlay with “(::)”

Open FGasper opened this issue 4 years ago • 2 comments

%%
(c4) High.(fhGFgvFe) Ps.(::)

… yields: image

… on http://run.gregoriochant.org/cgi/process.pl, which says it’s running 5.0.2. I get a similar response, though, from my local 5.2.0 installation via MacPorts.


I’m not sure what the underlying issue is, but the underlay algorithm appears not to handle something in this input ideally?

Thank you for your time.

FGasper avatar Dec 01 '19 17:12 FGasper

This appears to be a duplicate of #1384, and is a result of the bar spacing algorithm working as intended. As you're not the first person to complain about this, perhaps we should take this as a signal to prioritize better documentation of how the bar spacing algorithm is supposed to work.

rpspringuel avatar Dec 01 '19 19:12 rpspringuel

For the record, I have often had better luck putting such text as "Ps." after the double bar, thusly:

%%
(c4) High.(fhGFgvFe) (::) Ps. Ad(hg) te(gh) (::)

image

It's still not perfect, but it tends to be much better than Ps.(::)

This code also works better with line breaks. If an automatic line break falls just after that double-bar, the "Ps." will go to the next line with the following text. In your original code, the "Ps." would stay stuck on the first line with the double bar.

fiat96 avatar Mar 13 '20 15:03 fiat96