From d0d9d7dd5ce50ab26de4c4b528ba56d692e644c1 Mon Sep 17 00:00:00 2001 From: Jukka Kurkela Date: Sat, 13 Jun 2020 00:58:09 +0300 Subject: [PATCH] Read Title font options from correct place (#7502) --- src/plugins/plugin.title.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2