Note Names plugin
Hi all,
I am looking at the notenames.qml. I am wondering what code might change the font family, font size and font weight?
Cheers.
Hi all,
I am looking at the notenames.qml. I am wondering what code might change the font family, font size and font weight?
Cheers.
Do you still have an unanswered question? Please log in first to post your question.
Comments
Hello,
After line 205 of the plugin, insert this:
//FONT FACE, COLOR, SIZE...
text.fontSize = 10;
text.color="black"; //black, navy ...
text.fontFace = "DejaVu Serif";
text.fontStyle = 1; //FontStyle: char { Normal = 0, Bold = 1, Italic = 2, Underline = 4 }
Replace the values with whatever you want.
Tell me if it's ok for you!
Good luck !
In reply to Hello, After line 205 of the… by piersyl
Hi,
Many thanks. Is that in the .qml file?
Cheers.
In reply to Hi, Many thanks. I start in… by wmike1503
Yes. I put that in the last version of the plugin (in the qml file after :
var text = newElement(Element.STAFF_TEXT); // Make a STAFF_TEXT
In reply to Yes. I put that in the last… by piersyl
Nothing changed. To clarify, I am trying to change the font that sits in the note itself.
Chgeers.
In reply to Nothing changed. To clarify,… by wmike1503
Those are not done via the notenames plugin, but are an integral part of the musical font you use, its named notehead glyphs
In reply to Those are not done via the… by Jojo-Schmitz
Ok, thanks. So, I assume, this can't be changed - ie. make bold, for instance?
Cheers.
In reply to Ok, thanks. So, I assume,… by wmike1503
No. Or rather yes: this can't be changed
In reply to No by Jojo-Schmitz
OK. MANY THANKS.