Hi Yu.
Report plugin includes pdfmake ( https://github.com/bpampuch/pdfmake ). It embeded ttf files into pdf file itself.
TTF is Roboto only at off-the-shelf environment and you cannot change. Roboto doesn't include CJK charactor. So it result that you can see only single-byte charactor in pdf.
You can change fonts modifing /usr/share/kibana/plugins/x-pack/plugins/reporting/server/lib/pdf.js .
const fonts = {
Roboto: {
normal: fontPath('Roboto-Regular.ttf'),
bold: fontPath('Roboto-Medium.ttf'),
italics: fontPath('Roboto-Italic.ttf'),
bolditalics: fontPath('Roboto-Italic.ttf'),
}
--
defaultStyle: {
fontSize: 12,
font: 'Roboto',
},
Then replace ttf files under /usr/share/kibana/plugins/x-pack/plugins/reporting/server/assets/fonts .
But I seems that multi-byte character isn't correctly rendered. You need more help from someone, I think...
Regards,
MK
