Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make annotations roman (not italic) #40

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions src/Converter.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,26 @@ var MEI2VF = ( function(m2v, MeiLib, VF, $, undefined) {
spacing: 1.3,
},
/**
* @cfg {Object} annotFont the font used for annotations (for example,
* 'pizz.')
* @cfg {Object} annotFont the font used for annotations and directions
* (for example, 'pizz.')
* @cfg {String} annotFont.family the font family
* @cfg {Number} annotFont.size the font size
* @cfg {String} annotFont.weight the font weight
*/
annotFont : {
family : 'Times',
size : 15,
weight : 'Italic'
},
/**
* @cfg {Object} exprFont the font used for expression marks (for example,
* 'staccato')
* @cfg {String} exprFont.family the font family
* @cfg {Number} exprFont.size the font size
* @cfg {String} exprFont.weight the font weight
*/
exprFont : {
family : 'Times',
size : 15,
weight : 'italic',
},
/**
* @cfg {Object} dynamFont the font used for dynamics
Expand All @@ -139,7 +149,7 @@ var MEI2VF = ( function(m2v, MeiLib, VF, $, undefined) {
dynamFont : {
family : 'Times',
size : 18,
weight : 'bold italic'
weight : 'bold italic',
},
/**
* @cfg {Object} tempoFont The tempo font
Expand All @@ -150,7 +160,7 @@ var MEI2VF = ( function(m2v, MeiLib, VF, $, undefined) {
tempoFont : {
family : "Times",
size : 17,
weight : "bold"
weight : "bold",
},
/**
* @cfg {Object} staff The staff config object passed to each
Expand Down