@tilal.ahmad, I’ve added korean fonts at the mounted fonts location but still the korean chars are not rendering. Apart from that I had also added a few other custom fonts file at the mounted fonts location and they are rendering fine. Those custom fonts are properly rendering except the korean chars.
The korean fonts file are also present inside the aspose words pod.
Screenshot -> image.jpg (179.6 KB)
var axios = require('axios');
var FormData = require('form-data');
var fs = require('fs');
const baseUrl = getAsposeEndpoint();
var data = new FormData();
data.append('document', fs.createReadStream(inputDocxFilePath));
var config = {
method: 'put',
url: baseUrl + '/v4/words/convert?format=pdf&fileNameFieldValue=sourceFilename',
headers: {
'accept': 'application/octet-stream',
'Content-Type': 'multipart/form-data',
...data.getHeaders()
},
data: data,
responseType: 'stream'
};
let result = await axios(config)
return {
contentType: result.headers['content-type'],
filestream: result.data
};
This is how Im making the call. Can you please tell me if Im missing something here?