Open skyhorsewalker opened 11 months ago
const pdf = new HummusRecipe(file, output, { fontSrcPath: path.join(__dirname, '../../assets/fonts') }) const tileStyle = { bold: true, font: 'PMingLiU', size: 11, color: '#000000' } pdf.editPage(1) .text('哈喽', 75, 145, tileStyle) .endPage()
"bold: true" it doesn't work in Chinese!!!! but it works well in English.
What means does not work? What happens?
const pdf = new HummusRecipe(file, output, { fontSrcPath: path.join(__dirname, '../../assets/fonts') }) const tileStyle = { bold: true, font: 'PMingLiU', size: 11, color: '#000000' } pdf.editPage(1) .text('哈喽', 75, 145, tileStyle) .endPage()
"bold: true" it doesn't work in Chinese!!!! but it works well in English.