File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,6 @@ export const CommonMetrics = {
239
239
digits : {
240
240
// used by TimeSignature objects
241
241
shiftLine : - 1 ,
242
- point : 39 ,
243
242
244
243
// used by tuplets
245
244
tupletPoint : 22 ,
@@ -401,7 +400,6 @@ export const CommonMetrics = {
401
400
} ,
402
401
} ,
403
402
textNote : {
404
- point : 39 ,
405
403
breathMarkTick : {
406
404
shiftY : 9 ,
407
405
} ,
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ export class MultiMeasureRest extends Element {
106
106
use_symbols : false ,
107
107
show_number : true ,
108
108
number_line : - 0.5 ,
109
- number_glyph_point : musicFont . lookupMetric ( 'digits.point' ) , // same as TimeSignature.
109
+ number_glyph_point : musicFont . lookupMetric ( 'digits.point' ) ?? Tables . NOTATION_FONT_SCALE , // same as TimeSignature.
110
110
line : 2 ,
111
111
spacing_between_lines_px : Tables . STAVE_LINE_DISTANCE , // same as Stave.
112
112
serif_thickness : 2 ,
Original file line number Diff line number Diff line change 3
3
4
4
import { Glyph } from './glyph' ;
5
5
import { Note } from './note' ;
6
+ import { Tables } from './tables' ;
6
7
import { TextNoteStruct } from './textnote' ;
7
8
import { Category } from './typeguard' ;
8
9
import { defined , log , RuntimeError } from './util' ;
@@ -78,7 +79,7 @@ export class TextDynamics extends Note {
78
79
this . line = noteStruct . line || 0 ;
79
80
this . glyphs = [ ] ;
80
81
81
- this . render_options = { ...this . render_options , glyph_font_size : 40 } ;
82
+ this . render_options = { ...this . render_options , glyph_font_size : Tables . NOTATION_FONT_SCALE } ;
82
83
83
84
L ( 'New Dynamics Text: ' , this . sequence ) ;
84
85
}
You can’t perform that action at this time.
0 commit comments