<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Change font size, colors on Orders, Invoices...]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5566&amp;type=atom" />
	<updated>2015-02-22T04:13:01Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5566</id>
		<entry>
			<title type="html"><![CDATA[Re: Change font size, colors on Orders, Invoices...]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22668#p22668" />
			<content type="html"><![CDATA[<p>Lines 44 to 47 of <strong>reporting/includes/header2.inc</strong>:<br /></p><div class="codebox"><pre><code>        $this-&gt;SetDrawColor(205, 205, 205);
        $this-&gt;Line($iline1, 3);
        $this-&gt;SetDrawColor(128, 128, 128);
        $this-&gt;Line($iline1);</code></pre></div><p>control that line color and thickness (height).</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-02-22T04:13:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22668#p22668</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Change font size, colors on Orders, Invoices...]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22665#p22665" />
			<content type="html"><![CDATA[<p>thank you for more information. The only thing I was not able to change is the line height just before charge to delivered to line. I wanted to make this line black and bolder.</p>]]></content>
			<author>
				<name><![CDATA[andijani]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20111</uri>
			</author>
			<updated>2015-02-20T14:26:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22665#p22665</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Change font size, colors on Orders, Invoices...]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22640#p22640" />
			<content type="html"><![CDATA[<p>You might want to refer <a href="http://bavotasan.com/2011/convert-hex-color-to-rgb-using-php/">this link</a>:<br /></p><div class="codebox"><pre><code>function hex2rgb($hex) {
   $hex = str_replace(&quot;#&quot;, &quot;&quot;, $hex);

   if(strlen($hex) == 3) {
      $r = hexdec(substr($hex,0,1).substr($hex,0,1));
      $g = hexdec(substr($hex,1,1).substr($hex,1,1));
      $b = hexdec(substr($hex,2,1).substr($hex,2,1));
   } else {
      $r = hexdec(substr($hex,0,2));
      $g = hexdec(substr($hex,2,2));
      $b = hexdec(substr($hex,4,2));
   }
   $rgb = array($r, $g, $b);
   //return implode(&quot;,&quot;, $rgb); // returns the rgb values separated by commas
   return $rgb; // returns an array with the rgb values
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-02-19T06:21:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22640#p22640</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Change font size, colors on Orders, Invoices...]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22639#p22639" />
			<content type="html"><![CDATA[<p>I figured this out. </p><p>To change the color of the document title I changed the codes using http://www.color-hex.com/color/d1199b <br />// Document title<br />&nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;SetTextColor(190, 190, 190);</p><p>To make phone and fax normal I change &#039;italic&#039; to &#039;normal&#039;:<br />// Company data<br />&nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;TextWrapLines($ccol, $icol, $this-&gt;company[&#039;postal_address&#039;]);<br />&nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;Font(&#039;italic&#039;);</p>]]></content>
			<author>
				<name><![CDATA[andijani]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20111</uri>
			</author>
			<updated>2015-02-18T22:46:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22639#p22639</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Change font size, colors on Orders, Invoices...]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22638#p22638" />
			<content type="html"><![CDATA[<p>Thank you for your quick help. This worked for me. </p><p>Do you know the lines for these 2 changes? </p><p>Color and line weight on the header? I want to make it bolder and black. <br />Phone number, Fax, Email are in italics. How to make them normal?</p><p>Thank you<br />Jack</p>]]></content>
			<author>
				<name><![CDATA[andijani]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20111</uri>
			</author>
			<updated>2015-02-18T22:30:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22638#p22638</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Change font size, colors on Orders, Invoices...]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22637#p22637" />
			<content type="html"><![CDATA[<p>Replace 4 with 3 or 2 in the first and last lines of Lines 149 to 152 in <strong>reporting/includes/header2.inc</strong>:<br /></p><div class="codebox"><pre><code>        $this-&gt;fontSize -= 4;
        $this-&gt;Text($ccol, $Addr1[&#039;title&#039;], $icol);
        $this-&gt;Text($mcol, $Addr2[&#039;title&#039;]);
        $this-&gt;fontSize += 4;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-02-18T20:21:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22637#p22637</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Change font size, colors on Orders, Invoices...]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22636#p22636" />
			<content type="html"><![CDATA[<p>Hi developers,</p><p>First, thank you for this awesome program. I am glad that I gave FA a try.&nbsp; I have been using Adempiere for the past 5 years and decided to switch to something lightweight and easier to learn. After using it for 1-2 weeks I already started to feel comfortable with it .&nbsp; It is fast and&nbsp; has many features that simply function. </p><p>I have few questions concerning document modification if you can help with.</p><p>Font size of &quot;Charge to&quot; and &quot;Delivered to&quot; appear too small to read. How to increase it?<br />How can I change the color and line weight on the header?<br />Phone number, Fax, Email are in italics. How to make them normal?</p><p>If you can point at the php file and line number that affect these I would appreciate it. </p><p>Thank you<br />Jack</p>]]></content>
			<author>
				<name><![CDATA[andijani]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20111</uri>
			</author>
			<updated>2015-02-18T18:07:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22636#p22636</id>
		</entry>
</feed>
