[trunk r.3665] Score::print() does not take page offset into account

• Nov 2, 2010 - 20:00
Type
Functional
Severity
S4 - Minor
Status
closed
Project

I don't know if this is by design; if it is, it looks rather counter-intuitive.

Issue: When printing one page or a range of pages from a score where first page is > 1, pages are actually printed as if first page is always 1.

How to correct: in file file.cpp, lines 1691-2 of function Score:print() should read:

int fromPage = printer->fromPage() - 1 - pageFormat()->_pageOffset;
int toPage = printer->toPage() - 1 - pageFormat()->_pageOffset;

M.


Comments