fix: escape backslashes in ImageMagick font path parameter

This commit is contained in:
sxyazi 2026-02-22 19:53:24 +08:00
parent d84f0b1265
commit a82d2ccddb
No known key found for this signature in database

View file

@ -33,7 +33,7 @@ function M:preload(job)
"-gravity",
"center",
"-font",
tostring(job.file.path),
tostring(job.file.path):gsub("\\", "\\\\"),
"-pointsize",
64,
"xc:white",