Fix regression introduced with 5122 "Fix not scaling stem ..."
commit eee677c480c78d58a5215e246575aa94ba2d1897
only took text-font-size from current layout into account.
Now text-font-size from $defaultpaper is respected as well.
As a result note-by-number scales now properly for changes of
set-global-staff-size, layout-set-staff-size and markup-fontsize.
Diff:
Passes make, make check and a full make doc.
Patch on countdown for Nov 10th.
Patch counted down - please push.
pushed to staging as:
commit a59947cc3f1040a78f5ccef8d87efb2eee946097
Author: Thomas Morley thomasmorley65@gmail.com
Date: Sun Nov 5 15:36:03 2017 +0100
Unfortunately it seems the stem scaling is still not correct in all cases:
The stem in the markup is twice as large (horizontally and vertically) as it should be. While fiddling around with that example I also noticed that
set-global-staff-sizehas the opposite effect, making the stem too small if you set a size larger than 20:set-global-staff-sizedoesn't work inside\bookanyway so I suppose it doesn't matter, but I'd still expect the stem size to be consistent with everything else in this example if it was being calculated correctly.Since everything else, including note heads and flags, staff and ledger lines, stems of ordinary non-markup notes, etc., scales consistently, I'd think there must be already working code somewhere that could be copy-pasted into
note-by-number.