This commit is contained in:
@@ -55,10 +55,8 @@ func convertPNG(input string, param ConversionParameters) (io.ReadCloser, error)
|
||||
var args []string
|
||||
var outExt string
|
||||
|
||||
fontsdir, err := svg.Storage.GetFontsDir()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
fontsdir := svg.Storage.GetFontsDir()
|
||||
|
||||
args = append(args, "--skip-system-fonts")
|
||||
args = append(args, "--use-fonts-dir", fontsdir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user