Skip to content

Commit

Permalink
set font alignment (may result in incorrect placement of dots)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfober committed Jul 19, 2023
1 parent 504f7ff commit 53a7837
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ GUIDO Engine history
- fix issue #171: Incorrect beam dash direction
- fix issue #169: Double flat is rendered as four if repeated on a 2nd voice
- fix issue #164: Conflicting notes on a multi voices staff
- fix occasional incorrect dots placement in repeatEnd (depending on context)


----------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions src/engine/graphic/GRRepeatEnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ void GRRepeatEnd::DrawDots( VGDevice & hdc ) const
}

float x = -hlspace * 0.75f - getXOffset();
hdc.SetFontAlign(VGDevice::kAlignBaseLeft);
DrawSymbol(hdc, kDotSymbol, x, y1, pointSize);
DrawSymbol(hdc, kDotSymbol, x, y2, pointSize);
}
Expand Down

0 comments on commit 53a7837

Please sign in to comment.