#python #php #fpdf
#питон #php #fpdf
Вопрос:
Я пытаюсь перевернуть строки снизу вверх в fPDF multicell. Надеюсь, на примере будет понятно:
pdf = FPDF('P', 'mm', "A4") pdf.add_page() mytext = "This is the content that I want to flip lines from top to bottom. The first line should be the last line and last line should be at the top." pdf.multi_cell(60, 6, mytext, border=1, align="R", ln=1) pdf.output("flip.pdf")
Вот изображение текущего выходного сигнала и требуемого выходного сигнала.