Fixed avatar arg issue, fixed motivate bottom text

This commit is contained in:
Essem 2021-12-30 14:27:18 -06:00
parent e66f45ba0f
commit 1a76d4d0c4
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
3 changed files with 3 additions and 2 deletions

View file

@ -58,7 +58,7 @@ Napi::Value Motivate(const Napi::CallbackInfo &info) {
bottom.fontPointsize(28);
bottom.read("pango:<span font_family=\"" +
(font == "roboto" ? "Roboto Condensed" : font) +
"\" foreground='white'>" + top_text + "</span>");
"\" foreground='white'>" + bottom_text + "</span>");
bottom.extent(Geometry(to_string(bottom.columns()) + "x" +
to_string(bottom.rows() + 20)),
"black", Magick::NorthGravity);