From: Jonathan A. <joi...@gm...> - 2016-07-21 11:07:25
|
Hi all, I am currently playing with AR to GR conversion and layout, and I have experienced the following issue several times: sometimes, with small page widths, a really dense and long score is displayed on a single long line, instead of being laid out on several lines. Sometimes, it suffices to tweak spring and force values in the layoutSettings to make the issue disappear. However, there are times where even the minimum spring and force values don't make it (i.e., there's still a single long line). I could reproduce the issue using the OS X GuidoEditor available from the Qt applications package, using the following example GMN file: https://gist.github.com/oin/ae35bc3855e8440a45b0d8073448c2aa To avoid this issue in my particular use case, I iterate over GuidoUpdateGRParameterized by trying different parameters (page width and spring and force values) until the width of the first page corresponds to what should be expected, but this isn't really ideal in the long term. I am not familiar with the layout algorithm, so I'd like to know if (and why) this is an expected result, and if there is a way to guarantee it doesn't happen, or any additional parameter I can use to mitigate the problem. My apologies if this issue has already been discussed in the ML (I found nothing after a quick search). Cheers, Jonathan |