💄 choose proper fonts for all 3 OSes

This commit is contained in:
yzhang 2020-08-10 11:18:28 +08:00
parent 7ed6ad9d76
commit 188bda5964
4 changed files with 4 additions and 4 deletions

View file

@ -410,7 +410,7 @@ var VisBranch = VisBase.extend({
var text = paper.text(textPos.x, textPos.y, String(name));
text.attr({
'font-size': 14,
'font-family': 'Monaco, Courier, font-monospace',
'font-family': 'Menlo, Monaco, Consolas, \'Droid Sans Mono\', \'Courier New\', monospace',
opacity: this.getTextOpacity()
});
this.set('text', text);