<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Hindi fonts in pdf]]></title><description><![CDATA[<p>Hi Team,<br />
Hindi fonts are not rendered correctly in Phantom-pdf or Chrome-Pdf.<br />
Please have a look at the below link.<br />
<a href="https://playground.jsreport.net/w/anon/C5YW2A9u" rel="nofollow">https://playground.jsreport.net/w/anon/C5YW2A9u</a></p>
<p>Thanks in advance.</p>
<p>-Vaibhav Jain</p>
]]></description><link>https://forum.jsreport.net/topic/865/hindi-fonts-in-pdf</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 23:38:40 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/865.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Jan 2019 05:02:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hindi fonts in pdf on Invalid Date]]></title><description><![CDATA[<p>Hi Team,<br />
Hindi fonts are not rendered correctly in Phantom-pdf or Chrome-Pdf.<br />
Please have a look at the below link.<br />
<a href="https://playground.jsreport.net/w/anon/C5YW2A9u" rel="nofollow">https://playground.jsreport.net/w/anon/C5YW2A9u</a></p>
<p>Thanks in advance.</p>
<p>-Vaibhav Jain</p>
]]></description><link>https://forum.jsreport.net/post/4185</link><guid isPermaLink="true">https://forum.jsreport.net/post/4185</guid><dc:creator><![CDATA[Vaibhav Jain]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Hindi fonts in pdf on Invalid Date]]></title><description><![CDATA[<p>Yes, such font needs to be installed on the particular linux server. Windows have this pre-installed.<br />
Or you can try to download a webfont from the internet and use it through an asset.<br />
Take a look on this blog post<br />
<a href="https://jsreport.net/blog/fonts-in-pdf" rel="nofollow">https://jsreport.net/blog/fonts-in-pdf</a></p>
]]></description><link>https://forum.jsreport.net/post/4188</link><guid isPermaLink="true">https://forum.jsreport.net/post/4188</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Hindi fonts in pdf on Mon, 07 Jan 2019 23:33:28 GMT]]></title><description><![CDATA[<p>Hi Jan,</p>
<p>Thanks for your reply.</p>
<p>I tried using google fonts <a href="https://fonts.google.com/specimen/Sarala" rel="nofollow">https://fonts.google.com/specimen/Sarala</a> in the jsreport. I got it working in the JSreport playground</p>
<p><a href="https://playground.jsreport.net/w/anon/r7VHIsX0" rel="nofollow">https://playground.jsreport.net/w/anon/r7VHIsX0</a></p>
<p>However, the same is not working in production.<br />
<a href="https://aarfid.jsreportonline.net/studio/templates/HyRdyxsWN" rel="nofollow">https://aarfid.jsreportonline.net/studio/templates/HyRdyxsWN</a></p>
<p>-Vaibhav Jain</p>
]]></description><link>https://forum.jsreport.net/post/4189</link><guid isPermaLink="true">https://forum.jsreport.net/post/4189</guid><dc:creator><![CDATA[Vaibhav Jain]]></dc:creator><pubDate>Mon, 07 Jan 2019 23:33:28 GMT</pubDate></item><item><title><![CDATA[Reply to Hindi fonts in pdf on Invalid Date]]></title><description><![CDATA[<p>I was able to make it work by doing this.<br />
Look into your linked web font<br />
<a href="https://fonts.googleapis.com/css?family=Sarala&amp;subset=devanagari" rel="nofollow">https://fonts.googleapis.com/css?family=Sarala&amp;subset=devanagari</a></p>
<p>There I see url to woff2<br />
<a href="https://fonts.gstatic.com/s/sarala/v2/uK_y4riEZv4o1w9hDBcSAv4.woff2" rel="nofollow">https://fonts.gstatic.com/s/sarala/v2/uK_y4riEZv4o1w9hDBcSAv4.woff2</a></p>
<p>Download and rename it.<br />
Upload it as an asset to jsreportonline.<br />
Use copy button to get the embedding code and paste it to the template.</p>
<p>In the end it looks like this.</p>
<pre><code class="language-html">&lt;html&gt;
&lt;head&gt;
    &lt;style&gt;
      @font-face {
  font-family: 'Sarala';
  src: url({#asset Sarala.woff2 @encoding=dataURI});
  format('woff2');
}
    &lt;/style&gt;
    &lt;style&gt;
        * {
            font-family: Sarala;
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    यह निबंध बहु
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
]]></description><link>https://forum.jsreport.net/post/4199</link><guid isPermaLink="true">https://forum.jsreport.net/post/4199</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>