Specifically in this link, it mentions that the API expects a fontReplacementsJson
: Aspose.PDF for AWS|Documentation.
I can’t identify in the documentation what the expected JSON format is exactly. Can anyone help me with this?"
Hi, @marcelosrc
You can include multiple font mappings in the fontReplacements
array.:
{
"fontReplacements": [
{
"originalFontName": "Arial",
"originalFontNames": ["Helvetica"],
"targetFontName": "DejaVu Sans",
"targetFontStoragePath": "/tmp/fonts/DejaVuSans.ttf"
}
]
}