title: Python FPDF - add_font() function can not read the location of TTF file in jupyter notebook
body: <p>I have a python file in <em><strong>1.code</strong></em> folder which will generate a pdf. I am redirecting a new font file(.ttf) in the <em><strong>2.font</strong></em> folder. At the end, my pdf file will save on <em><strong>2.Reports&gt;1.January</strong></em> folder.</p>
  <p>Now the problem is when I trying to save the pdf an error occurred that says:</p>
  <pre><code>no such file or directory: 'font//gothambold.ttf'
  </code></pre>
  <p>But my folder name is <em><strong>2.font</strong></em> but where does the <em><strong>font</strong></em> folder come from in the error message? and why does this error occur?</p>
  <p><strong>Note:</strong> I am running this file in <strong>jupyter notebook</strong> and I also changed the path name while redirecting any folder.
  Thanks.</p>
  <p><a href="https://i.stack.imgur.com/jM3lJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jM3lJ.png" alt="My file directory" /></a></p>