Bug (right to left text was done if price decimals were 3). A test sentense from...
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 19 Apr 2008 11:43:39 +0000 (11:43 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 19 Apr 2008 11:43:39 +0000 (11:43 +0000)
CHANGELOG.txt
reporting/includes/pdf_report.inc

index efcd633a423bb9a1ad53c2c337ff6976e342402c..b807e65a3a7242e7c5ff02392f34122dda40a22b 100644 (file)
@@ -19,6 +19,11 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+19-Apr.2008 Joe Hunt
+# Bug (right to left text was done if price decimals were 3). A test sentense from a while
+  ago wasn't removed.
+$ /reporting/includes/pdf_report.inc
+
 18-Apr-2008 Janusz Dobrowolski
 # Additional checks on provisions and break point entry.
 $ /sales/manage/sales_people.php
index b5ce162cdeced7fa42cbf8c1b3dbb19bab886ce4..98d6f3a5d3b868c9223705617d9a88fa5756c542 100644 (file)
@@ -134,15 +134,9 @@ class FrontReport extends Cpdf
                        $fontinclude = true;
                        include($locale);
                }
-               //if ($this->rtl) // this is good for presentation only
                if (!$own)
                {
-                       if (user_price_dec() == 3) // only for presentation of farsi
-                       {
-                               $this->rtl = true;
-                               $path = $path_to_root . 'reporting/fonts/farsi_1.afm';
-                       }
-                       elseif ($style == 'italic')
+                       if ($style == 'italic')
                                $path = $path_to_root . 'reporting/fonts/Helvetica-Oblique.afm';
                        elseif ($style == 'bold')
                                $path = $path_to_root . 'reporting/fonts/Helvetica-Bold.afm';