[server][preview] Use Noto Sans font for text

This commit is contained in:
Abhishek Shroff
2025-08-31 19:02:14 +05:30
parent f28e315063
commit c3ded99ea9

View File

@@ -140,7 +140,7 @@ func (g *Generator) generateLibreOfficePreview(input, output string, text bool)
input,
}
if text {
args = slices.Insert(args, 1, "--infilter=\"Text (encoded):UTF8,LF,Droid Sans,en-US\"")
args = slices.Insert(args, 1, "--infilter=\"Text (encoded):UTF8,LF,Noto Sans,en-US\"")
}
cmd := exec.Command("soffice", args...)