Update canvas.js
Browse files
canvas.js
CHANGED
|
@@ -81,7 +81,7 @@ app.post('/upload', upload.single('file'), async (req, res) => {
|
|
| 81 |
ctx.fillStyle = '#FFFFFF';
|
| 82 |
ctx.fillRect(0, 0, width, height);
|
| 83 |
ctx.fillStyle = '#000000';
|
| 84 |
-
ctx.font = '20px
|
| 85 |
|
| 86 |
const text = `
|
| 87 |
File Name: ${fileName}
|
|
|
|
| 81 |
ctx.fillStyle = '#FFFFFF';
|
| 82 |
ctx.fillRect(0, 0, width, height);
|
| 83 |
ctx.fillStyle = '#000000';
|
| 84 |
+
ctx.font = '20px WenQuanYi Zen Hei';
|
| 85 |
|
| 86 |
const text = `
|
| 87 |
File Name: ${fileName}
|