audiveris icon indicating copy to clipboard operation
audiveris copied to clipboard

Migrate music font to Bravura

Open hbitteur opened this issue 3 years ago • 1 comments

Current music font in Audiveris is MusicalSymbols. The music font is used for user display and also for generating suitable head templates for template matching. Supporting drum notation (see issue #33) requires additional symbols (e.g. diamond shapes), and some of them don't exist in MusicalSymbols.

So, this is the triggering event to migrate to Bravura font, which provides the needed additional symbols. Moreover Bravura is the reference implementation for SMuFL specification, so its codepoint values are standardized across all SMuFL-compliant fonts.

Moving from MusicalSymbols to (SMuFL) Bravura will require codepoint modifications in Audiveris Symbols class, plus perhaps some modifications scattered within org.audiveris.omr.ui.symbol package due to geometric differences.

hbitteur avatar Apr 28 '22 07:04 hbitteur

First version available in "bravura" branch, see commit c58957d04d36480db471b1de8f2e59c816cb7e67

We still need to decide on how we handle the Bravura.otf file added to the 'res' folder. Right now, this file was manually extracted from the download of .zip archive available at GitHub Bravura 1.392 release and copied to our 'res' folder.

hbitteur avatar May 14 '22 17:05 hbitteur

Audiveris 5.3 now provides several music and text fonts. Closing the issue.

hbitteur avatar Jun 29 '23 09:06 hbitteur