File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
"background" : " black"
9
9
},
10
10
"defaults" : {
11
- "fontFace " : " Times New Roman,serif" ,
11
+ "fontFamily " : " Times New Roman,serif" ,
12
12
"fontSize" : 40 ,
13
13
"fontWeight" : " normal" ,
14
14
"fontStyle" : " normal" ,
52
52
"blockHeight" : 800 ,
53
53
"blockPaddingLeft" : 80 ,
54
54
"blockPaddingTop" : 40 ,
55
- "fontFace " : " Helvetica,sans-serif" ,
55
+ "fontFamily " : " Helvetica,sans-serif" ,
56
56
"fontColor" : " #00ffff"
57
57
}
58
58
}
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ const JSON_Presenter = {
143
143
element . appendChild ( inner ) ;
144
144
element . inner = inner ;
145
145
const text = document . createElement ( `div` ) ;
146
- text . style [ `font-face ` ] = properties . fontFace ;
146
+ text . style [ `font-family ` ] = properties . fontFamily ;
147
147
text . style [ `font-size` ] = `${ properties . fontSize * h / 1000 } px` ;
148
148
text . style [ `font-weight` ] = properties . fontWeight ;
149
149
text . style [ `font-style` ] = properties . fontStyle ;
You can’t perform that action at this time.
0 commit comments