python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Change PDF Scale of FPDF
I have a page that I convert to an image using html2canvas and then I convert the image to pdf but I noticed that when I convert the image to PDF, it becomes blurry if I open the pdf on a computer but...
Daenny
Votes: 0
Answers: 0
Python FPDF - add_font() function can not read the location of TTF file in jupyter notebook
I have a python file in 1.code folder which will generate a pdf. I am redirecting a new font file(.ttf) in the 2.font folder. At the end, my pdf file will save on 2.Reports>1.January folder.
Now th...
asif abdullah
Votes: 0
Answers: 1
Fpdf _construct brings 'unknown page size A4' error?
class FPDF {
function FPDF($orientation='P', $unit='mm', $size='A4'){
}
}
changed to
class FPDF {
function _construct($orientation='P', $unit='mm', $size='A4'){
}
}
because php kep...
sokhib Abdurasulov
Votes: 0
Answers: 1
fpdf is giving UnicodeEncodeError
I am using fpdf python package to create a .pdf file.
This is my code below:
import fpdf
pdf = fpdf.FPDF(format='letter') # pdf format
pdf.add_page() # create new page
pdf.set_font("Arial"...

Tamil Selvan
Votes: 0
Answers: 1