<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Use custom fonts]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7122&amp;type=atom" />
	<updated>2017-11-26T05:00:15Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7122</id>
		<entry>
			<title type="html"><![CDATA[Re: Use custom fonts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29756#p29756" />
			<content type="html"><![CDATA[<p>I&#039;ve succeded. It seems it is the problem with my linux. After I use locale-gen ar_EG.utf8, I don&#039;t even need the alarabiya font. I didn&#039;t change the font and it is set to helvetica and it works.</p>]]></content>
			<author>
				<name><![CDATA[barbarian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18954</uri>
			</author>
			<updated>2017-11-26T05:00:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29756#p29756</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Use custom fonts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29572#p29572" />
			<content type="html"><![CDATA[<p>Refer <a href="https://frontaccounting.com/fawiki/index.php?n=Help.InstallUpdateLanugages">this page</a> in the wiki for <em>Arabic Fonts in FA</em> and <a href="https://frontaccounting.com/punbb/viewtopic.php?id=3688">this post</a>. The line number is 157 in FA 2.4 in <strong>reporting/includes/class.pdf.inc</strong> needs to be edited to reference your font.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-11-12T08:49:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29572#p29572</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Use custom fonts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29570#p29570" />
			<content type="html"><![CDATA[<p>Still doesn&#039;t work. I think it is loaded but it displays some weird characters. I also have installed the font in my PC but still doesn&#039;t work.</p>]]></content>
			<author>
				<name><![CDATA[barbarian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18954</uri>
			</author>
			<updated>2017-11-12T06:40:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29570#p29570</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Use custom fonts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29568#p29568" />
			<content type="html"><![CDATA[<p>See <a href="https://frontaccounting.com/punbb/viewtopic.php?id=4364">this post</a> and <a href="https://frontaccounting.com/fawiki/index.php?n=Help.ReportsAndAnalysis">this wiki page</a>.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-11-12T05:20:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29568#p29568</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Use custom fonts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29566#p29566" />
			<content type="html"><![CDATA[<p>Hello,</p><p>I want to ask how to add new font to the report?</p><p>I want to display arabic character and I have downloaded necessary file from <a href="https://github.com/tecnickcom/TCPDF/tree/master/fonts">TCPDF github</a>: <a href="https://raw.githubusercontent.com/tecnickcom/TCPDF/master/fonts/aealarabiya.php">aealarabiya.php</a>, <a href="https://raw.githubusercontent.com/tecnickcom/TCPDF/master/fonts/aealarabiya.ctg.z">aealarabiya.ctg.z</a>, and <a href="https://raw.githubusercontent.com/tecnickcom/TCPDF/master/fonts/aealarabiya.z">aealarabiya.z</a>. I put it in the reporting/fonts folder.</p><p>I add:</p><p>$rep-&gt;AddFont(&#039;aealarabiya&#039;);<br />$rep-&gt;SetFont(&#039;aealarabiya&#039;);</p><p>Still the output PDF doesn&#039;t output any character. Just broken symbol.</p>]]></content>
			<author>
				<name><![CDATA[barbarian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18954</uri>
			</author>
			<updated>2017-11-12T03:00:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29566#p29566</id>
		</entry>
</feed>
