PDF fix
This commit is contained in:
parent
a1948252fd
commit
ab210babea
|
@ -52,7 +52,7 @@ export class Test2PDF {
|
||||||
|
|
||||||
pdf.setFontSize(14);
|
pdf.setFontSize(14);
|
||||||
|
|
||||||
const questionText = pdf.splitTextToSize(question.question, 425);
|
const questionText = pdf.splitTextToSize(question.question, 400);
|
||||||
for (let j = 0; j < questionText.length; j++) {
|
for (let j = 0; j < questionText.length; j++) {
|
||||||
if (j === 0) {
|
if (j === 0) {
|
||||||
questionText[j] = `${question.nr}. ` + questionText[j];
|
questionText[j] = `${question.nr}. ` + questionText[j];
|
||||||
|
|
Loading…
Reference in New Issue