<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Print Traditional Chinese]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4334&amp;type=atom" />
	<updated>2018-10-02T06:45:36Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4334</id>
		<entry>
			<title type="html"><![CDATA[Re: Print Traditional Chinese]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32784#p32784" />
			<content type="html"><![CDATA[<p>Thank you for the suggested solution.&nbsp; I just faced the same issue, using English for interface but had to use traditional/simplified Chinese.&nbsp; Now the pdf printing works.</p>]]></content>
			<author>
				<name><![CDATA[chan2703]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42794</uri>
			</author>
			<updated>2018-10-02T06:45:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32784#p32784</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Print Traditional Chinese]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17607#p17607" />
			<content type="html"><![CDATA[<p>Provided backlink to this post in the <a href="https://frontaccounting.com/fawiki/index.php?n=Main.Usage"><strong>Wiki</strong></a>.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-09-04T12:25:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17607#p17607</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Print Traditional Chinese]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17589#p17589" />
			<content type="html"><![CDATA[<p>Yes, you are correct.</p>]]></content>
			<author>
				<name><![CDATA[johnyu2012]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18402</uri>
			</author>
			<updated>2013-09-04T02:52:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17589#p17589</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Print Traditional Chinese]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17566#p17566" />
			<content type="html"><![CDATA[<p>To clarify for end users, the change has to be made in reporting/includes/class.pdf.inc by replacing lines 156-162:<br /></p><div class="codebox"><pre><code>                switch ($this-&gt;l[&#039;a_meta_language&#039;])
                {
                    case &quot;ar_EG&quot; :     $fontname = &quot;ae_tholoth&quot;;     break;
                    case &quot;zh_CN&quot; :     $fontname = &quot;gbsn00lp&quot;;     break;
                    case &quot;zh_TW&quot; :     $fontname = &quot;chinese_traditional_cid0&quot;;     break;
                    default :          $fontname = &quot;dejavu&quot;;         break;
                }</code></pre></div><p>to<br /></p><div class="codebox"><pre><code>                switch ($this-&gt;l[&#039;a_meta_language&#039;])
                {
                    case &quot;ar_EG&quot; :     $fontname = &quot;ae_tholoth&quot;;     break;
                    case &quot;zh_CN&quot; :     $fontname = &quot;gbsn00lp&quot;;     break;
                    case &quot;zh_TW&quot; :     $fontname = &quot;chinese_traditional_cid0&quot;;     break;
                    default :          $fontname = &quot;chinese_traditional_cid0&quot;;         break;
                }</code></pre></div><p>Is this what you did?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-09-03T23:23:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17566#p17566</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Print Traditional Chinese]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17527#p17527" />
			<content type="html"><![CDATA[<p>Thanks for this advice.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-08-31T06:33:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17527#p17527</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Print Traditional Chinese]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17526#p17526" />
			<content type="html"><![CDATA[<p>The problem is solved.&nbsp; It is because I personally like to use the English interface.&nbsp; When I tested out some customer names, I have to use Chinese.&nbsp; Since FA reporting language matches with the preference language, it goes to default font name - dejavu instead of chinese_traditional_cid so the scrambled characters come up as result.&nbsp; &nbsp;I have a suggestion for users who like to use English interface but need to print Chinese, you can set the default font name to chinese_traditional_cid because I tested it out and it pretty much covers all the characters of simplified Chinese, traditional Chinese and English.</p>]]></content>
			<author>
				<name><![CDATA[johnyu2012]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18402</uri>
			</author>
			<updated>2013-08-31T04:54:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17526#p17526</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Print Traditional Chinese]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17507#p17507" />
			<content type="html"><![CDATA[<p>This is strange. I haven&#039;t tried it myself. Maybe there are other using the traditional chinese that can help us here.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-08-29T12:54:21Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17507#p17507</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Print Traditional Chinese]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17505#p17505" />
			<content type="html"><![CDATA[<p>Hi, I am new to FA accounting.&nbsp; Just finished installing and trying various of things.&nbsp; I got the input of Chinese working already but I am not able to print it correctly (still comes up with scrambled code).&nbsp; I had already download the chinese_traditional_cid.zip files and placed them in \reporting\font\ already and also check the class.pdf.inc to make sure the font name is chinese_traditional_cid.</p>]]></content>
			<author>
				<name><![CDATA[johnyu2012]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18402</uri>
			</author>
			<updated>2013-08-29T10:18:46Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17505#p17505</id>
		</entry>
</feed>
