<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Pappu Ji</title>
    <description>The latest articles on DEV Community by Pappu Ji (@pappuji1984).</description>
    <link>https://dev.to/pappuji1984</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1239330%2F1f388726-923b-433c-9024-d2eff9789a0c.png</url>
      <title>DEV Community: Pappu Ji</title>
      <link>https://dev.to/pappuji1984</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pappuji1984"/>
    <language>en</language>
    <item>
      <title>TCPDF: How to add new custom font in tcpdf</title>
      <dc:creator>Pappu Ji</dc:creator>
      <pubDate>Fri, 22 Dec 2023 14:15:27 +0000</pubDate>
      <link>https://dev.to/pappuji1984/tcpdf-how-to-add-new-custom-font-in-tcpdf-3662</link>
      <guid>https://dev.to/pappuji1984/tcpdf-how-to-add-new-custom-font-in-tcpdf-3662</guid>
      <description>&lt;p&gt;1) Download required font's ttf file&lt;br&gt;
2) Open &lt;a href="http://www.fpdf.org/makefont"&gt;http://www.fpdf.org/makefont&lt;/a&gt; website in the browser and upload the ttf font on this website&lt;br&gt;
3) Download two files &lt;code&gt;customfontname.php&lt;/code&gt; and &lt;code&gt;customfontname.z&lt;/code&gt; &lt;br&gt;
4) Copy these two files into &lt;code&gt;/yourproject/vendor/tecnickcom/tcpdf/fonts/&lt;/code&gt; folder&lt;br&gt;
5) include / set the font in your script before tcpdf html code &lt;code&gt;$pdf-&amp;gt;SetFont('customfontname', '', 12);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Alternate font generation website:&lt;br&gt;
&lt;a href="https://fonts.palettize.me"&gt;https://fonts.palettize.me&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tcpdf</category>
      <category>php</category>
      <category>font</category>
    </item>
  </channel>
</rss>
