<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Arabic font in PDF not showing in windows server]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8357&amp;type=atom" />
	<updated>2019-08-22T12:10:17Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=8357</id>
		<entry>
			<title type="html"><![CDATA[Re: Arabic font in PDF not showing in windows server]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35777#p35777" />
			<content type="html"><![CDATA[<p>Hi,</p><p>It seems your .mo is in the wrong directory as I described in my post #4 above. Give it a try.. it worked for me after a long suffering. You also might need to restart wampserver in order to see the changes immediately.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2019-08-22T12:10:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35777#p35777</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic font in PDF not showing in windows server]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35775#p35775" />
			<content type="html"><![CDATA[<p>Hello,</p><p>So it seems I have a misunderstanding. I will clear a bit. Maybe you can help me now.<br />1. The data in the database from invoice that I gave the image is broken. So it is the problem in the database. When I create a new invoice with proper input to database, the arabic font is shown. It is both in Windows and Linux. So, in FA, there is no problem anymore.</p><p>2. I have a problem in displaying arabic. Even if I change the language to arabic, FA in my windows will only become RTL but the text will be still in english. I think there is some problem in loading the language po/mo file. Can you help me? There is no problem if the server in linux. I think maybe because arabic language support in Windows but I have installed it and it still not showing the arabic text.</p>]]></content>
			<author>
				<name><![CDATA[barbarian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18954</uri>
			</author>
			<updated>2019-08-22T10:20:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35775#p35775</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic font in PDF not showing in windows server]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35773#p35773" />
			<content type="html"><![CDATA[<p>Hi,<br />Very strange indeed. How can a system be picky with rendering the same data type differently. Arabic is working OK .. The last line shows that perfectly. The only thing that comes to mind is the data above the last item is imported from another system with different character set encoding (Arabic in FA is UTF-8). The last line is definitely entered from the local system.<br />By the way you are using Dejavu font and not alarabiya.<br />Inform us if you find the reason.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2019-08-22T07:46:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35773#p35773</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic font in PDF not showing in windows server]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35772#p35772" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rafat wrote:</cite><blockquote><p>@barbarian,<br />It helps if you include a screen shot of the report ..if you can.<br />Since its working with Linux but not Windows.. are you migrating this data into Windows or entering it directly in Windows?<br />Please make sure that in /reporting/includes/class.pdf.inc has<br /></p><div class="codebox"><pre><code>case &quot;ar_EG&quot; :     $fontname &quot;aealarabiya&quot;;     break;</code></pre></div></blockquote></div><p>Hello,</p><p>So, it turns out some of the arabic are rendered in windows and some are not. I attached the image. https://i.imgur.com/TcmOtMy.jpg</p>]]></content>
			<author>
				<name><![CDATA[barbarian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18954</uri>
			</author>
			<updated>2019-08-22T06:39:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35772#p35772</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic font in PDF not showing in windows server]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35767#p35767" />
			<content type="html"><![CDATA[<p>@barbarian,<br />It helps if you include a screen shot of the report ..if you can.<br />Since its working with Linux but not Windows.. are you migrating this data into Windows or entering it directly in Windows?<br />Please make sure that in /reporting/includes/class.pdf.inc has<br /></p><div class="codebox"><pre><code>case &quot;ar_EG&quot; :     $fontname &quot;aealarabiya&quot;;     break;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2019-08-21T13:57:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35767#p35767</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic font in PDF not showing in windows server]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35764#p35764" />
			<content type="html"><![CDATA[<p>The arabic text is not from the translation. It is the data. Like customer name and item name. So, I don&#039;t think this is po and mo problem. I believe this is windows problem because my laptop using windows 8.1 also cannot display arabic PDF.</p>]]></content>
			<author>
				<name><![CDATA[barbarian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18954</uri>
			</author>
			<updated>2019-08-21T11:50:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35764#p35764</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic font in PDF not showing in windows server]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35763#p35763" />
			<content type="html"><![CDATA[<p>Ok then .. I think your translation file is in the wrong directory... This is tricky with wamp or xampp..luckily this thread fixed the problem as it is to do with some php bug only on windows environment.</p><p>https://frontaccounting.com/punbb/viewtopic.php?id=7113</p><p>basically you need to copy your .mo and .po files to your language locale language folder. and not ar_EG folder.</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2019-08-21T10:57:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35763#p35763</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic font in PDF not showing in windows server]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35760#p35760" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rafat wrote:</cite><blockquote><p>@barbarian</p><p>When you say it failed..do you get any pdf output or the Arabic text is not showing? Is there a Latin text showing?</p></blockquote></div><br /><p>The arabic text is replaced as some sort of symbol.</p>]]></content>
			<author>
				<name><![CDATA[barbarian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18954</uri>
			</author>
			<updated>2019-08-21T10:10:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35760#p35760</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Arabic font in PDF not showing in windows server]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35759#p35759" />
			<content type="html"><![CDATA[<p>@barbarian</p><p>When you say it failed..do you get any pdf output or the Arabic text is not showing? Is there a Latin text showing?</p>]]></content>
			<author>
				<name><![CDATA[rafat]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41964</uri>
			</author>
			<updated>2019-08-21T07:51:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35759#p35759</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Arabic font in PDF not showing in windows server]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35756#p35756" />
			<content type="html"><![CDATA[<p>So, I have developed report in arabic and it is shown correctly in Linux server. When it is deployed to Windows server, it is failed although I have installed alarabiya font and arabic language pack for windows. I am sure there is nothing wrong in my code because it is shown in Linux. Any method to solve this in Windows?</p>]]></content>
			<author>
				<name><![CDATA[barbarian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18954</uri>
			</author>
			<updated>2019-08-21T06:39:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35756#p35756</id>
		</entry>
</feed>
