diff --git a/src/plugins/plugin.title.js b/src/plugins/plugin.title.js index 7ed3c5732..38c1078ad 100644 --- a/src/plugins/plugin.title.js +++ b/src/plugins/plugin.title.js @@ -144,7 +144,7 @@ export class Title extends Element { return; } - const fontOpts = toFont(opts); + const fontOpts = toFont(opts.font); const lineHeight = fontOpts.lineHeight; const offset = lineHeight / 2 + me._padding.top; let rotation = 0;