Код: Выделить всё
const canvas = createCanvas(2480, 3508, 'pdf')
const ctx = canvas.getContext('2d')
ctx.fillStyle = "black";
ctx.font = '60px Arial'
ctx.fillText('КМ32', 200, 180)
Правильный рендеринг
Подробнее здесь: https://stackoverflow.com/questions/796 ... rating-pdf
Мобильная версия