diff --git a/htdocs/includes/fpdf/tcpdf/CHANGELOG.TXT b/htdocs/includes/fpdf/tcpdf/CHANGELOG.TXT new file mode 100644 index 00000000000..4a07e0ed36c --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/CHANGELOG.TXT @@ -0,0 +1,67 @@ +1.53.0.TC021 (2006-07-01) + - HTML attributes with whitespaces are now supported (thanks to Nelson Benitez for his support) + +1.53.0.TC020_PHP4 (2006-06-23) + - this version fixes the MBCS error on html_entity_decode + +1.53.0.TC019_PHP4 (2006-06-08) + - this version were backported to PHP4 + +1.53.0.TC019 (2006-05-21) + - fixed and closing tags. + +1.53.0.TC018 (2006-05-18) + - fixed font names bug + +1.53.0.TC017 (2006-05-18) + - the TTF2UFM utility to convert True Type fonts for TCPDF were included on fonts folder. + - new free unicode fonts were included on /fonts/freefont. + - test_unicode.php example were exended. + - parameter $fill were added on Write, writeHTML and writeHTMLCell functions. + - documentation were updated. + +1.53.0.TC016 (2006-03-09) + - fixed closing tag on html parser. + +1.53.0.TC016 (2005-08-28) + - fpdf.php and tcpdf.php files were joined in one single class (you can still extend TCPDF with your own class). + - fixed problem when mb_internal_encoding is set. + +1.53.0.TC014 (2005-05-29) + - fixed WriteHTMLCell new page issue. + +1.53.0.TC013 (2005-05-29) + - fixed WriteHTMLCell across pages. + +1.53.0.TC012 (2005-05-29) + - font color attribute bug were fixed. + +1.53.0.TC011 (2005-03-31) + - SetFont function were fixed (thank Sjaak Lauwers for bug notice). + +1.53.0.TC010 (2005-03-22) + - the html functions were improved (thanks to Manfred Vervuert for bug reporting). + +1.53.0.TC009 (2005-03-19) + - a wrong reference to convertColorHexToDec were fixed. + +1.53.0.TC008 (2005-02-07) + - removed some extra bytes from PHP files. + +1.53.0.TC007 (2005-01-08) + - fill attribute were removed from writeHTMLCell method. + +1.53.0.TC006 (2005-01-08) + - the documentation were updated. + +1.53.0.TC005 (2005-01-05) + - Steven Wittens's unicode methods were removed. + - All unicode methods were rewritten from scratch. + - TCPDF is now licensed as LGPL. + +1.53.0.TC004 (2005-01-04) + - this changelog were added. + - removed comercial fonts for licensing issue. + - Bitstream Vera Fonts were added (http://www.bitstream.com/font_rendering/products/dev_fonts/vera.html). + - Now the AddFont and SetFont functions returns the basic font if the styled version do not exist. + diff --git a/htdocs/includes/fpdf/tcpdf/LICENSE.TXT b/htdocs/includes/fpdf/tcpdf/LICENSE.TXT new file mode 100644 index 00000000000..b1e3f5a2638 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/LICENSE.TXT @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/htdocs/includes/fpdf/tcpdf/README.TXT b/htdocs/includes/fpdf/tcpdf/README.TXT new file mode 100644 index 00000000000..b8a4378d6fd --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/README.TXT @@ -0,0 +1,61 @@ +TCPDF - README +============================================================ + +Name: + TCPDF + +Version: + 1.53.0.TC021_PHP4 + +Release date: + 2006-07-01 + +Author: + Nicola Asuni + +Copyright (c) 2001-2006: + Tecnick.com S.r.l. + Via Ugo Foscolo n.19 + 09045 Quartu Sant'Elena (CA) + ITALY + www.tecnick.com + +URLs: + http://tcpdf.sourceforge.net/ + http://tcpdf.sf.net/ + +Description: + TCPDF is a PHP4 class for generating PDF files on-the-fly without requiring external extensions. + TCPDF is an extension and improvement of the FPDF class by Olivier Plathey (http://www.fpdf.org). + + Main Features: + + - supports all ISO page formats; + - supports UTF-8 Unicode; + - includes methods to publish some xhtml code, supporting the following elements: h1, h2, h3, h4, h5, h6, b, u, i, a, img, p, br, strong, em, font, blockquote, li, ul, ol, hr, td, th, tr, table, sup, sub, small; + - includes a method to print various barcode formats using an improved version of "Generic Barcode Render Class" by Karim Mribti (http://www.mribti.com/barcode/) (require GD library: http://www.boutell.com/gd/) + - supports TrueTypeUnicode, TrueType, Type1 and encoding; + - supports custom page formats, margins and units of measure; + - includes methods for page header and footer management; + - supports automatic page break; + - supports automatic page numbering; + - supports automatic line break and text justification; + - supports JPEG and PNG images; + - supports colors; + - supports links; + - support page compression (require zlib extension: http://www.gzip.org/zlib/); + - the source code is full documented in PhpDocumentor Style (http://www.phpdoc.org). + +Installation: + 1. copy the folder on your Web server + 2. set your installation path on the config/tcpdf_config.php + 3. call the test_unicode.php page with your browser to see an example + NOTE: the test_old.php require proper font setup on tcpdf_config. + +Source Code Documentation: + doc/index.html + +License + GNU LESSER GENERAL PUBLIC LICENSE v.2.1 + http://www.gnu.org/copyleft/lesser.html +============================================================ \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/barcode/barcode.php b/htdocs/includes/fpdf/tcpdf/barcode/barcode.php new file mode 100644 index 00000000000..a4f6d733452 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/barcode/barcode.php @@ -0,0 +1,441 @@ +mWidth = $Width; + $this->mHeight = $Height; + $this->mStyle = $Style; + $this->mFont = BCD_DEFAULT_FONT; + $this->mImg = ImageCreate($this->mWidth, $this->mHeight); + $dbColor = $this->mStyle & BCS_REVERSE_COLOR ? BCD_DEFAULT_FOREGROUND_COLOR : BCD_DEFAULT_BACKGROUND_COLOR; + $dfColor = $this->mStyle & BCS_REVERSE_COLOR ? BCD_DEFAULT_BACKGROUND_COLOR : BCD_DEFAULT_FOREGROUND_COLOR; + $this->mBgcolor = ImageColorAllocate($this->mImg, ($dbColor & 0xFF0000) >> 16, + ($dbColor & 0x00FF00) >> 8, $dbColor & 0x0000FF); + $this->mBrush = ImageColorAllocate($this->mImg, ($dfColor & 0xFF0000) >> 16, + ($dfColor & 0x00FF00) >> 8, $dfColor & 0x0000FF); + if (!($this->mStyle & BCS_TRANSPARENT)) { + ImageFill($this->mImg, $this->mWidth, $this->mHeight, $this->mBgcolor); + } + } + + /** + * Returns the image object. + * @return object image. + * @author Nicola Asuni + * @since 1.5.2 + */ + function getImage() { + return $this->mImg; + } + + /** + * Abstract method used to draw the barcode image. + * @param int $xres Horizontal resolution. + */ + function DrawObject($xres) { + /* there is not implementation neded, is simply the asbsract function. */ + return false; + } + + /** + * Draws the barcode border. + * @access protected + */ + function DrawBorder() { + ImageRectangle($this->mImg, 0, 0, $this->mWidth-1, $this->mHeight-1, $this->mBrush); + } + + /** + * Draws the alphanumeric code. + * @param int $Font Font type. + * @param int $xPos Horiziontal position. + * @param int $yPos Vertical position. + * @param int $Char Alphanumeric code to write. + * @access protected + */ + function DrawChar($Font, $xPos, $yPos, $Char) { + ImageString($this->mImg,$Font,$xPos,$yPos,$Char,$this->mBrush); + } + + /** + * Draws a character string. + * @param int $Font Font type. + * @param int $xPos Horiziontal position. + * @param int $yPos Vertical position. + * @param int $Char string to write. + * @access protected + */ + function DrawText($Font, $xPos, $yPos, $Char) { + ImageString($this->mImg,$Font,$xPos,$yPos,$Char,$this->mBrush); + } + + /** + * Draws a single barcode bar. + * @param int $xPos Horiziontal position. + * @param int $yPos Vertical position. + * @param int $xSize Horizontal size. + * @param int $xSize Vertical size. + * @return bool trur in case of success, false otherwise. + * @access protected + */ + function DrawSingleBar($xPos, $yPos, $xSize, $ySize) { + if ($xPos>=0 && $xPos<=$this->mWidth && ($xPos+$xSize)<=$this->mWidth && + $yPos>=0 && $yPos<=$this->mHeight && ($yPos+$ySize)<=$this->mHeight) { + for ($i=0;$i<$xSize;$i++) { + ImageLine($this->mImg, $xPos+$i, $yPos, $xPos+$i, $yPos+$ySize, $this->mBrush); + } + return true; + } + return false; + } + + /** + * Returns the current error message. + * @return string error message. + */ + function GetError() { + return $this->mError; + } + + /** + * Returns the font height. + * @param int $font font type. + * @return int font height. + */ + function GetFontHeight($font) { + return ImageFontHeight($font); + } + + /** + * Returns the font width. + * @param int $font font type. + * @return int font width. + */ + function GetFontWidth($font) { + return ImageFontWidth($font); + } + + /** + * Set font type. + * @param int $font font type. + */ + function SetFont($font) { + $this->mFont = $font; + } + + /** + * Returns barcode style. + * @return int barcode style. + */ + function GetStyle() { + return $this->mStyle; + } + + /** + * Set barcode style. + * @param int $Style barcode style. + */ + function SetStyle ($Style) { + $this->mStyle = $Style; + } + + /** + * Flush the barcode image. + */ + function FlushObject() { + if (($this->mStyle & BCS_BORDER)) { + $this->DrawBorder(); + } + if ($this->mStyle & BCS_IMAGE_PNG) { + Header("Content-Type: image/png"); + ImagePng($this->mImg); + } else if ($this->mStyle & BCS_IMAGE_JPEG) { + Header("Content-Type: image/jpeg"); + ImageJpeg($this->mImg); + } + } + + /** + * Destroy the barcode image. + */ + function DestroyObject() { + ImageDestroy($this->mImg); + } +} + +//============================================================+ +// END OF FILE +//============================================================+ +?> \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/barcode/c128aobject.php b/htdocs/includes/fpdf/tcpdf/barcode/c128aobject.php new file mode 100644 index 00000000000..8b503e88c2a --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/barcode/c128aobject.php @@ -0,0 +1,399 @@ + + * Code 128-A is a continuous, multilevel and include all upper case alphanumeric characters and ASCII control characters. + * @author Karim Mribti, Nicola Asuni + * @name BarcodeObject + * @package com.tecnick.tcpdf + * @version 0.0.8a 2001-04-01 (original code) + * @since 2001-03-25 + * @license http://www.gnu.org/copyleft/lesser.html LGPL + */ + +/** + * Code 128-A Barcode Render Class for PHP using the GD graphics library.
+ * Code 128-A is a continuous, multilevel and include all upper case alphanumeric characters and ASCII control characters. + * @author Karim Mribti, Nicola Asuni + * @name BarcodeObject + * @package com.tecnick.tcpdf + * @version 0.0.8a 2001-04-01 (original code) + * @since 2001-03-25 + * @license http://www.gnu.org/copyleft/lesser.html LGPL + */ +class C128AObject extends BarcodeObject { + + /** + * Class Constructor. + * @param int $Width Image width in pixels. + * @param int $Height Image height in pixels. + * @param int $Style Barcode style. + * @param int $Value value to print on barcode. + */ + function C128AObject($Width, $Height, $Style, $Value) { + $this->BarcodeObject($Width, $Height, $Style); + $this->mValue = $Value; + $this->mChars = " !\"#$%&'()*+�-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"; + $this->mCharSet = array ( + "212222", /* 00 */ + "222122", /* 01 */ + "222221", /* 02 */ + "121223", /* 03 */ + "121322", /* 04 */ + "131222", /* 05 */ + "122213", /* 06 */ + "122312", /* 07 */ + "132212", /* 08 */ + "221213", /* 09 */ + "221312", /* 10 */ + "231212", /* 11 */ + "112232", /* 12 */ + "122132", /* 13 */ + "122231", /* 14 */ + "113222", /* 15 */ + "123122", /* 16 */ + "123221", /* 17 */ + "223211", /* 18 */ + "221132", /* 19 */ + "221231", /* 20 */ + "213212", /* 21 */ + "223112", /* 22 */ + "312131", /* 23 */ + "311222", /* 24 */ + "321122", /* 25 */ + "321221", /* 26 */ + "312212", /* 27 */ + "322112", /* 28 */ + "322211", /* 29 */ + "212123", /* 30 */ + "212321", /* 31 */ + "232121", /* 32 */ + "111323", /* 33 */ + "131123", /* 34 */ + "131321", /* 35 */ + "112313", /* 36 */ + "132113", /* 37 */ + "132311", /* 38 */ + "211313", /* 39 */ + "231113", /* 40 */ + "231311", /* 41 */ + "112133", /* 42 */ + "112331", /* 43 */ + "132131", /* 44 */ + "113123", /* 45 */ + "113321", /* 46 */ + "133121", /* 47 */ + "313121", /* 48 */ + "211331", /* 49 */ + "231131", /* 50 */ + "213113", /* 51 */ + "213311", /* 52 */ + "213131", /* 53 */ + "311123", /* 54 */ + "311321", /* 55 */ + "331121", /* 56 */ + "312113", /* 57 */ + "312311", /* 58 */ + "332111", /* 59 */ + "314111", /* 60 */ + "221411", /* 61 */ + "431111", /* 62 */ + "111224", /* 63 */ + "111422", /* 64 */ + "121124", /* 65 */ + "121421", /* 66 */ + "141122", /* 67 */ + "141221", /* 68 */ + "112214", /* 69 */ + "112412", /* 70 */ + "122114", /* 71 */ + "122411", /* 72 */ + "142112", /* 73 */ + "142211", /* 74 */ + "241211", /* 75 */ + "221114", /* 76 */ + "413111", /* 77 */ + "241112", /* 78 */ + "134111", /* 79 */ + "111242", /* 80 */ + "121142", /* 81 */ + "121241", /* 82 */ + "114212", /* 83 */ + "124112", /* 84 */ + "124211", /* 85 */ + "411212", /* 86 */ + "421112", /* 87 */ + "421211", /* 88 */ + "212141", /* 89 */ + "214121", /* 90 */ + "412121", /* 91 */ + "111143", /* 92 */ + "111341", /* 93 */ + "131141", /* 94 */ + "114113", /* 95 */ + "114311", /* 96 */ + "411113", /* 97 */ + "411311", /* 98 */ + "113141", /* 99 */ + "114131", /* 100 */ + "311141", /* 101 */ + "411131" /* 102 */ + ); + } + + /** + * Returns the character index. + * @param char $char character. + * @return int character index or -1 in case of error. + * @access private + */ + function GetCharIndex($char) { + for ($i=0;$i<64;$i++) { + if ($this->mChars[$i] == $char) { + return $i; + } + } + return -1; + } + + /** + * Returns the bar size. + * @param int $xres Horizontal resolution. + * @param char $char Character. + * @return int barcode size. + * @access private + */ + function GetBarSize($xres, $char) { + switch ($char) { + case '1': { + $cVal = BCD_C128_BAR_1; + break; + } + case '2': { + $cVal = BCD_C128_BAR_2; + break; + } + case '3': { + $cVal = BCD_C128_BAR_3; + break; + } + case '4': { + $cVal = BCD_C128_BAR_4; + break; + } + default: { + $cVal = 0; + } + } + return $cVal * $xres; + } + + /** + * Returns barcode size. + * @param int $xres Horizontal resolution. + * @return barcode size. + * @access private + */ + function GetSize($xres) { + $len = strlen($this->mValue); + + if ($len == 0) { + $this->mError = "Null value"; + return false; + } + $ret = 0; + for ($i=0;$i<$len;$i++) { + if (($id = $this->GetCharIndex($this->mValue[$i])) == -1) { + $this->mError = "C128A not include the char '".$this->mValue[$i]."'"; + return false; + } else { + $cset = $this->mCharSet[$id]; + $ret += $this->GetBarSize($xres, $cset[0]); + $ret += $this->GetBarSize($xres, $cset[1]); + $ret += $this->GetBarSize($xres, $cset[2]); + $ret += $this->GetBarSize($xres, $cset[3]); + $ret += $this->GetBarSize($xres, $cset[4]); + $ret += $this->GetBarSize($xres, $cset[5]); + } + } + + /* length of Check character */ + $cset = $this->GetCheckCharValue(); + $CheckSize = 0; + for ($i=0;$i<6;$i++) { + $CheckSize += $this->GetBarSize($cset[$i], $xres); + } + $StartSize = 2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + BCD_C128_BAR_4*$xres; + $StopSize = 2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + 2*BCD_C128_BAR_3*$xres; + return $StartSize + $ret + $CheckSize + $StopSize; + } + + /** + * Returns the check-char value. + * @return string. + * @access private + */ + function GetCheckCharValue() { + $len = strlen($this->mValue); + $sum = 103; // 'A' type; + for ($i=0;$i<$len;$i++) { + $sum += $this->GetCharIndex($this->mValue[$i]) * ($i+1); + } + $check = $sum % 103; + return $this->mCharSet[$check]; + } + + /** + * Draws the start code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawStart($DrawPos, $yPos, $ySize, $xres) { + /* Start code is '211412' */ + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('2', $xres) , $ySize); + $DrawPos += $this->GetBarSize('2', $xres); + $DrawPos += $this->GetBarSize('1', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('1', $xres) , $ySize); + $DrawPos += $this->GetBarSize('1', $xres); + $DrawPos += $this->GetBarSize('4', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('1', $xres) , $ySize); + $DrawPos += $this->GetBarSize('1', $xres); + $DrawPos += $this->GetBarSize('2', $xres); + return $DrawPos; + } + + /** + * Draws the stop code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawStop($DrawPos, $yPos, $ySize, $xres) { + /* Stop code is '2331112' */ + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('2', $xres) , $ySize); + $DrawPos += $this->GetBarSize('2', $xres); + $DrawPos += $this->GetBarSize('3', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('3', $xres) , $ySize); + $DrawPos += $this->GetBarSize('3', $xres); + $DrawPos += $this->GetBarSize('1', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('1', $xres) , $ySize); + $DrawPos += $this->GetBarSize('1', $xres); + $DrawPos += $this->GetBarSize('1', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('2', $xres) , $ySize); + $DrawPos += $this->GetBarSize('2', $xres); + return $DrawPos; + } + + /** + * Draws the check-char code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawCheckChar($DrawPos, $yPos, $ySize, $xres) { + $cset = $this->GetCheckCharValue(); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[0], $xres) , $ySize); + $DrawPos += $this->GetBarSize($cset[0], $xres); + $DrawPos += $this->GetBarSize($cset[1], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[2], $xres) , $ySize); + $DrawPos += $this->GetBarSize($cset[2], $xres); + $DrawPos += $this->GetBarSize($cset[3], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[4], $xres) , $ySize); + $DrawPos += $this->GetBarSize($cset[4], $xres); + $DrawPos += $this->GetBarSize($cset[5], $xres); + return $DrawPos; + } + + /** + * Draws the barcode object. + * @param int $xres Horizontal resolution. + * @return bool true in case of success. + */ + function DrawObject($xres) { + $len = strlen($this->mValue); + if (($size = $this->GetSize($xres))==0) { + return false; + } + + if ($this->mStyle & BCS_ALIGN_CENTER) $sPos = (integer)(($this->mWidth - $size ) / 2); + else if ($this->mStyle & BCS_ALIGN_RIGHT) $sPos = $this->mWidth - $size; + else $sPos = 0; + + /* Total height of bar code -Bars only- */ + if ($this->mStyle & BCS_DRAW_TEXT) $ysize = $this->mHeight - BCD_DEFAULT_MAR_Y1 - BCD_DEFAULT_MAR_Y2 - $this->GetFontHeight($this->mFont); + else $ysize = $this->mHeight - BCD_DEFAULT_MAR_Y1 - BCD_DEFAULT_MAR_Y2; + + /* Draw text */ + if ($this->mStyle & BCS_DRAW_TEXT) { + if ($this->mStyle & BCS_STRETCH_TEXT) { + for ($i=0;$i<$len;$i++) { + $this->DrawChar($this->mFont, $sPos+(2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + BCD_C128_BAR_4*$xres)+($size/$len)*$i, + $ysize + BCD_DEFAULT_MAR_Y1 + BCD_DEFAULT_TEXT_OFFSET, $this->mValue[$i]); + } + } else {/* Center */ + $text_width = $this->GetFontWidth($this->mFont) * strlen($this->mValue); + $this->DrawText($this->mFont, $sPos+(($size-$text_width)/2)+(2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + BCD_C128_BAR_4*$xres), + $ysize + BCD_DEFAULT_MAR_Y1 + BCD_DEFAULT_TEXT_OFFSET, $this->mValue); + } + } + + $cPos = 0; + $DrawPos = $this->DrawStart($sPos, BCD_DEFAULT_MAR_Y1 , $ysize, $xres); + do { + $c = $this->GetCharIndex($this->mValue[$cPos]); + $cset = $this->mCharSet[$c]; + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[0], $xres) , $ysize); + $DrawPos += $this->GetBarSize($cset[0], $xres); + $DrawPos += $this->GetBarSize($cset[1], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[2], $xres) , $ysize); + $DrawPos += $this->GetBarSize($cset[2], $xres); + $DrawPos += $this->GetBarSize($cset[3], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[4], $xres) , $ysize); + $DrawPos += $this->GetBarSize($cset[4], $xres); + $DrawPos += $this->GetBarSize($cset[5], $xres); + $cPos++; + } while ($cPos<$len); + $DrawPos = $this->DrawCheckChar($DrawPos, BCD_DEFAULT_MAR_Y1 , $ysize, $xres); + $DrawPos = $this->DrawStop($DrawPos, BCD_DEFAULT_MAR_Y1 , $ysize, $xres); + return true; + } +} + +//============================================================+ +// END OF FILE +//============================================================+ +?> \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/barcode/c128bobject.php b/htdocs/includes/fpdf/tcpdf/barcode/c128bobject.php new file mode 100644 index 00000000000..b8edf28b25e --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/barcode/c128bobject.php @@ -0,0 +1,399 @@ + +* Code 128-B is a continuous, multilevel and full ASCII code. +* @author Karim Mribti, Nicola Asuni +* @name BarcodeObject +* @package com.tecnick.tcpdf +* @version 0.0.8a 2001-04-01 (original code) +* @since 2001-03-25 +* @license http://www.gnu.org/copyleft/lesser.html LGPL +*/ + +/** +* Code 128-B Barcode Render Class for PHP using the GD graphics library.
+* Code 128-B is a continuous, multilevel and full ASCII code. +* @author Karim Mribti, Nicola Asuni +* @name BarcodeObject +* @package com.tecnick.tcpdf +* @version 0.0.8a 2001-04-01 (original code) +* @since 2001-03-25 +* @license http://www.gnu.org/copyleft/lesser.html LGPL +*/ +class C128BObject extends BarcodeObject { + + /** + * Class Constructor. + * @param int $Width Image width in pixels. + * @param int $Height Image height in pixels. + * @param int $Style Barcode style. + * @param int $Value value to print on barcode. + */ + function C128BObject($Width, $Height, $Style, $Value) { + $this->BarcodeObject($Width, $Height, $Style); + $this->mValue = $Value; + $this->mChars = " !\"#$%&'()*+�-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{ }~"; + $this->mCharSet = array ( + "212222", /* 00 */ + "222122", /* 01 */ + "222221", /* 02 */ + "121223", /* 03 */ + "121322", /* 04 */ + "131222", /* 05 */ + "122213", /* 06 */ + "122312", /* 07 */ + "132212", /* 08 */ + "221213", /* 09 */ + "221312", /* 10 */ + "231212", /* 11 */ + "112232", /* 12 */ + "122132", /* 13 */ + "122231", /* 14 */ + "113222", /* 15 */ + "123122", /* 16 */ + "123221", /* 17 */ + "223211", /* 18 */ + "221132", /* 19 */ + "221231", /* 20 */ + "213212", /* 21 */ + "223112", /* 22 */ + "312131", /* 23 */ + "311222", /* 24 */ + "321122", /* 25 */ + "321221", /* 26 */ + "312212", /* 27 */ + "322112", /* 28 */ + "322211", /* 29 */ + "212123", /* 30 */ + "212321", /* 31 */ + "232121", /* 32 */ + "111323", /* 33 */ + "131123", /* 34 */ + "131321", /* 35 */ + "112313", /* 36 */ + "132113", /* 37 */ + "132311", /* 38 */ + "211313", /* 39 */ + "231113", /* 40 */ + "231311", /* 41 */ + "112133", /* 42 */ + "112331", /* 43 */ + "132131", /* 44 */ + "113123", /* 45 */ + "113321", /* 46 */ + "133121", /* 47 */ + "313121", /* 48 */ + "211331", /* 49 */ + "231131", /* 50 */ + "213113", /* 51 */ + "213311", /* 52 */ + "213131", /* 53 */ + "311123", /* 54 */ + "311321", /* 55 */ + "331121", /* 56 */ + "312113", /* 57 */ + "312311", /* 58 */ + "332111", /* 59 */ + "314111", /* 60 */ + "221411", /* 61 */ + "431111", /* 62 */ + "111224", /* 63 */ + "111422", /* 64 */ + "121124", /* 65 */ + "121421", /* 66 */ + "141122", /* 67 */ + "141221", /* 68 */ + "112214", /* 69 */ + "112412", /* 70 */ + "122114", /* 71 */ + "122411", /* 72 */ + "142112", /* 73 */ + "142211", /* 74 */ + "241211", /* 75 */ + "221114", /* 76 */ + "413111", /* 77 */ + "241112", /* 78 */ + "134111", /* 79 */ + "111242", /* 80 */ + "121142", /* 81 */ + "121241", /* 82 */ + "114212", /* 83 */ + "124112", /* 84 */ + "124211", /* 85 */ + "411212", /* 86 */ + "421112", /* 87 */ + "421211", /* 88 */ + "212141", /* 89 */ + "214121", /* 90 */ + "412121", /* 91 */ + "111143", /* 92 */ + "111341", /* 93 */ + "131141", /* 94 */ + "114113", /* 95 */ + "114311", /* 96 */ + "411113", /* 97 */ + "411311", /* 98 */ + "113141", /* 99 */ + "114131", /* 100 */ + "311141", /* 101 */ + "411131" /* 102 */ + ); + } + + /** + * Returns the character index. + * @param char $char character. + * @return int character index or -1 in case of error. + * @access private + */ + function GetCharIndex($char) { + for ($i=0;$i<95;$i++) { + if ($this->mChars[$i] == $char) { + return $i; + } + } + return -1; + } + + /** + * Returns the bar size. + * @param int $xres Horizontal resolution. + * @param char $char Character. + * @return int barcode size. + * @access private + */ + function GetBarSize($xres, $char) { + switch ($char) { + case '1': { + $cVal = BCD_C128_BAR_1; + break; + } + case '2': { + $cVal = BCD_C128_BAR_2; + break; + } + case '3': { + $cVal = BCD_C128_BAR_3; + break; + } + case '4': { + $cVal = BCD_C128_BAR_4; + break; + } + default: { + $cVal = 0; + } + } + return $cVal * $xres; + } + + /** + * Returns barcode size. + * @param int $xres Horizontal resolution. + * @return barcode size. + * @access private + */ + function GetSize($xres) { + $len = strlen($this->mValue); + + if ($len == 0) { + $this->mError = "Null value"; + return false; + } + $ret = 0; + for ($i=0;$i<$len;$i++) { + if (($id = $this->GetCharIndex($this->mValue[$i])) == -1) { + $this->mError = "C128B not include the char '".$this->mValue[$i]."'"; + return false; + } else { + $cset = $this->mCharSet[$id]; + $ret += $this->GetBarSize($xres, $cset[0]); + $ret += $this->GetBarSize($xres, $cset[1]); + $ret += $this->GetBarSize($xres, $cset[2]); + $ret += $this->GetBarSize($xres, $cset[3]); + $ret += $this->GetBarSize($xres, $cset[4]); + $ret += $this->GetBarSize($xres, $cset[5]); + } + } + /* length of Check character */ + $cset = $this->GetCheckCharValue(); + $CheckSize = 0; + for ($i=0;$i<6;$i++) { + $CheckSize += $this->GetBarSize($cset[$i], $xres); + } + + $StartSize = 2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + BCD_C128_BAR_4*$xres; + $StopSize = 2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + 2*BCD_C128_BAR_3*$xres; + + return $StartSize + $ret + $CheckSize + $StopSize; + } + + /** + * Returns the check-char value. + * @return string. + * @access private + */ + function GetCheckCharValue() { + $len = strlen($this->mValue); + $sum = 104; // 'B' type; + for ($i=0;$i<$len;$i++) { + $sum += $this->GetCharIndex($this->mValue[$i]) * ($i+1); + } + $check = $sum % 103; + return $this->mCharSet[$check]; + } + + /** + * Draws the start code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawStart($DrawPos, $yPos, $ySize, $xres) { + /* Start code is '211214' */ + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('2', $xres), $ySize); + $DrawPos += $this->GetBarSize('2', $xres); + $DrawPos += $this->GetBarSize('1', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('1', $xres), $ySize); + $DrawPos += $this->GetBarSize('1', $xres); + $DrawPos += $this->GetBarSize('2', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('1', $xres), $ySize); + $DrawPos += $this->GetBarSize('1', $xres); + $DrawPos += $this->GetBarSize('4', $xres); + return $DrawPos; + } + + /** + * Draws the stop code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawStop($DrawPos, $yPos, $ySize, $xres) { + /* Stop code is '2331112' */ + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('2', $xres) , $ySize); + $DrawPos += $this->GetBarSize('2', $xres); + $DrawPos += $this->GetBarSize('3', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('3', $xres) , $ySize); + $DrawPos += $this->GetBarSize('3', $xres); + $DrawPos += $this->GetBarSize('1', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('1', $xres) , $ySize); + $DrawPos += $this->GetBarSize('1', $xres); + $DrawPos += $this->GetBarSize('1', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('2', $xres) , $ySize); + $DrawPos += $this->GetBarSize('2', $xres); + return $DrawPos; + } + + /** + * Draws the check-char code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawCheckChar($DrawPos, $yPos, $ySize, $xres) { + $cset = $this->GetCheckCharValue(); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[0], $xres) , $ySize); + $DrawPos += $this->GetBarSize($cset[0], $xres); + $DrawPos += $this->GetBarSize($cset[1], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[2], $xres) , $ySize); + $DrawPos += $this->GetBarSize($cset[2], $xres); + $DrawPos += $this->GetBarSize($cset[3], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[4], $xres) , $ySize); + $DrawPos += $this->GetBarSize($cset[4], $xres); + $DrawPos += $this->GetBarSize($cset[5], $xres); + return $DrawPos; + } + + /** + * Draws the barcode object. + * @param int $xres Horizontal resolution. + * @return bool true in case of success. + */ + function DrawObject($xres) { + $len = strlen($this->mValue); + if (($size = $this->GetSize($xres))==0) { + return false; + } + + if ($this->mStyle & BCS_ALIGN_CENTER) $sPos = (integer)(($this->mWidth - $size ) / 2); + else if ($this->mStyle & BCS_ALIGN_RIGHT) $sPos = $this->mWidth - $size; + else $sPos = 0; + + /* Total height of bar code -Bars only- */ + if ($this->mStyle & BCS_DRAW_TEXT) $ysize = $this->mHeight - BCD_DEFAULT_MAR_Y1 - BCD_DEFAULT_MAR_Y2 - $this->GetFontHeight($this->mFont); + else $ysize = $this->mHeight - BCD_DEFAULT_MAR_Y1 - BCD_DEFAULT_MAR_Y2; + + /* Draw text */ + if ($this->mStyle & BCS_DRAW_TEXT) { + if ($this->mStyle & BCS_STRETCH_TEXT) { + for ($i=0;$i<$len;$i++) { + $this->DrawChar($this->mFont, $sPos+(2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + BCD_C128_BAR_4*$xres)+($size/$len)*$i, + $ysize + BCD_DEFAULT_MAR_Y1 + BCD_DEFAULT_TEXT_OFFSET, $this->mValue[$i]); + } + } else {/* Center */ + $text_width = $this->GetFontWidth($this->mFont) * strlen($this->mValue); + $this->DrawText($this->mFont, $sPos+(($size-$text_width)/2)+(2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + BCD_C128_BAR_4*$xres), + $ysize + BCD_DEFAULT_MAR_Y1 + BCD_DEFAULT_TEXT_OFFSET, $this->mValue); + } + } + + $cPos = 0; + $DrawPos = $this->DrawStart($sPos, BCD_DEFAULT_MAR_Y1 , $ysize, $xres); + do { + $c = $this->GetCharIndex($this->mValue[$cPos]); + $cset = $this->mCharSet[$c]; + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[0], $xres) , $ysize); + $DrawPos += $this->GetBarSize($cset[0], $xres); + $DrawPos += $this->GetBarSize($cset[1], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[2], $xres) , $ysize); + $DrawPos += $this->GetBarSize($cset[2], $xres); + $DrawPos += $this->GetBarSize($cset[3], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[4], $xres) , $ysize); + $DrawPos += $this->GetBarSize($cset[4], $xres); + $DrawPos += $this->GetBarSize($cset[5], $xres); + $cPos++; + } while ($cPos<$len); + $DrawPos = $this->DrawCheckChar($DrawPos, BCD_DEFAULT_MAR_Y1 , $ysize, $xres); + $DrawPos = $this->DrawStop($DrawPos, BCD_DEFAULT_MAR_Y1 , $ysize, $xres); + return true; + } +} + +//============================================================+ +// END OF FILE +//============================================================+ +?> \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/barcode/c128cobject.php b/htdocs/includes/fpdf/tcpdf/barcode/c128cobject.php new file mode 100644 index 00000000000..041e06be08f --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/barcode/c128cobject.php @@ -0,0 +1,419 @@ + + * Code 128-C is numeric only and provides the most efficiency. + * @author Karim Mribti, Nicola Asuni + * @name BarcodeObject + * @package com.tecnick.tcpdf + * @version 0.0.8a 2001-04-01 (original code) + * @since 2001-03-25 + * @license http://www.gnu.org/copyleft/lesser.html LGPL + */ + +/** + * Code 128-C Barcode Render Class for PHP using the GD graphics library.
+ * Code 128-C is numeric only and provides the most efficiency. + * @author Karim Mribti, Nicola Asuni + * @name BarcodeObject + * @package com.tecnick.tcpdf + * @version 0.0.8a 2001-04-01 (original code) + * @since 2001-03-25 + * @license http://www.gnu.org/copyleft/lesser.html LGPL + */ +class C128CObject extends BarcodeObject { + + /** + * Class Constructor. + * @param int $Width Image width in pixels. + * @param int $Height Image height in pixels. + * @param int $Style Barcode style. + * @param int $Value value to print on barcode. + */ + function C128CObject($Width, $Height, $Style, $Value) { + $this->BarcodeObject($Width, $Height, $Style); + $this->mValue = $Value; + $this->mChars = array ( + "00", "01", "02", "03", "04", "05", "06", "07", "08", "09", + "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", + "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", + "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", + "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", + "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", + "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", + "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", + "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", + "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", + ); + $this->mCharSet = array ( + "212222", /* 00 */ + "222122", /* 01 */ + "222221", /* 02 */ + "121223", /* 03 */ + "121322", /* 04 */ + "131222", /* 05 */ + "122213", /* 06 */ + "122312", /* 07 */ + "132212", /* 08 */ + "221213", /* 09 */ + "221312", /* 10 */ + "231212", /* 11 */ + "112232", /* 12 */ + "122132", /* 13 */ + "122231", /* 14 */ + "113222", /* 15 */ + "123122", /* 16 */ + "123221", /* 17 */ + "223211", /* 18 */ + "221132", /* 19 */ + "221231", /* 20 */ + "213212", /* 21 */ + "223112", /* 22 */ + "312131", /* 23 */ + "311222", /* 24 */ + "321122", /* 25 */ + "321221", /* 26 */ + "312212", /* 27 */ + "322112", /* 28 */ + "322211", /* 29 */ + "212123", /* 30 */ + "212321", /* 31 */ + "232121", /* 32 */ + "111323", /* 33 */ + "131123", /* 34 */ + "131321", /* 35 */ + "112313", /* 36 */ + "132113", /* 37 */ + "132311", /* 38 */ + "211313", /* 39 */ + "231113", /* 40 */ + "231311", /* 41 */ + "112133", /* 42 */ + "112331", /* 43 */ + "132131", /* 44 */ + "113123", /* 45 */ + "113321", /* 46 */ + "133121", /* 47 */ + "313121", /* 48 */ + "211331", /* 49 */ + "231131", /* 50 */ + "213113", /* 51 */ + "213311", /* 52 */ + "213131", /* 53 */ + "311123", /* 54 */ + "311321", /* 55 */ + "331121", /* 56 */ + "312113", /* 57 */ + "312311", /* 58 */ + "332111", /* 59 */ + "314111", /* 60 */ + "221411", /* 61 */ + "431111", /* 62 */ + "111224", /* 63 */ + "111422", /* 64 */ + "121124", /* 65 */ + "121421", /* 66 */ + "141122", /* 67 */ + "141221", /* 68 */ + "112214", /* 69 */ + "112412", /* 70 */ + "122114", /* 71 */ + "122411", /* 72 */ + "142112", /* 73 */ + "142211", /* 74 */ + "241211", /* 75 */ + "221114", /* 76 */ + "413111", /* 77 */ + "241112", /* 78 */ + "134111", /* 79 */ + "111242", /* 80 */ + "121142", /* 81 */ + "121241", /* 82 */ + "114212", /* 83 */ + "124112", /* 84 */ + "124211", /* 85 */ + "411212", /* 86 */ + "421112", /* 87 */ + "421211", /* 88 */ + "212141", /* 89 */ + "214121", /* 90 */ + "412121", /* 91 */ + "111143", /* 92 */ + "111341", /* 93 */ + "131141", /* 94 */ + "114113", /* 95 */ + "114311", /* 96 */ + "411113", /* 97 */ + "411311", /* 98 */ + "113141", /* 99 */ + ); + } + + /** + * Returns the character index. + * @param char $char character. + * @return int character index or -1 in case of error. + * @access private + */ + function GetCharIndex($char) { + for ($i=0;$i<100;$i++) { + if ($this->mChars[$i] == $char) { + return $i; + } + } + return -1; + } + + /** + * Returns the bar size. + * @param int $xres Horizontal resolution. + * @param char $char Character. + * @return int barcode size. + * @access private + */ + function GetBarSize($xres, $char) { + switch ($char) { + case '1': { + $cVal = BCD_C128_BAR_1; + break; + } + case '2': { + $cVal = BCD_C128_BAR_2; + break; + } + case '3': { + $cVal = BCD_C128_BAR_3; + break; + } + case '4': { + $cVal = BCD_C128_BAR_4; + break; + } + default: { + $cVal = 0; + } + } + return $cVal * $xres; + } + + /** + * Returns barcode size. + * @param int $xres Horizontal resolution. + * @return barcode size. + * @access private + */ + function GetSize($xres) { + $len = strlen($this->mValue); + + if ($len == 0) { + $this->mError = "Null value"; + return false; + } + $ret = 0; + + for ($i=0;$i<$len;$i++) { + if ((ord($this->mValue[$i])<48) || (ord($this->mValue[$i])>57)) { + $this->mError = "Code-128C is numeric only"; + return false; + } + } + + if (($len%2) != 0) { + $this->mError = "The length of barcode value must be even. You must pad the number with zeros."; + return false; + } + + for ($i=0;$i<$len;$i+=2) { + $id = $this->GetCharIndex($this->mValue[$i].$this->mValue[$i+1]); + $cset = $this->mCharSet[$id]; + $ret += $this->GetBarSize($xres, $cset[0]); + $ret += $this->GetBarSize($xres, $cset[1]); + $ret += $this->GetBarSize($xres, $cset[2]); + $ret += $this->GetBarSize($xres, $cset[3]); + $ret += $this->GetBarSize($xres, $cset[4]); + $ret += $this->GetBarSize($xres, $cset[5]); + } + /* length of Check character */ + $cset = $this->GetCheckCharValue(); + $CheckSize = 0; + for ($i=0;$i<6;$i++) { + $CheckSize += $this->GetBarSize($cset[$i], $xres); + } + + $StartSize = 2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + BCD_C128_BAR_4*$xres; + $StopSize = 2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + 2*BCD_C128_BAR_3*$xres; + return $StartSize + $ret + $CheckSize + $StopSize; + } + + /** + * Returns the check-char value. + * @return string. + * @access private + */ + function GetCheckCharValue() { + $len = strlen($this->mValue); + $sum = 105; // 'C' type; + $m = 0; + for ($i=0;$i<$len;$i+=2) { + $m++; + $sum += $this->GetCharIndex($this->mValue[$i].$this->mValue[$i+1]) * $m; + } + $check = $sum % 103; + return $this->mCharSet[$check]; + } + + /** + * Draws the start code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawStart($DrawPos, $yPos, $ySize, $xres) { + /* Start code is '211232' */ + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('2', $xres) , $ySize); + $DrawPos += $this->GetBarSize('2', $xres); + $DrawPos += $this->GetBarSize('1', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('1', $xres) , $ySize); + $DrawPos += $this->GetBarSize('1', $xres); + $DrawPos += $this->GetBarSize('2', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('3', $xres) , $ySize); + $DrawPos += $this->GetBarSize('3', $xres); + $DrawPos += $this->GetBarSize('2', $xres); + return $DrawPos; + } + + /** + * Draws the stop code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawStop($DrawPos, $yPos, $ySize, $xres) { + /* Stop code is '2331112' */ + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('2', $xres) , $ySize); + $DrawPos += $this->GetBarSize('2', $xres); + $DrawPos += $this->GetBarSize('3', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('3', $xres) , $ySize); + $DrawPos += $this->GetBarSize('3', $xres); + $DrawPos += $this->GetBarSize('1', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('1', $xres) , $ySize); + $DrawPos += $this->GetBarSize('1', $xres); + $DrawPos += $this->GetBarSize('1', $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize('2', $xres) , $ySize); + $DrawPos += $this->GetBarSize('2', $xres); + return $DrawPos; + } + + /** + * Draws the check-char code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawCheckChar($DrawPos, $yPos, $ySize, $xres) { + $cset = $this->GetCheckCharValue(); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[0], $xres) , $ySize); + $DrawPos += $this->GetBarSize($cset[0], $xres); + $DrawPos += $this->GetBarSize($cset[1], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[2], $xres) , $ySize); + $DrawPos += $this->GetBarSize($cset[2], $xres); + $DrawPos += $this->GetBarSize($cset[3], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[4], $xres) , $ySize); + $DrawPos += $this->GetBarSize($cset[4], $xres); + $DrawPos += $this->GetBarSize($cset[5], $xres); + return $DrawPos; + } + + /** + * Draws the barcode object. + * @param int $xres Horizontal resolution. + * @return bool true in case of success. + */ + function DrawObject($xres) { + $len = strlen($this->mValue); + if (($size = $this->GetSize($xres))==0) { + return false; + } + + if ($this->mStyle & BCS_ALIGN_CENTER) $sPos = (integer)(($this->mWidth - $size ) / 2); + else if ($this->mStyle & BCS_ALIGN_RIGHT) $sPos = $this->mWidth - $size; + else $sPos = 0; + + /* Total height of bar code -Bars only- */ + if ($this->mStyle & BCS_DRAW_TEXT) $ysize = $this->mHeight - BCD_DEFAULT_MAR_Y1 - BCD_DEFAULT_MAR_Y2 - $this->GetFontHeight($this->mFont); + else $ysize = $this->mHeight - BCD_DEFAULT_MAR_Y1 - BCD_DEFAULT_MAR_Y2; + + /* Draw text */ + if ($this->mStyle & BCS_DRAW_TEXT) { + if ($this->mStyle & BCS_STRETCH_TEXT) { + for ($i=0;$i<$len;$i++) { + $this->DrawChar($this->mFont, $sPos+(2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + BCD_C128_BAR_4*$xres)+($size/$len)*$i, + $ysize + BCD_DEFAULT_MAR_Y1 + BCD_DEFAULT_TEXT_OFFSET, $this->mValue[$i]); + } + } else {/* Center */ + $text_width = $this->GetFontWidth($this->mFont) * strlen($this->mValue); + $this->DrawText($this->mFont, $sPos+(($size-$text_width)/2)+(2*BCD_C128_BAR_2*$xres + 3*BCD_C128_BAR_1*$xres + BCD_C128_BAR_4*$xres), + $ysize + BCD_DEFAULT_MAR_Y1 + BCD_DEFAULT_TEXT_OFFSET, $this->mValue); + } + } + + $cPos = 0; + $DrawPos = $this->DrawStart($sPos, BCD_DEFAULT_MAR_Y1 , $ysize, $xres); + do { + $c = $this->GetCharIndex($this->mValue[$cPos].$this->mValue[$cPos+1]); + $cset = $this->mCharSet[$c]; + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[0], $xres) , $ysize); + $DrawPos += $this->GetBarSize($cset[0], $xres); + $DrawPos += $this->GetBarSize($cset[1], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[2], $xres) , $ysize); + $DrawPos += $this->GetBarSize($cset[2], $xres); + $DrawPos += $this->GetBarSize($cset[3], $xres); + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, $this->GetBarSize($cset[4], $xres) , $ysize); + $DrawPos += $this->GetBarSize($cset[4], $xres); + $DrawPos += $this->GetBarSize($cset[5], $xres); + $cPos += 2; + } while ($cPos<$len); + $DrawPos = $this->DrawCheckChar($DrawPos, BCD_DEFAULT_MAR_Y1 , $ysize, $xres); + $DrawPos = $this->DrawStop($DrawPos, BCD_DEFAULT_MAR_Y1 , $ysize, $xres); + return true; + } +} + +//============================================================+ +// END OF FILE +//============================================================+ +?> diff --git a/htdocs/includes/fpdf/tcpdf/barcode/c39object.php b/htdocs/includes/fpdf/tcpdf/barcode/c39object.php new file mode 100644 index 00000000000..b7a3ebef232 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/barcode/c39object.php @@ -0,0 +1,283 @@ + + * Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols. + * @author Karim Mribti, Nicola Asuni + * @name BarcodeObject + * @package com.tecnick.tcpdf + * @version 0.0.8a 2001-04-01 (original code) + * @since 2001-03-25 + * @license http://www.gnu.org/copyleft/lesser.html LGPL + */ + +/** + * Code 39 Barcode Render Class.
+ * Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols. + * @author Karim Mribti, Nicola Asuni + * @name BarcodeObject + * @package com.tecnick.tcpdf + * @version 0.0.8a 2001-04-01 (original code) + * @since 2001-03-25 + * @license http://www.gnu.org/copyleft/lesser.html LGPL + */ +class C39Object extends BarcodeObject { + + /** + * Class Constructor. + * @param int $Width Image width in pixels. + * @param int $Height Image height in pixels. + * @param int $Style Barcode style. + * @param int $Value value to print on barcode. + */ + function C39Object($Width, $Height, $Style, $Value) { + $this->BarcodeObject($Width, $Height, $Style); + $this->mValue = $Value; + $this->mChars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *$/+%"; + $this->mCharSet = array ( + /* 0 */ "000110100", + /* 1 */ "100100001", + /* 2 */ "001100001", + /* 3 */ "101100000", + /* 4 */ "000110001", + /* 5 */ "100110000", + /* 6 */ "001110000", + /* 7 */ "000100101", + /* 8 */ "100100100", + /* 9 */ "001100100", + /* A */ "100001001", + /* B */ "001001001", + /* C */ "101001000", + /* D */ "000011001", + /* E */ "100011000", + /* F */ "001011000", + /* G */ "000001101", + /* H */ "100001100", + /* I */ "001001100", + /* J */ "000011100", + /* K */ "100000011", + /* L */ "001000011", + /* M */ "101000010", + /* N */ "000010011", + /* O */ "100010010", + /* P */ "001010010", + /* Q */ "000000111", + /* R */ "100000110", + /* S */ "001000110", + /* T */ "000010110", + /* U */ "110000001", + /* V */ "011000001", + /* W */ "111000000", + /* X */ "010010001", + /* Y */ "110010000", + /* Z */ "011010000", + /* - */ "010000101", + /* . */ "110000100", + /* SP */ "011000100", + /* * */ "010010100", + /* $ */ "010101000", + /* / */ "010100010", + /* + */ "010001010", + /* % */ "000101010" + ); + } + + /** + * Returns the character index. + * @param char $char character. + * @return int character index or -1 in case of error. + * @access private + */ + function GetCharIndex($char) { + for ($i=0;$i<44;$i++) { + if ($this->mChars[$i] == $char) { + return $i; + } + } + return -1; + } + + /** + * Returns barcode size. + * @param int $xres Horizontal resolution. + * @return barcode size. + * @access private + */ + function GetSize($xres) { + $len = strlen($this->mValue); + + if ($len == 0) { + $this->mError = "Null value"; + return false; + } + + for ($i=0;$i<$len;$i++) { + if ($this->GetCharIndex($this->mValue[$i]) == -1 || $this->mValue[$i] == '*') { + /* The asterisk is only used as a start and stop code */ + $this->mError = "C39 not include the char '".$this->mValue[$i]."'"; + return false; + } + } + + /* Start, Stop is 010010100 == '*' */ + $StartSize = BCD_C39_NARROW_BAR * $xres * 6 + BCD_C39_WIDE_BAR * $xres * 3; + $StopSize = BCD_C39_NARROW_BAR * $xres * 6 + BCD_C39_WIDE_BAR * $xres * 3; + $CharSize = BCD_C39_NARROW_BAR * $xres * 6 + BCD_C39_WIDE_BAR * $xres * 3; /* Same for all chars */ + + return $CharSize * $len + $StartSize + $StopSize + /* Space between chars */ BCD_C39_NARROW_BAR * $xres * ($len-1); + } + + /** + * Draws the start code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawStart($DrawPos, $yPos, $ySize, $xres) { + /* Start code is '*' */ + $narrow = BCD_C39_NARROW_BAR * $xres; + $wide = BCD_C39_WIDE_BAR * $xres; + $this->DrawSingleBar($DrawPos, $yPos, $narrow , $ySize); + $DrawPos += $narrow; + $DrawPos += $wide; + $this->DrawSingleBar($DrawPos, $yPos, $narrow , $ySize); + $DrawPos += $narrow; + $DrawPos += $narrow; + $this->DrawSingleBar($DrawPos, $yPos, $wide , $ySize); + $DrawPos += $wide; + $DrawPos += $narrow; + $this->DrawSingleBar($DrawPos, $yPos, $wide , $ySize); + $DrawPos += $wide; + $DrawPos += $narrow; + $this->DrawSingleBar($DrawPos, $yPos, $narrow, $ySize); + $DrawPos += $narrow; + $DrawPos += $narrow; /* Space between chars */ + return $DrawPos; + } + + /** + * Draws the stop code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawStop($DrawPos, $yPos, $ySize, $xres) { + /* Stop code is '*' */ + $narrow = BCD_C39_NARROW_BAR * $xres; + $wide = BCD_C39_WIDE_BAR * $xres; + $this->DrawSingleBar($DrawPos, $yPos, $narrow , $ySize); + $DrawPos += $narrow; + $DrawPos += $wide; + $this->DrawSingleBar($DrawPos, $yPos, $narrow , $ySize); + $DrawPos += $narrow; + $DrawPos += $narrow; + $this->DrawSingleBar($DrawPos, $yPos, $wide , $ySize); + $DrawPos += $wide; + $DrawPos += $narrow; + $this->DrawSingleBar($DrawPos, $yPos, $wide , $ySize); + $DrawPos += $wide; + $DrawPos += $narrow; + $this->DrawSingleBar($DrawPos, $yPos, $narrow, $ySize); + $DrawPos += $narrow; + return $DrawPos; + } + + /** + * Draws the barcode object. + * @param int $xres Horizontal resolution. + * @return bool true in case of success. + */ + function DrawObject($xres) { + $len = strlen($this->mValue); + + $narrow = BCD_C39_NARROW_BAR * $xres; + $wide = BCD_C39_WIDE_BAR * $xres; + + if (($size = $this->GetSize($xres))==0) { + return false; + } + + $cPos = 0; + if ($this->mStyle & BCS_ALIGN_CENTER) $sPos = (integer)(($this->mWidth - $size ) / 2); + else if ($this->mStyle & BCS_ALIGN_RIGHT) $sPos = $this->mWidth - $size; + else $sPos = 0; + + /* Total height of bar code -Bars only- */ + if ($this->mStyle & BCS_DRAW_TEXT) $ysize = $this->mHeight - BCD_DEFAULT_MAR_Y1 - BCD_DEFAULT_MAR_Y2 - $this->GetFontHeight($this->mFont); + else $ysize = $this->mHeight - BCD_DEFAULT_MAR_Y1 - BCD_DEFAULT_MAR_Y2; + + /* Draw text */ + if ($this->mStyle & BCS_DRAW_TEXT) { + if ($this->mStyle & BCS_STRETCH_TEXT) { + for ($i=0;$i<$len;$i++) { + $this->DrawChar($this->mFont, $sPos+($narrow*6+$wide*3)+($size/$len)*$i, + $ysize + BCD_DEFAULT_MAR_Y1 + BCD_DEFAULT_TEXT_OFFSET, $this->mValue[$i]); + } + } else {/* Center */ + $text_width = $this->GetFontWidth($this->mFont) * strlen($this->mValue); + $this->DrawText($this->mFont, $sPos+(($size-$text_width)/2)+($narrow*6+$wide*3), + $ysize + BCD_DEFAULT_MAR_Y1 + BCD_DEFAULT_TEXT_OFFSET, $this->mValue); + } + } + + $DrawPos = $this->DrawStart($sPos, BCD_DEFAULT_MAR_Y1 , $ysize, $xres); + do { + $c = $this->GetCharIndex($this->mValue[$cPos]); + $cset = $this->mCharSet[$c]; + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, ($cset[0] == '0') ? $narrow : $wide , $ysize); + $DrawPos += ($cset[0] == '0') ? $narrow : $wide; + $DrawPos += ($cset[1] == '0') ? $narrow : $wide; + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, ($cset[2] == '0') ? $narrow : $wide , $ysize); + $DrawPos += ($cset[2] == '0') ? $narrow : $wide; + $DrawPos += ($cset[3] == '0') ? $narrow : $wide; + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, ($cset[4] == '0') ? $narrow : $wide , $ysize); + $DrawPos += ($cset[4] == '0') ? $narrow : $wide; + $DrawPos += ($cset[5] == '0') ? $narrow : $wide; + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, ($cset[6] == '0') ? $narrow : $wide , $ysize); + $DrawPos += ($cset[6] == '0') ? $narrow : $wide; + $DrawPos += ($cset[7] == '0') ? $narrow : $wide; + $this->DrawSingleBar($DrawPos, BCD_DEFAULT_MAR_Y1, ($cset[8] == '0') ? $narrow : $wide , $ysize); + $DrawPos += ($cset[8] == '0') ? $narrow : $wide; + $DrawPos += $narrow; /* Space between chars */ + $cPos++; + } while ($cPos<$len); + $DrawPos = $this->DrawStop($DrawPos, BCD_DEFAULT_MAR_Y1 , $ysize, $xres); + return true; + } +} + +//============================================================+ +// END OF FILE +//============================================================+ +?> \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/barcode/i25object.php b/htdocs/includes/fpdf/tcpdf/barcode/i25object.php new file mode 100644 index 00000000000..ecf3359d2f6 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/barcode/i25object.php @@ -0,0 +1,217 @@ +BarcodeObject($Width, $Height, $Style); + $this->mValue = $Value; + $this->mCharSet = array ( + /* 0 */ "00110", + /* 1 */ "10001", + /* 2 */ "01001", + /* 3 */ "11000", + /* 4 */ "00101", + /* 5 */ "10100", + /* 6 */ "01100", + /* 7 */ "00011", + /* 8 */ "10010", + /* 9 */ "01010" + ); + } + + /** + * Returns barcode size. + * @param int $xres Horizontal resolution. + * @return barcode size. + * @access private + */ + function GetSize($xres) { + $len = strlen($this->mValue); + + if ($len == 0) { + $this->mError = "Null value"; + return false; + } + + for ($i=0;$i<$len;$i++) { + if ((ord($this->mValue[$i])<48) || (ord($this->mValue[$i])>57)) { + $this->mError = "I25 is numeric only"; + return false; + } + } + + if (($len%2) != 0) { + $this->mError = "The length of barcode value must be even"; + return false; + } + $StartSize = BCD_I25_NARROW_BAR * 4 * $xres; + $StopSize = BCD_I25_WIDE_BAR * $xres + 2 * BCD_I25_NARROW_BAR * $xres; + $cPos = 0; + $sPos = 0; + do { + $c1 = $this->mValue[$cPos]; + $c2 = $this->mValue[$cPos+1]; + $cset1 = $this->mCharSet[$c1]; + $cset2 = $this->mCharSet[$c2]; + + for ($i=0;$i<5;$i++) { + $type1 = ($cset1[$i]==0) ? (BCD_I25_NARROW_BAR * $xres) : (BCD_I25_WIDE_BAR * $xres); + $type2 = ($cset2[$i]==0) ? (BCD_I25_NARROW_BAR * $xres) : (BCD_I25_WIDE_BAR * $xres); + $sPos += ($type1 + $type2); + } + $cPos+=2; + } while ($cPos<$len); + + return $sPos + $StartSize + $StopSize; + } + + /** + * Draws the start code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawStart($DrawPos, $yPos, $ySize, $xres) { + /* Start code is "0000" */ + $this->DrawSingleBar($DrawPos, $yPos, BCD_I25_NARROW_BAR * $xres , $ySize); + $DrawPos += BCD_I25_NARROW_BAR * $xres; + $DrawPos += BCD_I25_NARROW_BAR * $xres; + $this->DrawSingleBar($DrawPos, $yPos, BCD_I25_NARROW_BAR * $xres , $ySize); + $DrawPos += BCD_I25_NARROW_BAR * $xres; + $DrawPos += BCD_I25_NARROW_BAR * $xres; + return $DrawPos; + } + + /** + * Draws the stop code. + * @param int $DrawPos Drawing position. + * @param int $yPos Vertical position. + * @param int $ySize Vertical size. + * @param int $xres Horizontal resolution. + * @return int drawing position. + * @access private + */ + function DrawStop($DrawPos, $yPos, $ySize, $xres) { + /* Stop code is "100" */ + $this->DrawSingleBar($DrawPos, $yPos, BCD_I25_WIDE_BAR * $xres , $ySize); + $DrawPos += BCD_I25_WIDE_BAR * $xres; + $DrawPos += BCD_I25_NARROW_BAR * $xres; + $this->DrawSingleBar($DrawPos, $yPos, BCD_I25_NARROW_BAR * $xres , $ySize); + $DrawPos += BCD_I25_NARROW_BAR * $xres; + return $DrawPos; + } + + /** + * Draws the barcode object. + * @param int $xres Horizontal resolution. + * @return bool true in case of success. + */ + function DrawObject($xres) { + $len = strlen($this->mValue); + + if (($size = $this->GetSize($xres))==0) { + return false; + } + + $cPos = 0; + + if ($this->mStyle & BCS_DRAW_TEXT) $ysize = $this->mHeight - BCD_DEFAULT_MAR_Y1 - BCD_DEFAULT_MAR_Y2 - $this->GetFontHeight($this->mFont); + else $ysize = $this->mHeight - BCD_DEFAULT_MAR_Y1 - BCD_DEFAULT_MAR_Y2; + + if ($this->mStyle & BCS_ALIGN_CENTER) $sPos = (integer)(($this->mWidth - $size ) / 2); + else if ($this->mStyle & BCS_ALIGN_RIGHT) $sPos = $this->mWidth - $size; + else $sPos = 0; + + if ($this->mStyle & BCS_DRAW_TEXT) { + if ($this->mStyle & BCS_STRETCH_TEXT) { + /* Stretch */ + for ($i=0;$i<$len;$i++) { + $this->DrawChar($this->mFont, $sPos+BCD_I25_NARROW_BAR*4*$xres+($size/$len)*$i, + $ysize + BCD_DEFAULT_MAR_Y1 + BCD_DEFAULT_TEXT_OFFSET , $this->mValue[$i]); + } + }else {/* Center */ + $text_width = $this->GetFontWidth($this->mFont) * strlen($this->mValue); + $this->DrawText($this->mFont, $sPos+(($size-$text_width)/2)+(BCD_I25_NARROW_BAR*4*$xres), + $ysize + BCD_DEFAULT_MAR_Y1 + BCD_DEFAULT_TEXT_OFFSET, $this->mValue); + } + } + + $sPos = $this->DrawStart($sPos, BCD_DEFAULT_MAR_Y1, $ysize, $xres); + do { + $c1 = $this->mValue[$cPos]; + $c2 = $this->mValue[$cPos+1]; + $cset1 = $this->mCharSet[$c1]; + $cset2 = $this->mCharSet[$c2]; + + for ($i=0;$i<5;$i++) { + $type1 = ($cset1[$i]==0) ? (BCD_I25_NARROW_BAR * $xres) : (BCD_I25_WIDE_BAR * $xres); + $type2 = ($cset2[$i]==0) ? (BCD_I25_NARROW_BAR * $xres) : (BCD_I25_WIDE_BAR * $xres); + $this->DrawSingleBar($sPos, BCD_DEFAULT_MAR_Y1, $type1 , $ysize); + $sPos += ($type1 + $type2); + } + $cPos+=2; + } while ($cPos<$len); + $sPos = $this->DrawStop($sPos, BCD_DEFAULT_MAR_Y1, $ysize, $xres); + return true; + } +} + +//============================================================+ +// END OF FILE +//============================================================+ +?> \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/barcode/image.php b/htdocs/includes/fpdf/tcpdf/barcode/image.php new file mode 100644 index 00000000000..dccafd4630b --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/barcode/image.php @@ -0,0 +1,88 @@ +SetFont($_REQUEST['font']); + $obj->DrawObject($_REQUEST['xres']); + $obj->FlushObject(); + $obj->DestroyObject(); + unset($obj); /* clean */ +} + +//============================================================+ +// END OF FILE +//============================================================+ +?> \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/barcode/lesser.txt b/htdocs/includes/fpdf/tcpdf/barcode/lesser.txt new file mode 100644 index 00000000000..678c6921d59 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/barcode/lesser.txt @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/htdocs/includes/fpdf/tcpdf/config/lang/eng.php b/htdocs/includes/fpdf/tcpdf/config/lang/eng.php new file mode 100644 index 00000000000..a86a3bbf594 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/config/lang/eng.php @@ -0,0 +1,49 @@ + diff --git a/htdocs/includes/fpdf/tcpdf/config/tcpdf_config.php b/htdocs/includes/fpdf/tcpdf/config/tcpdf_config.php new file mode 100644 index 00000000000..af00b2b3bde --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/config/tcpdf_config.php @@ -0,0 +1,191 @@ + diff --git a/htdocs/includes/fpdf/tcpdf/doc/blank.html b/htdocs/includes/fpdf/tcpdf/doc/blank.html new file mode 100644 index 00000000000..0da23a2fad9 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/blank.html @@ -0,0 +1,13 @@ + + + TCPDF Documentation + + + + +

TCPDF Documentation

+Welcome to com.tecnick.com.tcpdf!
+
+This documentation was generated by phpDocumentor v1.3.0RC3
+ + \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/doc/classtrees_com.tecnick.tcpdf.html b/htdocs/includes/fpdf/tcpdf/doc/classtrees_com.tecnick.tcpdf.html new file mode 100644 index 00000000000..7566c4e46fa --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/classtrees_com.tecnick.tcpdf.html @@ -0,0 +1,30 @@ + + + + + + + + + + + + +

+ +

+

Root class BarcodeObject

+ + +

Root class TCPDF

+ + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:50 +0200 by phpDocumentor 1.3.0RC3 +

+ + diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/BarcodeObject.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/BarcodeObject.html new file mode 100644 index 00000000000..a78c0f630aa --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/BarcodeObject.html @@ -0,0 +1,961 @@ + + + + + + Docs For Class BarcodeObject + + + + +
+

Class BarcodeObject

+ + +
+
Description
+ +
+ +

Barcode Render Class for PHP using the GD graphics library.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+

+ Located in /barcode/barcode.php (line 209) +

+ + +

+	
+			
+
+ + +
+
Direct descendents
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
ClassDescription
C39Object + Code 39 Barcode Render Class.
Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols. +
C128AObject + Code 128-A Barcode Render Class for PHP using the GD graphics library.
Code 128-A is a continuous, multilevel and include all upper case alphanumeric characters and ASCII control characters. +
C128BObject + Code 128-B Barcode Render Class for PHP using the GD graphics library.
Code 128-B is a continuous, multilevel and full ASCII code. +
C128CObject + Code 128-C Barcode Render Class for PHP using the GD graphics library.
Code 128-C is numeric only and provides the most efficiency. +
I25Object + I25 Barcode Render Class for PHP using the GD graphics library. +
+
+
+ + + +
+
Variable Summary
+ +
+
+
+ Background + $mBgcolor +
+
+ Brush + $mBrush +
+
+ Allowed + $mChars +
+
+ Character + $mCharSet +
+
+ Error + $mError +
+
+ Numeric + $mFont +
+
+ Image + $mHeight +
+
+ Image + $mImg +
+
+ Numeric + $mStyle +
+
+ Image + $mWidth +
+
+
+
+ + +
+
Method Summary
+ +
+
+ +
+ BarcodeObject + BarcodeObject + ([int $Width = BCD_DEFAULT_WIDTH], [int $Height = BCD_DEFAULT_HEIGHT], [int $Style = BCD_DEFAULT_STYLE]) +
+ +
+ void + DestroyObject + () +
+ +
+ void + DrawBorder + () +
+ +
+ void + DrawChar + (int $Font, int $xPos, int $yPos, int $Char) +
+ +
+ void + DrawObject + (int $xres) +
+ +
+ bool + DrawSingleBar + (int $xPos, int $yPos, int $xSize, mixed $ySize) +
+ +
+ void + DrawText + (int $Font, int $xPos, int $yPos, int $Char) +
+ +
+ void + FlushObject + () +
+ +
+ string + GetError + () +
+ +
+ int + GetFontHeight + (int $font) +
+ +
+ int + GetFontWidth + (int $font) +
+ +
+ object image. + getImage + () +
+ +
+ int + GetStyle + () +
+ +
+ void + SetFont + (int $font) +
+ +
+ void + SetStyle + (int $Style) +
+
+
+
+ + +
+
Variables
+ +
+ +
+ +
+ + Background + $mBgcolor + (line 232) + +
+ + +
    +
  • var: color.
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Brush + $mBrush + (line 238) + +
+ + +
    +
  • var: color.
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Allowed + $mChars + (line 268) + +
+ + +
    +
  • var: symbols.
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Character + $mCharSet + (line 262) + +
+ + +
    +
  • var: Set.
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Error + $mError + (line 256) + +
+ + +
    +
  • var: message.
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Numeric + $mFont + (line 250) + +
+ + +
    +
  • var: code for character font.
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Image + $mHeight + (line 220) + +
+ + +
    +
  • var: height in pixels.
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Image + $mImg + (line 244) + +
+ + +
    +
  • var: object.
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Numeric + $mStyle + (line 226) + +
+ + +
    +
  • var: code for Barcode style.
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Image + $mWidth + (line 214) + +
+ + +
    +
  • var: width in pixels.
  • +
  • access: protected
  • +
+ + + + + +
+ +
+
+ + +
+
Methods
+ +
+ + +
+ +
+ Constructor BarcodeObject (line 276) +
+ + +

Class Constructor.

+ +
+ BarcodeObject + + BarcodeObject + + ([int $Width = BCD_DEFAULT_WIDTH], [int $Height = BCD_DEFAULT_HEIGHT], [int $Style = BCD_DEFAULT_STYLE]) +
+ +
    +
  • + int + $Width: Image width in pixels.
  • +
  • + int + $Height: Image height in pixels.
  • +
  • + int + $Style: Barcode style.
  • +
+ + +
+ +
+ +
+ DestroyObject (line 433) +
+ + +

Destroy the barcode image.

+ +
+ void + + DestroyObject + + () +
+ + + +
+ +
+ +
+ DrawBorder (line 316) +
+ + +

Draws the barcode border.

+
    +
  • access: protected
  • +
+ +
+ void + + DrawBorder + + () +
+ + + +
+ +
+ +
+ DrawChar (line 328) +
+ + +

Draws the alphanumeric code.

+
    +
  • access: protected
  • +
+ +
+ void + + DrawChar + + (int $Font, int $xPos, int $yPos, int $Char) +
+ +
    +
  • + int + $Font: Font type.
  • +
  • + int + $xPos: Horiziontal position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $Char: Alphanumeric code to write.
  • +
+ + +
+ +
+ +
+ DrawObject (line 307) +
+ + +

Abstract method used to draw the barcode image.

+ +
+ void + + DrawObject + + (int $xres) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+
Redefined in descendants as:
+ +
+ +
+ +
+ DrawSingleBar (line 353) +
+ + +

Draws a single barcode bar.

+
    +
  • return: trur in case of success, false otherwise.
  • +
  • access: protected
  • +
+ +
+ bool + + DrawSingleBar + + (int $xPos, int $yPos, int $xSize, mixed $ySize) +
+ +
    +
  • + int + $xPos: Horiziontal position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $xSize: Vertical size.
  • +
+ + +
+ +
+ +
+ DrawText (line 340) +
+ + +

Draws a character string.

+
    +
  • access: protected
  • +
+ +
+ void + + DrawText + + (int $Font, int $xPos, int $yPos, int $Char) +
+ +
    +
  • + int + $Font: Font type.
  • +
  • + int + $xPos: Horiziontal position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $Char: string to write.
  • +
+ + +
+ +
+ +
+ FlushObject (line 417) +
+ + +

Flush the barcode image.

+ +
+ void + + FlushObject + + () +
+ + + +
+ +
+ +
+ GetError (line 368) +
+ + +

Returns the current error message.

+
    +
  • return: error message.
  • +
+ +
+ string + + GetError + + () +
+ + + +
+ +
+ +
+ GetFontHeight (line 377) +
+ + +

Returns the font height.

+
    +
  • return: font height.
  • +
+ +
+ int + + GetFontHeight + + (int $font) +
+ +
    +
  • + int + $font: font type.
  • +
+ + +
+ +
+ +
+ GetFontWidth (line 386) +
+ + +

Returns the font width.

+
    +
  • return: font width.
  • +
+ +
+ int + + GetFontWidth + + (int $font) +
+ +
    +
  • + int + $font: font type.
  • +
+ + +
+ +
+ +
+ getImage (line 299) +
+ + +

Returns the image object.

+
    +
  • since: 1.5.2
  • +
  • author: Nicola Asuni
  • +
+ +
+ object image. + + getImage + + () +
+ + + +
+ +
+ +
+ GetStyle (line 402) +
+ + +

Returns barcode style.

+
    +
  • return: barcode style.
  • +
+ +
+ int + + GetStyle + + () +
+ + + +
+ +
+ +
+ SetFont (line 394) +
+ + +

Set font type.

+ +
+ void + + SetFont + + (int $font) +
+ +
    +
  • + int + $font: font type.
  • +
+ + +
+ +
+ +
+ SetStyle (line 410) +
+ + +

Set barcode style.

+ +
+ void + + SetStyle + + (int $Style) +
+ +
    +
  • + int + $Style: barcode style.
  • +
+ + +
+ +
+
+ + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:50 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C128AObject.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C128AObject.html new file mode 100644 index 00000000000..54ea21d2273 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C128AObject.html @@ -0,0 +1,516 @@ + + + + + + Docs For Class C128AObject + + + + +
+

Class C128AObject

+ + +
+
Description
+ +
+ +

Code 128-A Barcode Render Class for PHP using the GD graphics library.
Code 128-A is a continuous, multilevel and include all upper case alphanumeric characters and ASCII control characters.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+

+ Located in /barcode/c128aobject.php (line 48) +

+ + +
BarcodeObject
+   |
+   --C128AObject
+ +
+
+ + + + + +
+
Method Summary
+ +
+
+ +
+ C128AObject + C128AObject + (int $Width, int $Height, int $Style, int $Value) +
+ +
+ int + DrawCheckChar + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ bool + DrawObject + (int $xres) +
+ +
+ int + DrawStart + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ int + DrawStop + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ int + GetBarSize + (int $xres, char $char) +
+ +
+ int + GetCharIndex + (char $char) +
+ +
+ string. + GetCheckCharValue + () +
+ +
+ barcode + GetSize + (int $xres) +
+
+
+
+ + +
+
Variables
+ + +
+ + +
+
Methods
+ +
+ + +
+ +
+ Constructor C128AObject (line 57) +
+ + +

Class Constructor.

+ +
+ C128AObject + + C128AObject + + (int $Width, int $Height, int $Style, int $Value) +
+ +
    +
  • + int + $Width: Image width in pixels.
  • +
  • + int + $Height: Image height in pixels.
  • +
  • + int + $Style: Barcode style.
  • +
  • + int + $Value: value to print on barcode.
  • +
+ + +
+ +
+ +
+ DrawCheckChar (line 327) +
+ + +

Draws the check-char code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawCheckChar + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ DrawObject (line 346) +
+ + +

Draws the barcode object.

+
    +
  • return: true in case of success.
  • +
+ +
+ bool + + DrawObject + + (int $xres) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
+ +
+
Redefinition of:
+
+
BarcodeObject::DrawObject()
+
Abstract method used to draw the barcode image.
+
+ +
+ +
+ +
+ DrawStart (line 279) +
+ + +

Draws the start code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawStart + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ DrawStop (line 302) +
+ + +

Draws the stop code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawStop + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ GetBarSize (line 190) +
+ + +

Returns the bar size.

+
    +
  • return: barcode size.
  • +
  • access: private
  • +
+ +
+ int + + GetBarSize + + (int $xres, char $char) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
  • + char + $char: Character.
  • +
+ + +
+ +
+ +
+ GetCharIndex (line 174) +
+ + +

Returns the character index.

+
    +
  • return: character index or -1 in case of error.
  • +
  • access: private
  • +
+ +
+ int + + GetCharIndex + + (char $char) +
+ +
    +
  • + char + $char: character.
  • +
+ + +
+ +
+ +
+ GetCheckCharValue (line 260) +
+ + +

Returns the check-char value.

+
    +
  • access: private
  • +
+ +
+ string. + + GetCheckCharValue + + () +
+ + + +
+ +
+ +
+ GetSize (line 221) +
+ + +

Returns barcode size.

+
    +
  • return: size.
  • +
  • access: private
  • +
+ +
+ barcode + + GetSize + + (int $xres) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+

Inherited Methods

+ + +

Inherited From BarcodeObject

+
+ BarcodeObject::BarcodeObject()
+ BarcodeObject::DestroyObject()
+ BarcodeObject::DrawBorder()
+ BarcodeObject::DrawChar()
+ BarcodeObject::DrawObject()
+ BarcodeObject::DrawSingleBar()
+ BarcodeObject::DrawText()
+ BarcodeObject::FlushObject()
+ BarcodeObject::GetError()
+ BarcodeObject::GetFontHeight()
+ BarcodeObject::GetFontWidth()
+ BarcodeObject::getImage()
+ BarcodeObject::GetStyle()
+ BarcodeObject::SetFont()
+ BarcodeObject::SetStyle()
+
+ +
+
+ + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:52 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C128BObject.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C128BObject.html new file mode 100644 index 00000000000..8ba451f7323 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C128BObject.html @@ -0,0 +1,516 @@ + + + + + + Docs For Class C128BObject + + + + +
+

Class C128BObject

+ + +
+
Description
+ +
+ +

Code 128-B Barcode Render Class for PHP using the GD graphics library.
Code 128-B is a continuous, multilevel and full ASCII code.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+

+ Located in /barcode/c128bobject.php (line 47) +

+ + +
BarcodeObject
+   |
+   --C128BObject
+ +
+
+ + + + + +
+
Method Summary
+ +
+
+ +
+ C128BObject + C128BObject + (int $Width, int $Height, int $Style, int $Value) +
+ +
+ int + DrawCheckChar + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ bool + DrawObject + (int $xres) +
+ +
+ int + DrawStart + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ int + DrawStop + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ int + GetBarSize + (int $xres, char $char) +
+ +
+ int + GetCharIndex + (char $char) +
+ +
+ string. + GetCheckCharValue + () +
+ +
+ barcode + GetSize + (int $xres) +
+
+
+
+ + +
+
Variables
+ + +
+ + +
+
Methods
+ +
+ + +
+ +
+ Constructor C128BObject (line 56) +
+ + +

Class Constructor.

+ +
+ C128BObject + + C128BObject + + (int $Width, int $Height, int $Style, int $Value) +
+ +
    +
  • + int + $Width: Image width in pixels.
  • +
  • + int + $Height: Image height in pixels.
  • +
  • + int + $Style: Barcode style.
  • +
  • + int + $Value: value to print on barcode.
  • +
+ + +
+ +
+ +
+ DrawCheckChar (line 327) +
+ + +

Draws the check-char code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawCheckChar + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ DrawObject (line 346) +
+ + +

Draws the barcode object.

+
    +
  • return: true in case of success.
  • +
+ +
+ bool + + DrawObject + + (int $xres) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
+ +
+
Redefinition of:
+
+
BarcodeObject::DrawObject()
+
Abstract method used to draw the barcode image.
+
+ +
+ +
+ +
+ DrawStart (line 279) +
+ + +

Draws the start code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawStart + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ DrawStop (line 302) +
+ + +

Draws the stop code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawStop + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ GetBarSize (line 189) +
+ + +

Returns the bar size.

+
    +
  • return: barcode size.
  • +
  • access: private
  • +
+ +
+ int + + GetBarSize + + (int $xres, char $char) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
  • + char + $char: Character.
  • +
+ + +
+ +
+ +
+ GetCharIndex (line 173) +
+ + +

Returns the character index.

+
    +
  • return: character index or -1 in case of error.
  • +
  • access: private
  • +
+ +
+ int + + GetCharIndex + + (char $char) +
+ +
    +
  • + char + $char: character.
  • +
+ + +
+ +
+ +
+ GetCheckCharValue (line 260) +
+ + +

Returns the check-char value.

+
    +
  • access: private
  • +
+ +
+ string. + + GetCheckCharValue + + () +
+ + + +
+ +
+ +
+ GetSize (line 220) +
+ + +

Returns barcode size.

+
    +
  • return: size.
  • +
  • access: private
  • +
+ +
+ barcode + + GetSize + + (int $xres) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+

Inherited Methods

+ + +

Inherited From BarcodeObject

+
+ BarcodeObject::BarcodeObject()
+ BarcodeObject::DestroyObject()
+ BarcodeObject::DrawBorder()
+ BarcodeObject::DrawChar()
+ BarcodeObject::DrawObject()
+ BarcodeObject::DrawSingleBar()
+ BarcodeObject::DrawText()
+ BarcodeObject::FlushObject()
+ BarcodeObject::GetError()
+ BarcodeObject::GetFontHeight()
+ BarcodeObject::GetFontWidth()
+ BarcodeObject::getImage()
+ BarcodeObject::GetStyle()
+ BarcodeObject::SetFont()
+ BarcodeObject::SetStyle()
+
+ +
+
+ + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:53 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C128CObject.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C128CObject.html new file mode 100644 index 00000000000..3d90632faa5 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C128CObject.html @@ -0,0 +1,516 @@ + + + + + + Docs For Class C128CObject + + + + +
+

Class C128CObject

+ + +
+
Description
+ +
+ +

Code 128-C Barcode Render Class for PHP using the GD graphics library.
Code 128-C is numeric only and provides the most efficiency.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+

+ Located in /barcode/c128cobject.php (line 49) +

+ + +
BarcodeObject
+   |
+   --C128CObject
+ +
+
+ + + + + +
+
Method Summary
+ +
+
+ +
+ C128CObject + C128CObject + (int $Width, int $Height, int $Style, int $Value) +
+ +
+ int + DrawCheckChar + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ bool + DrawObject + (int $xres) +
+ +
+ int + DrawStart + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ int + DrawStop + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ int + GetBarSize + (int $xres, char $char) +
+ +
+ int + GetCharIndex + (char $char) +
+ +
+ string. + GetCheckCharValue + () +
+ +
+ barcode + GetSize + (int $xres) +
+
+
+
+ + +
+
Variables
+ + +
+ + +
+
Methods
+ +
+ + +
+ +
+ Constructor C128CObject (line 58) +
+ + +

Class Constructor.

+ +
+ C128CObject + + C128CObject + + (int $Width, int $Height, int $Style, int $Value) +
+ +
    +
  • + int + $Width: Image width in pixels.
  • +
  • + int + $Height: Image height in pixels.
  • +
  • + int + $Style: Barcode style.
  • +
  • + int + $Value: value to print on barcode.
  • +
+ + +
+ +
+ +
+ DrawCheckChar (line 347) +
+ + +

Draws the check-char code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawCheckChar + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ DrawObject (line 366) +
+ + +

Draws the barcode object.

+
    +
  • return: true in case of success.
  • +
+ +
+ bool + + DrawObject + + (int $xres) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
+ +
+
Redefinition of:
+
+
BarcodeObject::DrawObject()
+
Abstract method used to draw the barcode image.
+
+ +
+ +
+ +
+ DrawStart (line 299) +
+ + +

Draws the start code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawStart + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ DrawStop (line 322) +
+ + +

Draws the stop code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawStop + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ GetBarSize (line 199) +
+ + +

Returns the bar size.

+
    +
  • return: barcode size.
  • +
  • access: private
  • +
+ +
+ int + + GetBarSize + + (int $xres, char $char) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
  • + char + $char: Character.
  • +
+ + +
+ +
+ +
+ GetCharIndex (line 183) +
+ + +

Returns the character index.

+
    +
  • return: character index or -1 in case of error.
  • +
  • access: private
  • +
+ +
+ int + + GetCharIndex + + (char $char) +
+ +
    +
  • + char + $char: character.
  • +
+ + +
+ +
+ +
+ GetCheckCharValue (line 278) +
+ + +

Returns the check-char value.

+
    +
  • access: private
  • +
+ +
+ string. + + GetCheckCharValue + + () +
+ + + +
+ +
+ +
+ GetSize (line 230) +
+ + +

Returns barcode size.

+
    +
  • return: size.
  • +
  • access: private
  • +
+ +
+ barcode + + GetSize + + (int $xres) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+

Inherited Methods

+ + +

Inherited From BarcodeObject

+
+ BarcodeObject::BarcodeObject()
+ BarcodeObject::DestroyObject()
+ BarcodeObject::DrawBorder()
+ BarcodeObject::DrawChar()
+ BarcodeObject::DrawObject()
+ BarcodeObject::DrawSingleBar()
+ BarcodeObject::DrawText()
+ BarcodeObject::FlushObject()
+ BarcodeObject::GetError()
+ BarcodeObject::GetFontHeight()
+ BarcodeObject::GetFontWidth()
+ BarcodeObject::getImage()
+ BarcodeObject::GetStyle()
+ BarcodeObject::SetFont()
+ BarcodeObject::SetStyle()
+
+ +
+
+ + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:51 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C39Object.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C39Object.html new file mode 100644 index 00000000000..a7e9fc8d2ef --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/C39Object.html @@ -0,0 +1,402 @@ + + + + + + Docs For Class C39Object + + + + +
+

Class C39Object

+ + +
+
Description
+ +
+ +

Code 39 Barcode Render Class.
Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+

+ Located in /barcode/c39object.php (line 49) +

+ + +
BarcodeObject
+   |
+   --C39Object
+ +
+
+ + + + + +
+
Method Summary
+ +
+
+ +
+ C39Object + C39Object + (int $Width, int $Height, int $Style, int $Value) +
+ +
+ bool + DrawObject + (int $xres) +
+ +
+ int + DrawStart + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ int + DrawStop + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ int + GetCharIndex + (char $char) +
+ +
+ barcode + GetSize + (int $xres) +
+
+
+
+ + +
+
Variables
+ + +
+ + +
+
Methods
+ +
+ + +
+ +
+ Constructor C39Object (line 58) +
+ + +

Class Constructor.

+ +
+ C39Object + + C39Object + + (int $Width, int $Height, int $Style, int $Value) +
+ +
    +
  • + int + $Width: Image width in pixels.
  • +
  • + int + $Height: Image height in pixels.
  • +
  • + int + $Style: Barcode style.
  • +
  • + int + $Value: value to print on barcode.
  • +
+ + +
+ +
+ +
+ DrawObject (line 221) +
+ + +

Draws the barcode object.

+
    +
  • return: true in case of success.
  • +
+ +
+ bool + + DrawObject + + (int $xres) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
+ +
+
Redefinition of:
+
+
BarcodeObject::DrawObject()
+
Abstract method used to draw the barcode image.
+
+ +
+ +
+ +
+ DrawStart (line 164) +
+ + +

Draws the start code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawStart + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ DrawStop (line 195) +
+ + +

Draws the stop code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawStop + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ GetCharIndex (line 116) +
+ + +

Returns the character index.

+
    +
  • return: character index or -1 in case of error.
  • +
  • access: private
  • +
+ +
+ int + + GetCharIndex + + (char $char) +
+ +
    +
  • + char + $char: character.
  • +
+ + +
+ +
+ +
+ GetSize (line 131) +
+ + +

Returns barcode size.

+
    +
  • return: size.
  • +
  • access: private
  • +
+ +
+ barcode + + GetSize + + (int $xres) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+

Inherited Methods

+ + +

Inherited From BarcodeObject

+
+ BarcodeObject::BarcodeObject()
+ BarcodeObject::DestroyObject()
+ BarcodeObject::DrawBorder()
+ BarcodeObject::DrawChar()
+ BarcodeObject::DrawObject()
+ BarcodeObject::DrawSingleBar()
+ BarcodeObject::DrawText()
+ BarcodeObject::FlushObject()
+ BarcodeObject::GetError()
+ BarcodeObject::GetFontHeight()
+ BarcodeObject::GetFontWidth()
+ BarcodeObject::getImage()
+ BarcodeObject::GetStyle()
+ BarcodeObject::SetFont()
+ BarcodeObject::SetStyle()
+
+ +
+
+ + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:52 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/I25Object.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/I25Object.html new file mode 100644 index 00000000000..323fb2c5d52 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/I25Object.html @@ -0,0 +1,366 @@ + + + + + + Docs For Class I25Object + + + + +
+

Class I25Object

+ + +
+
Description
+ +
+ +

I25 Barcode Render Class for PHP using the GD graphics library.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+

+ Located in /barcode/i25object.php (line 48) +

+ + +
BarcodeObject
+   |
+   --I25Object
+ +
+
+ + + + + +
+
Method Summary
+ +
+
+ +
+ I25Object + I25Object + (int $Width, int $Height, int $Style, int $Value) +
+ +
+ bool + DrawObject + (int $xres) +
+ +
+ int + DrawStart + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ int + DrawStop + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
+ barcode + GetSize + (int $xres) +
+
+
+
+ + +
+
Variables
+ + +
+ + +
+
Methods
+ +
+ + +
+ +
+ Constructor I25Object (line 57) +
+ + +

Class Constructor.

+ +
+ I25Object + + I25Object + + (int $Width, int $Height, int $Style, int $Value) +
+ +
    +
  • + int + $Width: Image width in pixels.
  • +
  • + int + $Height: Image height in pixels.
  • +
  • + int + $Style: Barcode style.
  • +
  • + int + $Value: value to print on barcode.
  • +
+ + +
+ +
+ +
+ DrawObject (line 164) +
+ + +

Draws the barcode object.

+
    +
  • return: true in case of success.
  • +
+ +
+ bool + + DrawObject + + (int $xres) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
+ +
+
Redefinition of:
+
+
BarcodeObject::DrawObject()
+
Abstract method used to draw the barcode image.
+
+ +
+ +
+ +
+ DrawStart (line 129) +
+ + +

Draws the start code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawStart + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ DrawStop (line 149) +
+ + +

Draws the stop code.

+
    +
  • return: drawing position.
  • +
  • access: private
  • +
+ +
+ int + + DrawStop + + (int $DrawPos, int $yPos, int $ySize, int $xres) +
+ +
    +
  • + int + $DrawPos: Drawing position.
  • +
  • + int + $yPos: Vertical position.
  • +
  • + int + $ySize: Vertical size.
  • +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+ +
+ +
+ GetSize (line 80) +
+ + +

Returns barcode size.

+
    +
  • return: size.
  • +
  • access: private
  • +
+ +
+ barcode + + GetSize + + (int $xres) +
+ +
    +
  • + int + $xres: Horizontal resolution.
  • +
+ + +
+

Inherited Methods

+ + +

Inherited From BarcodeObject

+
+ BarcodeObject::BarcodeObject()
+ BarcodeObject::DestroyObject()
+ BarcodeObject::DrawBorder()
+ BarcodeObject::DrawChar()
+ BarcodeObject::DrawObject()
+ BarcodeObject::DrawSingleBar()
+ BarcodeObject::DrawText()
+ BarcodeObject::FlushObject()
+ BarcodeObject::GetError()
+ BarcodeObject::GetFontHeight()
+ BarcodeObject::GetFontWidth()
+ BarcodeObject::getImage()
+ BarcodeObject::GetStyle()
+ BarcodeObject::SetFont()
+ BarcodeObject::SetStyle()
+
+ +
+
+ + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:52 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/TCPDF.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/TCPDF.html new file mode 100644 index 00000000000..9304e021515 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/TCPDF.html @@ -0,0 +1,6461 @@ + + + + + + Docs For Class TCPDF + + + + +
+

Class TCPDF

+ + +
+
Description
+ +
+ +

This is a PHP4 class for generating PDF files on-the-fly without requiring external extensions.

+

This class is an extension and improvement of the FPDF class by Olivier Plathey (http://www.fpdf.org).
This version contains some changes: [porting to PHP4, support for UTF-8 Unicode, code style and formatting, php documentation (www.phpdoc.org), ISO page formats, minor improvements, image scale factor]
TCPDF project (http://tcpdf.sourceforge.net) is based on the public Domain FPDF class by Olivier Plathey (http://www.fpdf.org).
To add your own TTF fonts please read /fonts/README.TXT

+ +

+ Located in /tcpdf.php (line 88) +

+ + +

+	
+			
+
+ + + + +
+
Variable Summary
+ +
+
+
+ alias + $AliasNbPages +
+
+ author + $author +
+
+ automatic + $AutoPageBreak +
+
+ Bold + $b +
+
+ Barcode + $barcode +
+
+ page + $bMargin +
+
+ buffer + $buffer +
+
+ cell + $cMargin +
+
+ indicates + $ColorFlag +
+
+ compression + $compress +
+
+ array + $CoreFonts +
+
+ creator + $creator +
+
+ current + $CurOrientation +
+
+ current + $CurrentFont +
+
+ Default + $default_table_columns +
+
+ default + $DefOrientation +
+
+ array + $diffs +
+
+ commands + $DrawColor +
+
+ default + $encoding +
+
+ height + $fh +
+
+ height + $fhPt +
+
+ commands + $FillColor +
+
+ current + $FontFamily +
+
+ array + $FontFiles +
+
+ HTML + $fontList +
+
+ array + $fonts +
+
+ current + $FontSize +
+
+ current + $FontSizePt +
+
+ current + $FontStyle +
+
+ Footer + $footer_font +
+
+ Minimum + $footer_margin +
+
+ width + $fw +
+
+ width + $fwPt +
+
+ current + $h +
+
+ Header + $header_font +
+
+ Header + $header_logo +
+
+ Header + $header_logo_width +
+
+ Minimum + $header_margin +
+
+ String + $header_string +
+
+ String + $header_title +
+
+ Header + $header_width +
+
+ current + $hPt +
+
+ HTML + $HREF +
+
+ Italic + $i +
+
+ array + $images +
+
+ image + $imgscale +
+
+ right-bottom + $img_rb_x +
+
+ right-bottom + $img_rb_y +
+
+ flag + $InFooter +
+
+ PHP + $internal_encoding +
+
+ HTML + $issetcolor +
+
+ HTML + $issetfont +
+
+ boolean + $isunicode +
+
+ scale + $k +
+
+ keywords + $keywords +
+
+ Language + $l +
+
+ height + $lasth +
+
+ layout + $LayoutMode +
+
+ line + $LineWidth +
+
+ array + $links +
+
+ spacer + $lispacer +
+
+ HTML + $listcount +
+
+ HTML + $listordered +
+
+ left + $lMargin +
+
+ current + $n +
+
+ array + $offsets +
+
+ array + $OrientationChanges +
+
+ original + $original_lMargin +
+
+ original + $original_rMargin +
+
+ current + $page +
+
+ threshold + $PageBreakTrigger +
+
+ array + $PageLinks +
+
+ array + $pages +
+
+ PDF + $PDFVersion +
+
+ store + $prevFillColor +
+
+ store + $prevFontFamily +
+
+ store + $prevFontStyle +
+
+ store + $prevTextColor +
+
+ If + $print_footer +
+
+ If + $print_header +
+
+ right + $rMargin +
+
+ current + $state +
+
+ subject + $subject +
+
+ HTML + $tableborder +
+
+ HTML + $tdalign +
+
+ HTML + $tdbegin +
+
+ HTML + $tdbgcolor +
+
+ HTML + $tdheight +
+
+ HTML + $tdwidth +
+
+ Store + $tempfontsize +
+
+ commands + $TextColor +
+
+ title + $title +
+
+ top + $tMargin +
+
+ Underlined + $u +
+
+ underlining + $underline +
+
+ current + $w +
+
+ current + $wPt +
+
+ word + $ws +
+
+ current + $x +
+
+ current + $y +
+
+ zoom + $ZoomMode +
+
+
+
+ + +
+
Method Summary
+ +
+
+ +
+ TCPDF + TCPDF + ([string $orientation = 'P'], [string $unit = 'mm'], [mixed $format = 'A4'], [boolean $unicode = true], [String $encoding = "UTF-8"]) +
+ +
+ boolean + AcceptPageBreak + () +
+ +
+ void + AddFont + (string $family, [string $style = ''], [string $file = '']) +
+ +
+ void + addHtmlLink + (string $url, string $name, int $fill) +
+ +
+ void + AddLink + () +
+ +
+ void + AddPage + ([string $orientation = '']) +
+ +
+ void + AliasNbPages + ([string $alias = '{nb}']) +
+ +
+ void + Cell + (float $w, float $h, [string $txt = ''], mixed $border, int $ln, [string $align = ''], int $fill, [mixed $link = '']) +
+ +
+ void + Close + () +
+ +
+ void + closedHTMLTagHandler + (string $tag) +
+ +
+ array + convertColorHexToDec + ([string $color = "#000000"]) +
+ +
+ void + Error + (string $msg) +
+ +
+ void + Footer + () +
+ +
+ int + getBreakMargin + () +
+ +
+ float + getImageScale + () +
+ +
+ int + getPageHeight + () +
+ +
+ int + getPageWidth + () +
+ +
+ void + getPDFData + () +
+ +
+ int + getScaleFactor + () +
+ +
+ int + GetStringWidth + (string $s) +
+ +
+ float + GetX + () +
+ +
+ float + GetY + () +
+ +
+ void + Header + () +
+ +
+ void + Image + (string $file, float $x, float $y, float $w, float $h, [string $type = ''], [mixed $link = '']) +
+ +
+ void + Line + (float $x1, float $y1, float $x2, float $y2) +
+ +
+ void + Link + (float $x, float $y, float $w, float $h, mixed $link) +
+ +
+ void + Ln + ([float $h = '']) +
+ +
+ void + MultiCell + (float $w, float $h, string $txt, mixed $border, [string $align = 'J'], int $fill, int $ln) +
+ +
+ void + Open + () +
+ +
+ void + openHTMLTagHandler + (string $tag, string $attr, int $fill) +
+ +
+ void + Output + ([string $name = ''], [string $dest = '']) +
+ +
+ int + PageNo + () +
+ +
+ float + pixelsToMillimeters + (int $px) +
+ +
+ void + Rect + (float $x, float $y, float $w, float $h, [string $style = '']) +
+ +
+ void + SetAuthor + (string $author) +
+ +
+ void + SetAutoPageBreak + (boolean $auto, float $margin) +
+ +
+ void + setBarcode + ([string $bc = ""]) +
+ +
+ void + SetCompression + (boolean $compress) +
+ +
+ void + SetCreator + (string $creator) +
+ +
+ void + SetDisplayMode + (mixed $zoom, [string $layout = 'continuous']) +
+ +
+ void + SetDrawColor + (int $r, [int $g = -1], [int $b = -1]) +
+ +
+ void + SetFillColor + (int $r, [int $g = -1], [int $b = -1], [boolean $storeprev = false]) +
+ +
+ void + SetFont + (string $family, [string $style = ''], float $size) +
+ +
+ void + SetFontSize + (float $size) +
+ +
+ void + setFooterFont + (array $font) +
+ +
+ void + setFooterMargin + ([int $fm = 10]) +
+ +
+ void + setHeaderData + ([string $ln = ""], string $lw, [string $ht = ""], [string $hs = ""]) +
+ +
+ void + setHeaderFont + (array $font) +
+ +
+ void + setHeaderMargin + ([int $hm = 10]) +
+ +
+ void + setImageScale + (float $scale) +
+ +
+ void + SetKeywords + (string $keywords) +
+ +
+ void + setLanguageArray + (array $language) +
+ +
+ void + SetLeftMargin + (float $margin) +
+ +
+ void + SetLineWidth + (float $width) +
+ +
+ void + SetLink + (int $link, float $y, [int $page = -1]) +
+ +
+ void + SetMargins + (float $left, float $top, [float $right = -1]) +
+ +
+ void + SetRightMargin + (float $margin) +
+ +
+ void + setStyle + (string $tag, boolean $enable) +
+ +
+ void + SetSubject + (string $subject) +
+ +
+ void + SetTextColor + (int $r, [int $g = -1], [int $b = -1], [boolean $storeprev = false]) +
+ +
+ void + SetTitle + (string $title) +
+ +
+ void + SetTopMargin + (float $margin) +
+ +
+ void + SetX + (float $x) +
+ +
+ void + SetXY + (float $x, float $y) +
+ +
+ void + SetY + (float $y) +
+ +
+ void + Text + (float $x, float $y, string $txt) +
+ +
+ string + unhtmlentities + ($text_to_convert $text_to_convert) +
+ +
+ array + UTF8StringToArray + (string $str) +
+ +
+ string + UTF8ToUTF16BE + (string $str, [boolean $setbom = true]) +
+ +
+ void + Write + (float $h, string $txt, [mixed $link = ''], int $fill) +
+ +
+ void + writeBarcode + (int $x, int $y, int $w, int $h, string $type, string $style, string $font, int $xres, string $code) +
+ +
+ void + writeHTML + (string $html, [boolean $ln = true], int $fill) +
+ +
+ void + writeHTMLCell + (float $w, float $h, float $x, float $y, [string $html = ''], mixed $border, int $ln, int $fill) +
+ +
+ void + _begindoc + () +
+ +
+ void + _beginpage + (mixed $orientation) +
+ +
+ void + _dochecks + () +
+ +
+ void + _dounderline + (mixed $x, mixed $y, mixed $txt) +
+ +
+ void + _enddoc + () +
+ +
+ void + _endpage + () +
+ +
+ void + _escape + (mixed $s) +
+ +
+ void + _escapetext + (mixed $s) +
+ +
+ void + _freadint + (mixed $f) +
+ +
+ void + _getfontpath + () +
+ +
+ void + _newobj + () +
+ +
+ void + _out + (mixed $s) +
+ +
+ void + _parsejpg + (mixed $file) +
+ +
+ void + _parsepng + (mixed $file) +
+ +
+ void + _putcatalog + () +
+ +
+ void + _putfonts + () +
+ +
+ void + _putheader + () +
+ +
+ void + _putimages + () +
+ +
+ void + _putinfo + () +
+ +
+ void + _putpages + () +
+ +
+ void + _putresourcedict + () +
+ +
+ void + _putresources + () +
+ +
+ void + _putstream + (mixed $s) +
+ +
+ void + _puttrailer + () +
+ +
+ void + _puttruetypeunicode + (mixed $font) +
+ +
+ void + _putxobjectdict + () +
+ +
+ void + _textstring + (mixed $s) +
+
+
+
+ + +
+
Variables
+ +
+ +
+ +
+ + alias + $AliasNbPages + (line 431) + +
+ + +
    +
  • var: for total number of pages
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + author + $author + (line 413) + +
+ + +
    +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + automatic + $AutoPageBreak + (line 371) + +
+ + +
    +
  • var: page breaking
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Bold + $b + (line 658) + +
+ + +
    +
  • var: font style status.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + Barcode + $barcode + = false (line 523) + +
+ + +
    +
  • var: to print on page footer (only if set).
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + page + $bMargin + (line 227) + +
+ + +
    +
  • var: break margin
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + buffer + $buffer + (line 113) + +
+ + +
    +
  • var: holding in-memory PDF
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + cell + $cMargin + (line 233) + +
+ + +
    +
  • var: margin
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + indicates + $ColorFlag + (line 359) + +
+ + +
    +
  • var: whether fill and text colors are different
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + compression + $compress + (line 131) + +
+ + +
    +
  • var: flag
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + array + $CoreFonts + (line 263) + +
+ + +
    +
  • var: of standard font names
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + creator + $creator + (line 425) + +
+ + +
    +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $CurOrientation + (line 143) + +
+ + +
    +
  • var: orientation
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $CurrentFont + (line 323) + +
+ + +
    +
  • var: font info
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Default + $default_table_columns + = 4 (line 571) + +
+ + +
    +
  • var: number of columns for html table.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + default + $DefOrientation + (line 137) + +
+ + +
    +
  • var: orientation
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + array + $diffs + (line 281) + +
+ + +
    +
  • var: of encoding differences
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + commands + $DrawColor + (line 341) + +
+ + +
    +
  • var: for drawing color
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + default + $encoding + = "UTF-8" (line 683) + +
+ + +
    +
  • var: encoding
  • +
  • since: 1.53.0.TC010
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + height + $fh + (line 179) + +
+ + +
    +
  • var: of page format in user unit
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + height + $fhPt + (line 167) + +
+ + +
    +
  • var: of page format in points
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + commands + $FillColor + (line 347) + +
+ + +
    +
  • var: for filling color
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $FontFamily + (line 305) + +
+ + +
    +
  • var: font family
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + array + $FontFiles + (line 275) + +
+ + +
    +
  • var: of font files
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + HTML + $fontList + (line 586) + +
+ + +
    +
  • var: PARSER: store font list.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + array + $fonts + (line 269) + +
+ + +
    +
  • var: of used fonts
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $FontSize + (line 335) + +
+ + +
    +
  • var: font size in user unit
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $FontSizePt + (line 329) + +
+ + +
    +
  • var: font size in points
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $FontStyle + (line 311) + +
+ + +
    +
  • var: font style
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Footer + $footer_font + (line 511) + +
+ + +
    +
  • var: font.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + Minimum + $footer_margin + (line 485) + +
+ + +
    +
  • var: distance between footer and bottom page margin.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + width + $fw + (line 173) + +
+ + +
    +
  • var: of page format in user unit
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + width + $fwPt + (line 161) + +
+ + +
    +
  • var: of page format in points
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $h + (line 203) + +
+ + +
    +
  • var: height of page in user unit
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Header + $header_font + (line 505) + +
+ + +
    +
  • var: font.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + Header + $header_logo + = "" (line 547) + +
+ + +
    +
  • var: image logo.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + Header + $header_logo_width + = 30 (line 553) + +
+ + +
    +
  • var: image logo width in mm.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + Minimum + $header_margin + (line 479) + +
+ + +
    +
  • var: distance between header and top page margin.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + String + $header_string + = "" (line 565) + +
+ + +
    +
  • var: to print on document header.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + String + $header_title + = "" (line 559) + +
+ + +
    +
  • var: to print as title on document header.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + Header + $header_width + = 0 (line 541) + +
+ + +
    +
  • var: width (0 = full page width).
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + current + $hPt + (line 191) + +
+ + +
    +
  • var: height of page in points
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + HTML + $HREF + (line 580) + +
+ + +
    +
  • var: PARSER: store current link.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + Italic + $i + (line 670) + +
+ + +
    +
  • var: font style status.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + array + $images + (line 287) + +
+ + +
    +
  • var: of used images
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + image + $imgscale + = 1 (line 455) + +
+ + +
    +
  • var: scale factor
  • +
  • access: protected
  • +
  • author: Nicola Asuni
  • +
  • since: 2004-06-14
  • +
+ + + + + +
+ +
+ +
+ + right-bottom + $img_rb_x + (line 439) + +
+ + +
    +
  • var: corner X coordinate of inserted image
  • +
  • access: protected
  • +
  • author: Nicola Asuni
  • +
  • since: 2002-07-31
  • +
+ + + + + +
+ +
+ +
+ + right-bottom + $img_rb_y + (line 447) + +
+ + +
    +
  • var: corner Y coordinate of inserted image
  • +
  • access: protected
  • +
  • author: Nicola Asuni
  • +
  • since: 2002-07-31
  • +
+ + + + + +
+ +
+ +
+ + flag + $InFooter + (line 383) + +
+ + +
    +
  • var: set when processing footer
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + PHP + $internal_encoding + (line 690) + +
+ + +
    +
  • var: internal encoding
  • +
  • since: 1.53.0.TC016
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + HTML + $issetcolor + (line 598) + +
+ + +
    +
  • var: PARSER: true when color attribute is set.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + HTML + $issetfont + (line 592) + +
+ + +
    +
  • var: PARSER: true when font attribute is set.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + boolean + $isunicode + = false (line 463) + +
+ + +
    +
  • var: set to true when the input text is unicode (require unicode fonts)
  • +
  • access: protected
  • +
  • author: Nicola Asuni
  • +
  • since: 2005-01-02
  • +
+ + + + + +
+ +
+ +
+ + scale + $k + (line 155) + +
+ + +
    +
  • var: factor (number of points in user unit)
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + keywords + $keywords + (line 419) + +
+ + +
    +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Language + $l + (line 517) + +
+ + +
    +
  • var: templates.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + height + $lasth + (line 251) + +
+ + +
    +
  • var: of last cell printed
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + layout + $LayoutMode + (line 395) + +
+ + +
    +
  • var: display mode
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + line + $LineWidth + (line 257) + +
+ + +
    +
  • var: width in user unit
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + array + $links + (line 299) + +
+ + +
    +
  • var: of internal links
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + spacer + $lispacer + = "" (line 676) + +
+ + +
    +
  • var: for LI tags.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + HTML + $listcount + = 0 (line 610) + +
+ + +
    +
  • var: PARSER: count list items.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + HTML + $listordered + = false (line 604) + +
+ + +
    +
  • var: PARSER: true in case of ordered list (OL), false otherwise.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + left + $lMargin + (line 209) + +
+ + +
    +
  • var: margin
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $n + (line 101) + +
+ + +
    +
  • var: object number
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + array + $offsets + (line 107) + +
+ + +
    +
  • var: of object offsets
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + array + $OrientationChanges + (line 149) + +
+ + +
    +
  • var: indicating orientation changes
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + original + $original_lMargin + (line 492) + +
+ + +
    +
  • var: left margin value
  • +
  • since: 1.53.0.TC013
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + original + $original_rMargin + (line 499) + +
+ + +
    +
  • var: right margin value
  • +
  • since: 1.53.0.TC013
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + current + $page + (line 95) + +
+ + +
    +
  • var: page number
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + threshold + $PageBreakTrigger + (line 377) + +
+ + +
    +
  • var: used to trigger page breaks
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + array + $PageLinks + (line 293) + +
+ + +
    +
  • var: of links in pages
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + array + $pages + (line 119) + +
+ + +
    +
  • var: containing pages
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + PDF + $PDFVersion + = "1.3" (line 470) + +
+ + +
    +
  • var: version
  • +
  • access: protected
  • +
  • since: 1.5.3
  • +
+ + + + + +
+ +
+ +
+ + store + $prevFillColor + = array(255,255,255) (line 697) + +
+ + +
    +
  • var: previous fill color as RGB array
  • +
  • since: 1.53.0.TC017
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + store + $prevFontFamily + (line 711) + +
+ + +
    +
  • var: previous font family
  • +
  • since: 1.53.0.TC017
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + store + $prevFontStyle + (line 718) + +
+ + +
    +
  • var: previous font style
  • +
  • since: 1.53.0.TC017
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + store + $prevTextColor + = array(0,0,0) (line 704) + +
+ + +
    +
  • var: previous text color as RGB array
  • +
  • since: 1.53.0.TC017
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + If + $print_footer + = true (line 535) + +
+ + +
    +
  • var: true prints footer.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + If + $print_header + = true (line 529) + +
+ + +
    +
  • var: true prints header
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + right + $rMargin + (line 221) + +
+ + +
    +
  • var: margin
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $state + (line 125) + +
+ + +
    +
  • var: document state
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + subject + $subject + (line 407) + +
+ + +
    +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + HTML + $tableborder + = 0 (line 616) + +
+ + +
    +
  • var: PARSER: size of table border.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + HTML + $tdalign + = "L" (line 640) + +
+ + +
    +
  • var: PARSER: table align.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + HTML + $tdbegin + = false (line 622) + +
+ + +
    +
  • var: PARSER: true at the beginning of table.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + HTML + $tdbgcolor + = false (line 646) + +
+ + +
    +
  • var: PARSER: table background color.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + HTML + $tdheight + = 0 (line 634) + +
+ + +
    +
  • var: PARSER: table height.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + HTML + $tdwidth + = 0 (line 628) + +
+ + +
    +
  • var: PARSER: table width.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + Store + $tempfontsize + = 10 (line 652) + +
+ + +
    +
  • var: temporary font size in points.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + commands + $TextColor + (line 353) + +
+ + +
    +
  • var: for text color
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + title + $title + (line 401) + +
+ + +
    +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + top + $tMargin + (line 215) + +
+ + +
    +
  • var: margin
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + Underlined + $u + (line 664) + +
+ + +
    +
  • var: font style status.
  • +
  • access: private
  • +
+ + + + + +
+ +
+ +
+ + underlining + $underline + (line 317) + +
+ + +
    +
  • var: flag
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $w + (line 197) + +
+ + +
    +
  • var: width of page in user unit
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $wPt + (line 185) + +
+ + +
    +
  • var: width of page in points
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + word + $ws + (line 365) + +
+ + +
    +
  • var: spacing
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $x + (line 239) + +
+ + +
    +
  • var: horizontal position in user unit for cell positioning
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + current + $y + (line 245) + +
+ + +
    +
  • var: vertical position in user unit for cell positioning
  • +
  • access: protected
  • +
+ + + + + +
+ +
+ +
+ + zoom + $ZoomMode + (line 389) + +
+ + +
    +
  • var: display mode
  • +
  • access: protected
  • +
+ + + + + +
+ +
+
+ + +
+
Methods
+ +
+ + +
+ +
+ Constructor TCPDF (line 735) +
+ + +

This is the class constructor.

+

It allows to set up the page format, the orientation and the measure unit used in all the methods (except for the font sizes).

+
    +
  • since: 1.0
  • +
+ +
+ TCPDF + + TCPDF + + ([string $orientation = 'P'], [string $unit = 'mm'], [mixed $format = 'A4'], [boolean $unicode = true], [String $encoding = "UTF-8"]) +
+ +
    +
  • + string + $orientation: page orientation. Possible values are (case insensitive):
    • P or Portrait (default)
    • L or Landscape
  • +
  • + string + $unit: User measure unit. Possible values are:
    • pt: point
    • mm: millimeter (default)
    • cm: centimeter
    • in: inch

    A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This is a very common unit in typography; font sizes are expressed in that unit.
  • +
  • + mixed + $format: The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
    • 4A0
    • 2A0
    • A0
    • A1
    • A2
    • A3
    • A4 (default)
    • A5
    • A6
    • A7
    • A8
    • A9
    • A10
    • B0
    • B1
    • B2
    • B3
    • B4
    • B5
    • B6
    • B7
    • B8
    • B9
    • B10
    • C0
    • C1
    • C2
    • C3
    • C4
    • C5
    • C6
    • C7
    • C8
    • C9
    • C10
    • RA0
    • RA1
    • RA2
    • RA3
    • RA4
    • SRA0
    • SRA1
    • SRA2
    • SRA3
    • SRA4
    • LETTER
    • LEGAL
    • EXECUTIVE
    • FOLIO
  • +
  • + boolean + $unicode: TRUE means that the input text is unicode (default = true)
  • +
  • + String + $encoding: charset encoding; default is UTF-8
  • +
+ + +
+ +
+ +
+ AcceptPageBreak (line 1927) +
+ + +

Whenever a page break condition is met, the method is called, and the break is issued or not depending on the returned value. The default implementation returns a value according to the mode selected by SetAutoPageBreak().

+

This method is called automatically and should not be called directly by the application.
Example:
The method is overriden in an inherited class in order to obtain a 3 column layout:

 class PDF extends FPDF {
+ 	var $col=0;
+
+ 	function SetCol($col) {
+ 		//Move position to a column
+ 		$this->col=$col;
+ 		$x=10+$col*65;
+ 		$this->SetLeftMargin($x);
+ 		$this->SetX($x);
+ 	}
+
+ 	function AcceptPageBreak() {
+ 		if($this->col<2) {
+ 			//Go to next column
+ 			$this->SetCol($this->col+1);
+ 			$this->SetY(10);
+ 			return false;
+ 		}
+ 		else {
+ 			//Go back to first column and issue page break
+ 			$this->SetCol(0);
+ 			return true;
+ 		}
+ 	}
+ }
+
+ $pdf=new PDF();
+ $pdf->Open();
+ $pdf->AddPage();
+ $pdf->SetFont('Arial','',12);
+ for($i=1;$i<=300;$i++) {
+     $pdf->Cell(0,5,"Line $i",0,1);
+ }
+ $pdf->Output();

+ + +
+ boolean + + AcceptPageBreak + + () +
+ + + +
+ +
+ +
+ AddFont (line 1605) +
+ + +

Imports a TrueType or Type1 font and makes it available. It is necessary to generate a font definition file first with the makefont.php utility. The definition file (and the font file itself when embedding) must be present either in the current directory or in the one indicated by FPDF_FONTPATH if the constant is defined. If it could not be found, the error "Could not include font definition file" is generated.

+

Support UTF-8 Unicode [Nicola Asuni, 2005-01-02]. Example:

 $pdf->AddFont('Comic','I');
+ // is equivalent to:
+ $pdf->AddFont('Comic','I','comici.php');

+ + +
+ void + + AddFont + + (string $family, [string $style = ''], [string $file = '']) +
+ +
    +
  • + string + $family: Font family. The name can be chosen arbitrarily. If it is a standard family name, it will override the corresponding font.
  • +
  • + string + $style: Font style. Possible values are (case insensitive):
    • empty string: regular (default)
    • B: bold
    • I: italic
    • BI or IB: bold italic
  • +
  • + string + $file: The font definition file. By default, the name is built from the family and style, in lower case with no space.
  • +
+ + +
+ +
+ +
+ addHtmlLink (line 4078) +
+ + +

Output anchor link.

+
    +
  • access: public
  • +
+ +
+ void + + addHtmlLink + + (string $url, string $name, int $fill) +
+ +
    +
  • + string + $url: link URL
  • +
  • + string + $name: link name
  • +
  • + int + $fill: Indicates if the cell background must be painted (1) or transparent (0). Default value: 0.
  • +
+ + +
+ +
+ +
+ AddLink (line 1821) +
+ + +

Creates a new internal link and returns its identifier. An internal link is a clickable area which directs to another place within the document.
The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is defined with SetLink().

+ + +
+ void + + AddLink + + () +
+ + + +
+ +
+ +
+ AddPage (line 1220) +
+ + +

Adds a new page to the document. If a page is already present, the Footer() method is called first to output the footer. Then the page is added, the current position set to the top-left corner according to the left and top margins, and Header() is called to display the header.

+

The font which was set before calling is automatically restored. There is no need to call SetFont() again if you want to continue with the same font. The same is true for colors and line width. The origin of the coordinate system is at the top-left corner and increasing ordinates go downwards.

+ + +
+ void + + AddPage + + ([string $orientation = '']) +
+ +
    +
  • + string + $orientation: Page orientation. Possible values are (case insensitive):
    • P or Portrait
    • L or Landscape
    The default value is the one passed to the constructor.
  • +
+ + +
+ +
+ +
+ AliasNbPages (line 1162) +
+ + +

Defines an alias for the total number of pages. It will be substituted as the document is closed.

+

Example:

 class PDF extends FPDF {
+ 	function Footer() {
+ 		//Go to 1.5 cm from bottom
+ 		$this->SetY(-15);
+ 		//Select Arial italic 8
+ 		$this->SetFont('Arial','I',8);
+ 		//Print current and total page numbers
+ 		$this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C');
+ 	}
+ }
+ $pdf=new PDF();
+ $pdf->AliasNbPages();

+ + +
+ void + + AliasNbPages + + ([string $alias = '{nb}']) +
+ +
    +
  • + string + $alias: The alias. Default value: {nb}.
  • +
+ + +
+ +
+ +
+ Cell (line 1947) +
+ + +

Prints a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.
If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.

+ + +
+ void + + Cell + + (float $w, float $h, [string $txt = ''], mixed $border, int $ln, [string $align = ''], int $fill, [mixed $link = '']) +
+ +
    +
  • + float + $w: Cell width. If 0, the cell extends up to the right margin.
  • +
  • + float + $h: Cell height. Default value: 0.
  • +
  • + string + $txt: String to print. Default value: empty string.
  • +
  • + mixed + $border: Indicates if borders must be drawn around the cell. The value can be either a number:
    • 0: no border (default)
    • 1: frame
    or a string containing some or all of the following characters (in any order):
    • L: left
    • T: top
    • R: right
    • B: bottom
  • +
  • + int + $ln: Indicates where the current position should go after the call. Possible values are:
    • 0: to the right
    • 1: to the beginning of the next line
    • 2: below
  • +
  • + string + $align: Allows to center or align the text. Possible values are:
    • L or empty string: left align (default value)
    • C: center
    • R: right align
  • +
  • + int + $fill: Indicates if the cell background must be painted (1) or transparent (0). Default value: 0.
  • +
  • + mixed + $link: URL or identifier returned by AddLink().
  • +
+ + +
+ +
+ +
+ Close (line 1194) +
+ + +

Terminates the PDF document. It is not necessary to call this method explicitly because Output() does it automatically. If the document contains no page, AddPage() is called to prevent from getting an invalid document.

+ + +
+ void + + Close + + () +
+ + + +
+ +
+ +
+ closedHTMLTagHandler (line 3946) +
+ + +

Process closing tags.

+
    +
  • access: private
  • +
+ +
+ void + + closedHTMLTagHandler + + (string $tag) +
+ +
    +
  • + string + $tag: tag name (in uppercase)
  • +
+ + +
+ +
+ +
+ convertColorHexToDec (line 4094) +
+ + +

Returns an associative array (keys: R,G,B) from a hex html code (e.g. #3FE5AA).

+
    +
  • access: private
  • +
+ +
+ array + + convertColorHexToDec + + ([string $color = "#000000"]) +
+ +
    +
  • + string + $color: hexadecimal html color [#rrggbb]
  • +
+ + +
+ +
+ +
+ Error (line 1173) +
+ + +

This method is automatically called in case of fatal error; it simply outputs the message and halts the execution. An inherited class may override it to customize the error handling but should always halt the script, or the resulting document would probably be invalid.

+

2004-06-11 :: Nicola Asuni : changed bold tag with strong

+
    +
  • since: 1.0
  • +
+ +
+ void + + Error + + (string $msg) +
+ +
    +
  • + string + $msg: The error message
  • +
+ + +
+ +
+ +
+ Footer (line 1378) +
+ + +

This method is used to render the page footer.

+

It is automatically called by AddPage() and could be overwritten in your own inherited class.

+ +
+ void + + Footer + + () +
+ + + +
+ +
+ +
+ getBreakMargin (line 966) +
+ + +

Returns the page break margin.

+
    +
  • return: page break margin.
  • +
  • since: 1.5.2
  • +
  • author: Nicola Asuni
  • +
+ +
+ int + + getBreakMargin + + () +
+ + + +
+ +
+ +
+ getImageScale (line 936) +
+ + +

Returns the image scale.

+
    +
  • return: image scale.
  • +
  • since: 1.5.2
  • +
  • author: Nicola Asuni
  • +
+ +
+ float + + getImageScale + + () +
+ + + +
+ +
+ +
+ getPageHeight (line 956) +
+ + +

Returns the page height in units.

+
    +
  • return: page height.
  • +
  • since: 1.5.2
  • +
  • author: Nicola Asuni
  • +
+ +
+ int + + getPageHeight + + () +
+ + + +
+ +
+ +
+ getPageWidth (line 946) +
+ + +

Returns the page width in units.

+
    +
  • return: page width.
  • +
  • since: 1.5.2
  • +
  • author: Nicola Asuni
  • +
+ +
+ int + + getPageWidth + + () +
+ + + +
+ +
+ +
+ getPDFData (line 3577) +
+ + +

Returns the PDF data.

+ +
+ void + + getPDFData + + () +
+ + + +
+ +
+ +
+ getScaleFactor (line 976) +
+ + +

Returns the scale factor (number of points in user unit).

+
    +
  • return: scale factor.
  • +
  • since: 1.5.2
  • +
  • author: Nicola Asuni
  • +
+ +
+ int + + getScaleFactor + + () +
+ + + +
+ +
+ +
+ GetStringWidth (line 1505) +
+ + +

Returns the length of a string in user unit. A font must be selected.

+

Support UTF-8 Unicode [Nicola Asuni, 2005-01-02]

+
    +
  • since: 1.2
  • +
+ +
+ int + + GetStringWidth + + (string $s) +
+ +
    +
  • + string + $s: The string whose length is to be computed
  • +
+ + +
+ +
+ +
+ GetX (line 2370) +
+ + +

Returns the abscissa of the current position.

+ + +
+ float + + GetX + + () +
+ + + +
+ +
+ +
+ GetY (line 2397) +
+ + +

Returns the ordinate of the current position.

+ + +
+ float + + GetY + + () +
+ + + +
+ +
+ +
+ Header (line 1325) +
+ + +

This method is used to render the page header.

+

It is automatically called by AddPage() and could be overwritten in your own inherited class.

+ +
+ void + + Header + + () +
+ + + +
+ +
+ +
+ Image (line 2288) +
+ + +

Puts an image in the page. The upper-left corner must be given. The dimensions can be specified in different ways:

  • explicit width and height (expressed in user unit)
  • one explicit dimension, the other being calculated automatically in order to keep the original proportions
  • no explicit dimension, in which case the image is put at 72 dpi
Supported formats are JPEG and PNG.

+

For JPEG, all flavors are allowed:

  • gray scales
  • true colors (24 bits)
  • CMYK (32 bits)
For PNG, are allowed:
  • gray scales on at most 8 bits (256 levels)
  • indexed colors
  • true colors (24 bits)
but are not supported:
  • Interlacing
  • Alpha channel
If a transparent color is defined, it will be taken into account (but will be only interpreted by Acrobat 4 and above).
The format can be specified explicitly or inferred from the file extension.
It is possible to put a link on the image.
Remark: if an image is used several times, only one copy will be embedded in the file.

+ + +
+ void + + Image + + (string $file, float $x, float $y, float $w, float $h, [string $type = ''], [mixed $link = '']) +
+ +
    +
  • + string + $file: Name of the file containing the image.
  • +
  • + float + $x: Abscissa of the upper-left corner.
  • +
  • + float + $y: Ordinate of the upper-left corner.
  • +
  • + float + $w: Width of the image in the page. If not specified or equal to zero, it is automatically calculated.
  • +
  • + float + $h: Height of the image in the page. If not specified or equal to zero, it is automatically calculated.
  • +
  • + string + $type: Image format. Possible values are (case insensitive): JPG, JPEG, PNG. If not specified, the type is inferred from the file extension.
  • +
  • + mixed + $link: URL or identifier returned by AddLink().
  • +
+ + +
+ +
+ +
+ Line (line 1561) +
+ + +

Draws a line between two points.

+ + +
+ void + + Line + + (float $x1, float $y1, float $x2, float $y2) +
+ +
    +
  • + float + $x1: Abscissa of first point
  • +
  • + float + $y1: Ordinate of first point
  • +
  • + float + $x2: Abscissa of second point
  • +
  • + float + $y2: Ordinate of second point
  • +
+ + +
+ +
+ +
+ Link (line 1857) +
+ + +

Puts a link on a rectangular area of the page. Text or image links are generally put via Cell(), Write() or Image(), but this method can be useful for instance to define a clickable area inside an image.

+ + +
+ void + + Link + + (float $x, float $y, float $w, float $h, mixed $link) +
+ +
    +
  • + float + $x: Abscissa of the upper-left corner of the rectangle
  • +
  • + float + $y: Ordinate of the upper-left corner of the rectangle
  • +
  • + float + $w: Width of the rectangle
  • +
  • + float + $h: Height of the rectangle
  • +
  • + mixed + $link: URL or identifier returned by AddLink()
  • +
+ + +
+ +
+ +
+ Ln (line 2353) +
+ + +

Performs a line break. The current abscissa goes back to the left margin and the ordinate increases by the amount passed in parameter.

+ + +
+ void + + Ln + + ([float $h = '']) +
+ +
    +
  • + float + $h: The height of the break. By default, the value equals the height of the last printed cell.
  • +
+ + +
+ +
+ +
+ MultiCell (line 2050) +
+ + +

This method allows printing text with line breaks. They can be automatic (as soon as the text reaches the right border of the cell) or explicit (via the \n character). As many cells as necessary are output, one below the other.
Text can be aligned, centered or justified. The cell block can be framed and the background painted.

+ + +
+ void + + MultiCell + + (float $w, float $h, string $txt, mixed $border, [string $align = 'J'], int $fill, int $ln) +
+ +
    +
  • + float + $w: Width of cells. If 0, they extend up to the right margin of the page.
  • +
  • + float + $h: Height of cells.
  • +
  • + string + $txt: String to print
  • +
  • + mixed + $border: Indicates if borders must be drawn around the cell block. The value can be either a number:
    • 0: no border (default)
    • 1: frame
    or a string containing some or all of the following characters (in any order):
    • L: left
    • T: top
    • R: right
    • B: bottom
  • +
  • + int + $ln: Indicates where the current position should go after the call. Possible values are:
    • 0: to the right
    • 1: to the beginning of the next line
    • 2: below
  • +
  • + string + $align: Allows to center or align the text. Possible values are:
    • L or empty string: left align
    • C: center
    • R: right align
    • J: justification (default value)
  • +
  • + int + $fill: Indicates if the cell background must be painted (1) or transparent (0). Default value: 0.
  • +
+ + +
+ +
+ +
+ Open (line 1184) +
+ + +

This method begins the generation of the PDF document. It is not necessary to call it explicitly because AddPage() does it automatically.

+

Note: no page is created by this method

+ + +
+ void + + Open + + () +
+ + + +
+ +
+ +
+ openHTMLTagHandler (line 3740) +
+ + +

Process opening tags.

+
    +
  • access: private
  • +
+ +
+ void + + openHTMLTagHandler + + (string $tag, string $attr, int $fill) +
+ +
    +
  • + string + $tag: tag name (in uppercase)
  • +
  • + string + $attr: tag attribute (in uppercase)
  • +
  • + int + $fill: Indicates if the cell background must be painted (1) or transparent (0). Default value: 0.
  • +
+ + +
+ +
+ +
+ Output (line 2440) +
+ + +

Send the document to a given destination: string, local file or browser. In the last case, the plug-in may be used (if present) or a download ("Save as" dialog box) may be forced.
The method first calls Close() if necessary to terminate the document.

+ + +
+ void + + Output + + ([string $name = ''], [string $dest = '']) +
+ +
    +
  • + string + $name: The name of the file. If not given, the document will be sent to the browser (destination I) with the name doc.pdf.
  • +
  • + string + $dest: Destination where to send the document. It can take one of the following values:
    • I: send the file inline to the browser. The plug-in is used if available. The name given by name is used when one selects the "Save as" option on the link generating the PDF.
    • D: send to the browser and force a file download with the name given by name.
    • F: save to a local file with the name given by name.
    • S: return the document as a string. name is ignored.
    If the parameter is not specified but a name is given, destination is F. If no parameter is specified at all, destination is I.
    Note: for compatibility with previous versions, a boolean value is also accepted (false for F and true for D).
  • +
+ + +
+ +
+ +
+ PageNo (line 1421) +
+ + +

Returns the current page number.

+ + +
+ int + + PageNo + + () +
+ + + +
+ +
+ +
+ pixelsToMillimeters (line 4108) +
+ + +

Converts pixels to millimeters in 72 dpi.

+
    +
  • return: millimeters
  • +
  • access: private
  • +
+ +
+ float + + pixelsToMillimeters + + (int $px) +
+ +
    +
  • + int + $px: pixels
  • +
+ + +
+ +
+ +
+ Rect (line 1576) +
+ + +

Outputs a rectangle. It can be drawn (border only), filled (with no border) or both.

+ + +
+ void + + Rect + + (float $x, float $y, float $w, float $h, [string $style = '']) +
+ +
    +
  • + float + $x: Abscissa of upper-left corner
  • +
  • + float + $y: Ordinate of upper-left corner
  • +
  • + float + $w: Width
  • +
  • + float + $h: Height
  • +
  • + string + $style: Style of rendering. Possible values are:
    • D or empty string: draw (default)
    • F: fill
    • DF or FD: draw and fill
  • +
+ + +
+ +
+ +
+ SetAuthor (line 1114) +
+ + +

Defines the author of the document.

+ + +
+ void + + SetAuthor + + (string $author) +
+ +
    +
  • + string + $author: The name of the author.
  • +
+ + +
+ +
+ +
+ SetAutoPageBreak (line 1041) +
+ + +

Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm.

+ + +
+ void + + SetAutoPageBreak + + (boolean $auto, float $margin) +
+ +
    +
  • + boolean + $auto: Boolean indicating if mode should be on or off.
  • +
  • + float + $margin: Distance from the bottom of the page.
  • +
+ + +
+ +
+ +
+ setBarcode (line 3494) +
+ + +

Set document barcode.

+ +
+ void + + setBarcode + + ([string $bc = ""]) +
+ +
    +
  • + string + $bc: barcode
  • +
+ + +
+ +
+ +
+ SetCompression (line 1076) +
+ + +

Activates or deactivates page compression. When activated, the internal representation of each page is compressed, which leads to a compression ratio of about 2 for the resulting document. Compression is on by default.

+

Note: the Zlib extension is required for this feature. If not present, compression will be turned off.

+
    +
  • since: 1.4
  • +
+ +
+ void + + SetCompression + + (boolean $compress) +
+ +
    +
  • + boolean + $compress: Boolean indicating if compression must be enabled.
  • +
+ + +
+ +
+ +
+ SetCreator (line 1136) +
+ + +

Defines the creator of the document. This is typically the name of the application that generates the PDF.

+ + +
+ void + + SetCreator + + (string $creator) +
+ +
    +
  • + string + $creator: The name of the creator.
  • +
+ + +
+ +
+ +
+ SetDisplayMode (line 1054) +
+ + +

Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a specific zooming factor or use viewer default (configured in the Preferences menu of Acrobat). The page layout can be specified too: single at once, continuous display, two columns or viewer default. By default, documents use the full width mode with continuous display.

+
    +
  • since: 1.2
  • +
+ +
+ void + + SetDisplayMode + + (mixed $zoom, [string $layout = 'continuous']) +
+ +
    +
  • + mixed + $zoom: The zoom to use. It can be one of the following string values or a number indicating the zooming factor to use.
    • fullpage: displays the entire page on screen
    • fullwidth: uses maximum width of window
    • real: uses real size (equivalent to 100% zoom)
    • default: uses viewer default mode
  • +
  • + string + $layout: The page layout. Possible values are:
    • single: displays one page at once
    • continuous: displays pages continuously (default)
    • two: displays two pages on two columns
    • default: uses viewer default mode
  • +
+ + +
+ +
+ +
+ SetDrawColor (line 1434) +
+ + +

Defines the color used for all drawing operations (lines, rectangles and cell borders). It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.

+ + +
+ void + + SetDrawColor + + (int $r, [int $g = -1], [int $b = -1]) +
+ +
    +
  • + int + $r: If g et b are given, red component; if not, indicates the gray level. Value between 0 and 255
  • +
  • + int + $g: Green component (between 0 and 255)
  • +
  • + int + $b: Blue component (between 0 and 255)
  • +
+ + +
+ +
+ +
+ SetFillColor (line 1456) +
+ + +

Defines the color used for all filling operations (filled rectangles and cell backgrounds). It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.

+ + +
+ void + + SetFillColor + + (int $r, [int $g = -1], [int $b = -1], [boolean $storeprev = false]) +
+ +
    +
  • + int + $r: If g et b are given, red component; if not, indicates the gray level. Value between 0 and 255
  • +
  • + int + $g: Green component (between 0 and 255)
  • +
  • + int + $b: Blue component (between 0 and 255)
  • +
  • + boolean + $storeprev: if true stores the RGB array on $prevFillColor variable.
  • +
+ + +
+ +
+ +
+ SetFont (line 1704) +
+ + +

Sets the font used to print character strings. It is mandatory to call this method at least once before printing text or the resulting document would not be valid.

+

The font can be either a standard one or a font added via the AddFont() method. Standard fonts use Windows encoding cp1252 (Western Europe). The method can be called before the first page is created and the font is retained from page to page. Note: for the standard fonts, the font metric files must be accessible. There are three possibilities for this:

  • They are in the current directory (the one where the running script lies)
  • They are in one of the directories defined by the include_path parameter
  • They are in the directory defined by the FPDF_FONTPATH constant

Example for the last case (note the trailing slash):
 define('FPDF_FONTPATH','/home/www/font/');
+ require('fpdf.php');
+
+ //Times regular 12
+ $pdf->SetFont('Times');
+ //Arial bold 14
+ $pdf->SetFont('Arial','B',14);
+ //Removes bold
+ $pdf->SetFont('');
+ //Times bold, italic and underlined 14
+ $pdf->SetFont('Times','BIU');

If the file corresponding to the requested font is not found, the error "Could not include font metric file" is generated.

+ + +
+ void + + SetFont + + (string $family, [string $style = ''], float $size) +
+ +
    +
  • + string + $family: Family font. It can be either a name defined by AddFont() or one of the standard families (case insensitive):
    • Courier (fixed-width)
    • Helvetica or Arial (synonymous; sans serif)
    • Times (serif)
    • Symbol (symbolic)
    • ZapfDingbats (symbolic)
    It is also possible to pass an empty string. In that case, the current family is retained.
  • +
  • + string + $style: Font style. Possible values are (case insensitive):
    • empty string: regular
    • B: bold
    • I: italic
    • U: underline
    or any combination. The default value is regular. Bold and italic styles do not apply to Symbol and ZapfDingbats
  • +
  • + float + $size: Font size in points. The default value is the current size. If no size has been specified since the beginning of the document, the value taken is 12
  • +
+ + +
+ +
+ +
+ SetFontSize (line 1803) +
+ + +

Defines the size of the current font.

+ + +
+ void + + SetFontSize + + (float $size) +
+ +
    +
  • + float + $size: The size (in points)
  • +
+ + +
+ +
+ +
+ setFooterFont (line 3477) +
+ + +

Set footer font.

+
    +
  • since: 1.1
  • +
+ +
+ void + + setFooterFont + + (array $font) +
+ +
    +
  • + array + $font: font
  • +
+ + +
+ +
+ +
+ setFooterMargin (line 1317) +
+ + +

Set footer margin.

+

(minimum distance between footer and bottom page margin)

+ +
+ void + + setFooterMargin + + ([int $fm = 10]) +
+ +
    +
  • + int + $fm: distance in millimeters
  • +
+ + +
+ +
+ +
+ setHeaderData (line 1296) +
+ + +

Set header data.

+ +
+ void + + setHeaderData + + ([string $ln = ""], string $lw, [string $ht = ""], [string $hs = ""]) +
+ +
    +
  • + string + $ln: header image logo
  • +
  • + string + $lw: header image logo width in mm
  • +
  • + string + $ht: string to print as title on document header
  • +
  • + string + $hs: string to print on document header
  • +
+ + +
+ +
+ +
+ setHeaderFont (line 3468) +
+ + +

Set header font.

+
    +
  • since: 1.1
  • +
+ +
+ void + + setHeaderFont + + (array $font) +
+ +
    +
  • + array + $font: font
  • +
+ + +
+ +
+ +
+ setHeaderMargin (line 1308) +
+ + +

Set header margin.

+

(minimum distance between header and top page margin)

+ +
+ void + + setHeaderMargin + + ([int $hm = 10]) +
+ +
    +
  • + int + $hm: distance in millimeters
  • +
+ + +
+ +
+ +
+ setImageScale (line 926) +
+ + +

Set the image scale.

+
    +
  • since: 1.5.2
  • +
  • author: Nicola Asuni
  • +
+ +
+ void + + setImageScale + + (float $scale) +
+ +
    +
  • + float + $scale: image scale.
  • +
+ + +
+ +
+ +
+ SetKeywords (line 1125) +
+ + +

Associates keywords with the document, generally in the form 'keyword1 keyword2 ...'.

+ + +
+ void + + SetKeywords + + (string $keywords) +
+ +
    +
  • + string + $keywords: The list of keywords.
  • +
+ + +
+ +
+ +
+ setLanguageArray (line 3486) +
+ + +

Set language array.

+
    +
  • since: 1.1
  • +
+ +
+ void + + setLanguageArray + + (array $language) +
+ +
    +
  • + array + $language
  • +
+ + +
+ +
+ +
+ SetLeftMargin (line 1004) +
+ + +

Defines the left margin. The method can be called before creating the first page. If the current abscissa gets out of page, it is brought back to the margin.

+ + +
+ void + + SetLeftMargin + + (float $margin) +
+ +
    +
  • + float + $margin: The margin.
  • +
+ + +
+ +
+ +
+ SetLineWidth (line 1544) +
+ + +

Defines the line width. By default, the value equals 0.2 mm. The method can be called before the first page is created and the value is retained from page to page.

+ + +
+ void + + SetLineWidth + + (float $width) +
+ +
    +
  • + float + $width: The width.
  • +
+ + +
+ +
+ +
+ SetLink (line 1836) +
+ + +

Defines the page and position a link points to

+ + +
+ void + + SetLink + + (int $link, float $y, [int $page = -1]) +
+ +
    +
  • + int + $link: The link identifier returned by AddLink()
  • +
  • + float + $y: Ordinate of target position; -1 indicates the current position. The default value is 0 (top of page)
  • +
  • + int + $page: Number of target page; -1 indicates the current page. This is the default value
  • +
+ + +
+ +
+ +
+ SetMargins (line 988) +
+ + +

Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change them.

+ + +
+ void + + SetMargins + + (float $left, float $top, [float $right = -1]) +
+ +
    +
  • + float + $left: Left margin.
  • +
  • + float + $top: Top margin.
  • +
  • + float + $right: Right margin. Default value is the left one.
  • +
+ + +
+ +
+ +
+ SetRightMargin (line 1029) +
+ + +

Defines the right margin. The method can be called before creating the first page.

+ + +
+ void + + SetRightMargin + + (float $margin) +
+ +
    +
  • + float + $margin: The margin.
  • +
+ + +
+ +
+ +
+ setStyle (line 4059) +
+ + +

Sets font style.

+
    +
  • access: private
  • +
+ +
+ void + + setStyle + + (string $tag, boolean $enable) +
+ +
    +
  • + string + $tag: tag name (in lowercase)
  • +
  • + boolean + $enable
  • +
+ + +
+ +
+ +
+ SetSubject (line 1103) +
+ + +

Defines the subject of the document.

+ + +
+ void + + SetSubject + + (string $subject) +
+ +
    +
  • + string + $subject: The subject.
  • +
+ + +
+ +
+ +
+ SetTextColor (line 1483) +
+ + +

Defines the color used for text. It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.

+ + +
+ void + + SetTextColor + + (int $r, [int $g = -1], [int $b = -1], [boolean $storeprev = false]) +
+ +
    +
  • + int + $r: If g et b are given, red component; if not, indicates the gray level. Value between 0 and 255
  • +
  • + int + $g: Green component (between 0 and 255)
  • +
  • + int + $b: Blue component (between 0 and 255)
  • +
  • + boolean + $storeprev: if true stores the RGB array on $prevTextColor variable.
  • +
+ + +
+ +
+ +
+ SetTitle (line 1092) +
+ + +

Defines the title of the document.

+ + +
+ void + + SetTitle + + (string $title) +
+ +
    +
  • + string + $title: The title.
  • +
+ + +
+ +
+ +
+ SetTopMargin (line 1018) +
+ + +

Defines the top margin. The method can be called before creating the first page.

+ + +
+ void + + SetTopMargin + + (float $margin) +
+ +
    +
  • + float + $margin: The margin.
  • +
+ + +
+ +
+ +
+ SetX (line 2381) +
+ + +

Defines the abscissa of the current position. If the passed value is negative, it is relative to the right of the page.

+ + +
+ void + + SetX + + (float $x) +
+ +
    +
  • + float + $x: The value of the abscissa.
  • +
+ + +
+ +
+ +
+ SetXY (line 2426) +
+ + +

Defines the abscissa and ordinate of the current position. If the passed values are negative, they are relative respectively to the right and bottom of the page.

+ + +
+ void + + SetXY + + (float $x, float $y) +
+ +
    +
  • + float + $x: The value of the abscissa
  • +
  • + float + $y: The value of the ordinate
  • +
+ + +
+ +
+ +
+ SetY (line 2408) +
+ + +

Moves the current abscissa back to the left margin and sets the ordinate. If the passed value is negative, it is relative to the bottom of the page.

+ + +
+ void + + SetY + + (float $y) +
+ +
    +
  • + float + $y: The value of the ordinate.
  • +
+ + +
+ +
+ +
+ Text (line 1870) +
+ + +

Prints a character string. The origin is on the left of the first charcter, on the baseline. This method allows to place a string precisely on the page, but it is usually easier to use Cell(), MultiCell() or Write() which are the standard methods to print text.

+ + +
+ void + + Text + + (float $x, float $y, string $txt) +
+ +
    +
  • + float + $x: Abscissa of the origin
  • +
  • + float + $y: Ordinate of the origin
  • +
  • + string + $txt: String to print
  • +
+ + +
+ +
+ +
+ unhtmlentities (line 4119) +
+ + +

Reverse function for htmlentities.

+

Convert entities in UTF-8.

+
    +
  • return: converted
  • +
+ +
+ string + + unhtmlentities + + ($text_to_convert $text_to_convert) +
+ +
    +
  • + $text_to_convert + $text_to_convert: Text to convert.
  • +
+ + +
+ +
+ +
+ UTF8StringToArray (line 3330) +
+ + +

Converts UTF-8 strings to codepoints array.

+

Invalid byte sequences will be replaced with 0xFFFD (replacement character)
Based on: http://www.faqs.org/rfcs/rfc3629.html

 	  Char. number range  |        UTF-8 octet sequence
+       (hexadecimal)    |              (binary)
+    --------------------+-----------------------------------------------
+    0000 0000-0000 007F | 0xxxxxxx
+    0000 0080-0000 07FF | 110xxxxx 10xxxxxx
+    0000 0800-0000 FFFF | 1110xxxx 10xxxxxx 10xxxxxx
+    0001 0000-0010 FFFF | 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
+    ---------------------------------------------------------------------
+
+   ABFN notation:
+   ---------------------------------------------------------------------
+   UTF8-octets = *( UTF8-char )
+   UTF8-char   = UTF8-1 / UTF8-2 / UTF8-3 / UTF8-4
+   UTF8-1      = %x00-7F
+   UTF8-2      = %xC2-DF UTF8-tail
+
+   UTF8-3      = %xE0 %xA0-BF UTF8-tail / %xE1-EC 2( UTF8-tail ) /
+                 %xED %x80-9F UTF8-tail / %xEE-EF 2( UTF8-tail )
+   UTF8-4      = %xF0 %x90-BF 2( UTF8-tail ) / %xF1-F3 3( UTF8-tail ) /
+                 %xF4 %x80-8F 2( UTF8-tail )
+   UTF8-tail   = %x80-BF
+   ---------------------------------------------------------------------

+
    +
  • return: containing codepoints (UTF-8 characters values)
  • +
  • usedby: TCPDF::UTF8ToUTF16BE()
  • +
  • since: 1.53.0.TC005 (2005-01-05)
  • +
  • author: Nicola Asuni
  • +
  • access: protected
  • +
+ +
+ array + + UTF8StringToArray + + (string $str) +
+ +
    +
  • + string + $str: string to process.
  • +
+ + +
+ +
+ +
+ UTF8ToUTF16BE (line 3431) +
+ + +

Converts UTF-8 strings to UTF16-BE.

+

Based on: http://www.faqs.org/rfcs/rfc2781.html

   Encoding UTF-16:
+
+   Encoding of a single character from an ISO 10646 character value to
+    UTF-16 proceeds as follows. Let U be the character number, no greater
+    than 0x10FFFF.
+
+    1) If U < 0x10000, encode U as a 16-bit unsigned integer and
+       terminate.
+
+    2) Let U' = U - 0x10000. Because U is less than or equal to 0x10FFFF,
+       U' must be less than or equal to 0xFFFFF. That is, U' can be
+       represented in 20 bits.
+
+    3) Initialize two 16-bit unsigned integers, W1 and W2, to 0xD800 and
+       0xDC00, respectively. These integers each have 10 bits free to
+       encode the character value, for a total of 20 bits.
+
+    4) Assign the 10 high-order bits of the 20-bit U' to the 10 low-order
+       bits of W1 and the 10 low-order bits of U' to the 10 low-order
+       bits of W2. Terminate.
+
+    Graphically, steps 2 through 4 look like:
+    U' = yyyyyyyyyyxxxxxxxxxx
+    W1 = 110110yyyyyyyyyy
+    W2 = 110111xxxxxxxxxx

+ + +
+ string + + UTF8ToUTF16BE + + (string $str, [boolean $setbom = true]) +
+ +
    +
  • + string + $str: string to process.
  • +
  • + boolean + $setbom: if true set the Byte Order Mark (BOM = 0xFEFF)
  • +
+ + +
+ +
+ +
+ Write (line 2180) +
+ + +

This method prints text from the current position. When the right margin is reached (or the \n character is met) a line break occurs and text continues from the left margin. Upon method exit, the current position is left just at the end of the text. It is possible to put a link on the text.

+

Example:

 //Begin with regular font
+ $pdf->SetFont('Arial','',14);
+ $pdf->Write(5,'Visit ');
+ //Then put a blue underlined link
+ $pdf->SetTextColor(0,0,255);
+ $pdf->SetFont('','U');
+ $pdf->Write(5,'www.fpdf.org','http://www.fpdf.org');

+ + +
+ void + + Write + + (float $h, string $txt, [mixed $link = ''], int $fill) +
+ +
    +
  • + float + $h: Line height
  • +
  • + string + $txt: String to print
  • +
  • + mixed + $link: URL or identifier returned by AddLink()
  • +
  • + int + $fill: Indicates if the background must be painted (1) or transparent (0). Default value: 0.
  • +
+ + +
+ +
+ +
+ writeBarcode (line 3510) +
+ + +

Print Barcode.

+ +
+ void + + writeBarcode + + (int $x, int $y, int $w, int $h, string $type, string $style, string $font, int $xres, string $code) +
+ +
    +
  • + int + $x: x position in user units
  • +
  • + int + $y: y position in user units
  • +
  • + int + $w: width in user units
  • +
  • + int + $h: height position in user units
  • +
  • + string + $type: type of barcode (I25, C128A, C128B, C128C, C39)
  • +
  • + string + $style: barcode style
  • +
  • + string + $font: font for text
  • +
  • + int + $xres: x resolution
  • +
  • + string + $code: code to print
  • +
+ + +
+ +
+ +
+ writeHTML (line 3593) +
+ + +

Allows to preserve some HTML formatting.

+

Supports: h1, h2, h3, h4, h5, h6, b, u, i, a, img, p, br, strong, em, font, blockquote, li, ul, ol, hr, td, th, tr, table, sup, sub, small

+ +
+ void + + writeHTML + + (string $html, [boolean $ln = true], int $fill) +
+ +
    +
  • + string + $html: text to display
  • +
  • + boolean + $ln: if true add a new line after text (default = true)
  • +
  • + int + $fill: Indicates if the background must be painted (1) or transparent (0). Default value: 0.
  • +
+ + +
+ +
+ +
+ writeHTMLCell (line 3665) +
+ + +

Prints a cell (rectangular area) with optional borders, background color and html text string. The upper-left corner of the cell corresponds to the current position. After the call, the current position moves to the right or to the next line.
If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.

+ + +
+ void + + writeHTMLCell + + (float $w, float $h, float $x, float $y, [string $html = ''], mixed $border, int $ln, int $fill) +
+ +
    +
  • + float + $w: Cell width. If 0, the cell extends up to the right margin.
  • +
  • + float + $h: Cell minimum height. The cell extends automatically if needed.
  • +
  • + float + $x: upper-left corner X coordinate
  • +
  • + float + $y: upper-left corner Y coordinate
  • +
  • + string + $html: html text to print. Default value: empty string.
  • +
  • + mixed + $border: Indicates if borders must be drawn around the cell. The value can be either a number:
    • 0: no border (default)
    • 1: frame
    or a string containing some or all of the following characters (in any order):
    • L: left
    • T: top
    • R: right
    • B: bottom
  • +
  • + int + $ln: Indicates where the current position should go after the call. Possible values are:
    • 0: to the right
    • 1: to the beginning of the next line
    • 2: below
  • +
  • + int + $fill: Indicates if the cell background must be painted (1) or transparent (0). Default value: 0.
  • +
+ + +
+ +
+ +
+ _begindoc (line 2548) +
+ + +

Start document

+
    +
  • access: protected
  • +
+ +
+ void + + _begindoc + + () +
+ + + +
+ +
+ +
+ _beginpage (line 2954) +
+ + +

_beginpage

+
    +
  • access: protected
  • +
+ +
+ void + + _beginpage + + (mixed $orientation) +
+ + + +
+ +
+ +
+ _dochecks (line 2522) +
+ + +

Check for locale-related bug

+
    +
  • access: protected
  • +
+ +
+ void + + _dochecks + + () +
+ + + +
+ +
+ +
+ _dounderline (line 3012) +
+ + +

Underline text

+
    +
  • access: protected
  • +
+ +
+ void + + _dounderline + + (mixed $x, mixed $y, mixed $txt) +
+ + + +
+ +
+ +
+ _enddoc (line 2915) +
+ + +

_enddoc

+
    +
  • access: protected
  • +
+ +
+ void + + _enddoc + + () +
+ + + +
+ +
+ +
+ _endpage (line 2994) +
+ + +

End of page contents

+
    +
  • access: protected
  • +
+ +
+ void + + _endpage + + () +
+ + + +
+ +
+ +
+ _escape (line 3186) +
+ + +

Add \ before \, ( and )

+
    +
  • access: protected
  • +
+ +
+ void + + _escape + + (mixed $s) +
+ + + +
+ +
+ +
+ _escapetext (line 3174) +
+ + +

Format a text string

+
    +
  • access: protected
  • +
+ +
+ void + + _escapetext + + (mixed $s) +
+ + + +
+ +
+ +
+ _freadint (line 3152) +
+ + +

Read a 4-byte integer from file

+
    +
  • access: protected
  • +
+ +
+ void + + _freadint + + (mixed $f) +
+ + + +
+ +
+ +
+ _getfontpath (line 2537) +
+ + +

Return fonts path

+
    +
  • access: protected
  • +
+ +
+ void + + _getfontpath + + () +
+ + + +
+ +
+ +
+ _newobj (line 3002) +
+ + +

Begin a new object

+
    +
  • access: protected
  • +
+ +
+ void + + _newobj + + () +
+ + + +
+ +
+ +
+ _out (line 3204) +
+ + +

Add a line to the document

+
    +
  • access: protected
  • +
+ +
+ void + + _out + + (mixed $s) +
+ + + +
+ +
+ +
+ _parsejpg (line 3023) +
+ + +

Extract info from a JPEG file

+
    +
  • access: protected
  • +
+ +
+ void + + _parsejpg + + (mixed $file) +
+ + + +
+ +
+ +
+ _parsepng (line 3055) +
+ + +

Extract info from a PNG file

+
    +
  • access: protected
  • +
+ +
+ void + + _parsepng + + (mixed $file) +
+ + + +
+ +
+ +
+ _putcatalog (line 2867) +
+ + +

_putcatalog

+
    +
  • access: protected
  • +
+ +
+ void + + _putcatalog + + () +
+ + + +
+ +
+ +
+ _putfonts (line 2631) +
+ + +

Adds fonts

+

_putfonts

+
    +
  • access: protected
  • +
+ +
+ void + + _putfonts + + () +
+ + + +
+ +
+ +
+ _putheader (line 2907) +
+ + +

_putheader

+
    +
  • access: protected
  • +
+ +
+ void + + _putheader + + () +
+ + + +
+ +
+ +
+ _putimages (line 2749) +
+ + +

_putimages

+
    +
  • access: protected
  • +
+ +
+ void + + _putimages + + () +
+ + + +
+ +
+ +
+ _putinfo (line 2843) +
+ + +

_putinfo

+
    +
  • access: protected
  • +
+ +
+ void + + _putinfo + + () +
+ + + +
+ +
+ +
+ _putpages (line 2558) +
+ + +

_putpages

+
    +
  • access: protected
  • +
+ +
+ void + + _putpages + + () +
+ + + +
+ +
+ +
+ _putresourcedict (line 2811) +
+ + +

_putresourcedict

+
    +
  • access: protected
  • +
+ +
+ void + + _putresourcedict + + () +
+ + + +
+ +
+ +
+ _putresources (line 2827) +
+ + +

_putresources

+
    +
  • access: protected
  • +
+ +
+ void + + _putresources + + () +
+ + + +
+ +
+ +
+ _putstream (line 3194) +
+ + +
    +
  • access: protected
  • +
+ +
+ void + + _putstream + + (mixed $s) +
+ + + +
+ +
+ +
+ _puttrailer (line 2897) +
+ + +

_puttrailer

+
    +
  • access: protected
  • +
+ +
+ void + + _puttrailer + + () +
+ + + +
+ +
+ +
+ _puttruetypeunicode (line 3220) +
+ + +

Adds unicode fonts.

+

Based on PDF Reference 1.3 (section 5)

+
    +
  • since: 1.52.0.TC005 (2005-01-05)
  • +
  • author: Nicola Asuni
  • +
  • access: protected
  • +
+ +
+ void + + _puttruetypeunicode + + (mixed $font) +
+ + + +
+ +
+ +
+ _putxobjectdict (line 2801) +
+ + +

_putxobjectdict

+
    +
  • access: protected
  • +
+ +
+ void + + _putxobjectdict + + () +
+ + + +
+ +
+ +
+ _textstring (line 3162) +
+ + +

Format a text string

+
    +
  • access: protected
  • +
+ +
+ void + + _textstring + + (mixed $s) +
+ + + +
+ +
+
+ + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:54 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_barcode_php.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_barcode_php.html new file mode 100644 index 00000000000..a28cbfe9ab1 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_barcode_php.html @@ -0,0 +1,525 @@ + + + + + + Docs for page BarcodeObject + + + + +
+

/barcode/barcode.php

+ + +
+
Description
+ +
+ +

Barcode Render Class for PHP using the GD graphics library.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+ +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+ BarcodeObject + + Barcode Render Class for PHP using the GD graphics library. +
+
+
+ + + +
+
Constants
+ +
+ +
+ +
+ + BCD_C39_NARROW_BAR = 1 + (line 166) + +
+ + +

narrow bar option

+

(only for c39 code)

+ + +
+ +
+ +
+ + BCD_C39_WIDE_BAR = 2 + (line 172) + +
+ + +

wide bar option

+

(only for c39 code)

+ + +
+ +
+ +
+ + BCD_C128_BAR_1 = 1 + (line 180) + +
+ + +

set type 1 bar

+

(only for c128 code)

+ + +
+ +
+ +
+ + BCD_C128_BAR_2 = 2 + (line 186) + +
+ + +

set type 2 bar

+

(only for c128 code)

+ + +
+ +
+ +
+ + BCD_C128_BAR_3 = 3 + (line 192) + +
+ + +

set type 3 bar

+

(only for c128 code)

+ + +
+ +
+ +
+ + BCD_C128_BAR_4 = 4 + (line 198) + +
+ + +

set type 4 bar

+

(only for c128 code)

+ + +
+ +
+ +
+ + BCD_DEFAULT_BACKGROUND_COLOR = 0xFFFFFF + (line 97) + +
+ + +

set default background color

+ + +
+ +
+ +
+ + BCD_DEFAULT_FONT = 5 + (line 122) + +
+ + +

set default font

+ + +
+ +
+ +
+ + BCD_DEFAULT_FOREGROUND_COLOR = 0x000000 + (line 102) + +
+ + +

set default foreground color

+ + +
+ +
+ +
+ + BCD_DEFAULT_HEIGHT = 120 + (line 117) + +
+ + +

set default height

+ + +
+ +
+ +
+ + BCD_DEFAULT_MAR_Y1 = + (line 134) + +
+ + +

set default margin

+ + +
+ +
+ +
+ + BCD_DEFAULT_MAR_Y2 = + (line 139) + +
+ + +

set default margin

+ + +
+ +
+ +
+ + BCD_DEFAULT_STYLE = BCS_BORDER|BCS_ALIGN_CENTER|BCS_IMAGE_PNG + (line 107) + +
+ + +

set default style options

+ + +
+ +
+ +
+ + BCD_DEFAULT_TEXT_OFFSET = 2 + (line 144) + +
+ + +

set default text offset

+ + +
+ +
+ +
+ + BCD_DEFAULT_WIDTH = 460 + (line 112) + +
+ + +

set default width

+ + +
+ +
+ +
+ + BCD_DEFAULT_XRES = 2 + (line 127) + +
+ + +

st default horizontal resolution

+ + +
+ +
+ +
+ + BCD_I25_NARROW_BAR = 1 + (line 152) + +
+ + +

narrow bar option

+

(only for I25 code)

+ + +
+ +
+ +
+ + BCD_I25_WIDE_BAR = 2 + (line 158) + +
+ + +

wide bar option

+

(only for I25 code)

+ + +
+ +
+ +
+ + BCS_ALIGN_CENTER = 4 + (line 51) + +
+ + +

option: center barcode

+ + +
+ +
+ +
+ + BCS_ALIGN_LEFT = 8 + (line 56) + +
+ + +

option: align left

+ + +
+ +
+ +
+ + BCS_ALIGN_RIGHT = 16 + (line 61) + +
+ + +

option: align right

+ + +
+ +
+ +
+ + BCS_BORDER = 1 + (line 41) + +
+ + +

option: generate barcode border

+ + +
+ +
+ +
+ + BCS_DRAW_TEXT = 128 + (line 76) + +
+ + +

option: draw text

+ + +
+ +
+ +
+ + BCS_I25_DRAW_CHECK = 2048 + (line 92) + +
+ + +

option: draw check

+

(only for I25 code)

+ + +
+ +
+ +
+ + BCS_IMAGE_JPEG = 32 + (line 66) + +
+ + +

option: generate JPEG image

+ + +
+ +
+ +
+ + BCS_IMAGE_PNG = 64 + (line 71) + +
+ + +

option: generate PNG image

+ + +
+ +
+ +
+ + BCS_REVERSE_COLOR = 512 + (line 86) + +
+ + +

option: reverse color

+ + +
+ +
+ +
+ + BCS_STRETCH_TEXT = 256 + (line 81) + +
+ + +

option: stretch text

+ + +
+ +
+ +
+ + BCS_TRANSPARENT = 2 + (line 46) + +
+ + +

option: use transparent background

+ + +
+
+
+ + + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:50 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c128aobject_php.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c128aobject_php.html new file mode 100644 index 00000000000..8bffe64b826 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c128aobject_php.html @@ -0,0 +1,68 @@ + + + + + + Docs for page BarcodeObject + + + + +
+

/barcode/c128aobject.php

+ + +
+
Description
+ +
+ +

Code 128-A Barcode Render Class for PHP using the GD graphics library.
Code 128-A is a continuous, multilevel and include all upper case alphanumeric characters and ASCII control characters.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+ +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+ C128AObject + + Code 128-A Barcode Render Class for PHP using the GD graphics library.
Code 128-A is a continuous, multilevel and include all upper case alphanumeric characters and ASCII control characters. +
+
+
+ + + + + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:52 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c128bobject_php.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c128bobject_php.html new file mode 100644 index 00000000000..2a708691237 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c128bobject_php.html @@ -0,0 +1,68 @@ + + + + + + Docs for page BarcodeObject + + + + +
+

/barcode/c128bobject.php

+ + +
+
Description
+ +
+ +

Code 128-B Barcode Render Class for PHP using the GD graphics library.
Code 128-B is a continuous, multilevel and full ASCII code.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+ +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+ C128BObject + + Code 128-B Barcode Render Class for PHP using the GD graphics library.
Code 128-B is a continuous, multilevel and full ASCII code. +
+
+
+ + + + + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:53 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c128cobject_php.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c128cobject_php.html new file mode 100644 index 00000000000..106eca41a70 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c128cobject_php.html @@ -0,0 +1,68 @@ + + + + + + Docs for page BarcodeObject + + + + +
+

/barcode/c128cobject.php

+ + +
+
Description
+ +
+ +

Code 128-C Barcode Render Class for PHP using the GD graphics library.
Code 128-C is numeric only and provides the most efficiency.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+ +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+ C128CObject + + Code 128-C Barcode Render Class for PHP using the GD graphics library.
Code 128-C is numeric only and provides the most efficiency. +
+
+
+ + + + + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:51 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c39object_php.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c39object_php.html new file mode 100644 index 00000000000..ff13687837f --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_c39object_php.html @@ -0,0 +1,68 @@ + + + + + + Docs for page BarcodeObject + + + + +
+

/barcode/c39object.php

+ + +
+
Description
+ +
+ +

Code 39 Barcode Render Class.
Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+ +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+ C39Object + + Code 39 Barcode Render Class.
Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols. +
+
+
+ + + + + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:52 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_i25object_php.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_i25object_php.html new file mode 100644 index 00000000000..2522c67e2bd --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_i25object_php.html @@ -0,0 +1,68 @@ + + + + + + Docs for page BarcodeObject + + + + +
+

/barcode/i25object.php

+ + +
+
Description
+ +
+ +

I25 Barcode Render Class for PHP using the GD graphics library.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+ +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+ I25Object + + I25 Barcode Render Class for PHP using the GD graphics library. +
+
+
+ + + + + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:52 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_image_php.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_image_php.html new file mode 100644 index 00000000000..3804a357bfa --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_barcode_image_php.html @@ -0,0 +1,138 @@ + + + + + + Docs for page BarcodeObject + + + + +
+

/barcode/image.php

+ + +
+
Description
+ +
+ +

Barcode Image Rendering.

+
    +
  • license: LGPL
  • +
  • since: 2001-03-25
  • +
  • version: 0.0.8a 2001-04-01 (original code)
  • +
  • name: BarcodeObject
  • +
  • author: Karim Mribti, Nicola Asuni
  • +
+ +
+
+ + + +
+
Includes
+ +
+ +
+ +
+ + require + ("../../shared/barcode/i25object.php") + (line 39) + +
+ + + +
+ +
+ +
+ + require + ("../../shared/barcode/barcode.php") + (line 38) + +
+ + + +
+ +
+ +
+ + require + ("../../shared/barcode/c39object.php") + (line 40) + +
+ + + +
+ +
+ +
+ + require + ("../../shared/barcode/c128aobject.php") + (line 41) + +
+ + + +
+ +
+ +
+ + require + ("../../shared/barcode/c128cobject.php") + (line 43) + +
+ + + +
+ +
+ +
+ + require + ("../../shared/barcode/c128bobject.php") + (line 42) + +
+ + + +
+
+
+ + + + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:51 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_config_lang_eng_php.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_config_lang_eng_php.html new file mode 100644 index 00000000000..9ecdacdd30b --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_config_lang_eng_php.html @@ -0,0 +1,43 @@ + + + + + + Docs for page eng.php + + + + +
+

/config/lang/eng.php

+ + +
+
Description
+ +
+ +

TCPDF language file (contains translated texts).

+
    +
  • license: LGPL
  • +
  • since: 2004-03-03
  • +
  • link: http://tcpdf.sourceforge.net
  • +
  • copyright: 2004 Tecnick.com S.r.l (www.tecnick.com) Via Ugo Foscolo n.19 - 09045 Quartu Sant'Elena (CA) - ITALY - www.tecnick.com - info@tecnick.com
  • +
  • author: Nicola Asuni
  • +
  • abstract: TCPDF language file.
  • +
+ +
+
+ + + + + + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:53 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_config_tcpdf_config_php.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_config_tcpdf_config_php.html new file mode 100644 index 00000000000..e20bb94ad37 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_config_tcpdf_config_php.html @@ -0,0 +1,520 @@ + + + + + + Docs for page tcpdf_config.php + + + + +
+

/config/tcpdf_config.php

+ + +
+
Description
+ +
+ +

Congiguration file for TCPDF.

+
    +
  • license: LGPL
  • +
  • since: 2004-06-11
  • +
  • link: http://tcpdf.sourceforge.net
  • +
  • version: 1.53.0.TC017
  • +
  • copyright: Copyright &copy; 2004, Tecnick.com S.r.l. - Via Ugo Foscolo n.19 - 09045 Quartu Sant'Elena (CA) - ITALY - www.tecnick.com - info@tecnick.com
  • +
  • author: Nicola Asuni
  • +
+ +
+
+ + + + +
+
Constants
+ +
+ +
+ +
+ + FPDF_FONTPATH = K_PATH_MAIN."fonts/" + (line 46) + +
+ + +

path for PDF fonts

+ + +
+ +
+ +
+ + HEAD_MAGNIFICATION = 1.1 + (line 171) + +
+ + +

magnification factor for titles

+ + +
+ +
+ +
+ + K_BLANK_IMAGE = K_PATH_IMAGES."_blank.png" + (line 66) + +
+ + +

blank image

+ + +
+ +
+ +
+ + K_CELL_HEIGHT_RATIO = 1.25 + (line 176) + +
+ + +

height of cell repect font height

+ + +
+ +
+ +
+ + K_PATH_CACHE = K_PATH_MAIN."cache/" + (line 51) + +
+ + +

cache directory for temporary files (full path)

+ + +
+ +
+ +
+ + K_PATH_IMAGES = K_PATH_MAIN."images/" + (line 61) + +
+ + +

images directory

+ + +
+ +
+ +
+ + K_PATH_MAIN = "D:/Inetpub/wwwroot/_OPENSOURCE/tcpdf/" + (line 36) + +
+ + +

installation path

+ + +
+ +
+ +
+ + K_PATH_URL = "http://localhost/_OPENSOURCE/tcpdf/" + (line 41) + +
+ + +

url path

+ + +
+ +
+ +
+ + K_PATH_URL_CACHE = K_PATH_URL."cache/" + (line 56) + +
+ + +

cache directory for temporary files (url path)

+ + +
+ +
+ +
+ + K_SMALL_RATIO = 2/3 + (line 186) + +
+ + +

reduction factor for small font

+ + +
+ +
+ +
+ + K_TITLE_MAGNIFICATION = 1.3 + (line 181) + +
+ + +

title magnification respect main font size

+ + +
+ +
+ +
+ + PDF_AUTHOR = "pdf author" + (line 86) + +
+ + +

document author

+ + +
+ +
+ +
+ + PDF_CREATOR = "pdf creator" + (line 81) + +
+ + +

document creator

+ + +
+ +
+ +
+ + PDF_FONT_NAME_DATA = "FreeSerif" + (line 156) + +
+ + +

data font name

+ + +
+ +
+ +
+ + PDF_FONT_NAME_MAIN = "FreeSans" + (line 146) + +
+ + +

main font name

+ + +
+ +
+ +
+ + PDF_FONT_SIZE_DATA = 8 + (line 161) + +
+ + +

data font size

+ + +
+ +
+ +
+ + PDF_FONT_SIZE_MAIN = 10 + (line 151) + +
+ + +

main font size

+ + +
+ +
+ +
+ + PDF_HEADER_LOGO = "logo_example.png" + (line 101) + +
+ + +

image logo

+ + +
+ +
+ +
+ + PDF_HEADER_LOGO_WIDTH = 20 + (line 106) + +
+ + +

header logo image width [mm]

+ + +
+ +
+ +
+ + PDF_HEADER_STRING = "first row\nsecond row\nthird row" + (line 96) + +
+ + +

header description string

+ + +
+ +
+ +
+ + PDF_HEADER_TITLE = "header title" + (line 91) + +
+ + +

header title

+ + +
+ +
+ +
+ + PDF_IMAGE_SCALE_RATIO = 4 + (line 166) + +
+ + +

scale factor for images (number of points in user unit)

+ + +
+ +
+ +
+ + PDF_MARGIN_BOTTOM = 25 + (line 131) + +
+ + +

bottom margin

+ + +
+ +
+ +
+ + PDF_MARGIN_FOOTER = 10 + (line 121) + +
+ + +

footer margin

+ + +
+ +
+ +
+ + PDF_MARGIN_HEADER = 5 + (line 116) + +
+ + +

header margin

+ + +
+ +
+ +
+ + PDF_MARGIN_LEFT = 15 + (line 136) + +
+ + +

left margin

+ + +
+ +
+ +
+ + PDF_MARGIN_RIGHT = 15 + (line 141) + +
+ + +

right margin

+ + +
+ +
+ +
+ + PDF_MARGIN_TOP = 27 + (line 126) + +
+ + +

top margin

+ + +
+ +
+ +
+ + PDF_PAGE_FORMAT = "A4" + (line 71) + +
+ + +

page format

+ + +
+ +
+ +
+ + PDF_PAGE_ORIENTATION = "P" + (line 76) + +
+ + +

page orientation (P=portrait, L=landscape)

+ + +
+ +
+ +
+ + PDF_UNIT = "mm" + (line 111) + +
+ + +

document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]

+ + +
+
+
+ + + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:56 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_html_entity_decode_php4_php.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_html_entity_decode_php4_php.html new file mode 100644 index 00000000000..92c03348091 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_html_entity_decode_php4_php.html @@ -0,0 +1,106 @@ + + + + + + Docs for page html_entity_decode_php4.php + + + + +
+

/html_entity_decode_php4.php

+ + +
+
Description
+ +
+ +

TCPDF Class.

+ +
+
+ + + + + + +
+
Functions
+ +
+ +
+ +
+ code_to_utf8 (line 27) +
+ + +

Returns the UTF-8 string corresponding to unicode value.

+
    +
  • return: converted
  • +
+ +
+ string + + code_to_utf8 + + ($num $num) +
+ +
    +
  • + $num + $num: unicode value to convert.
  • +
+ + +
+ +
+ +
+ html_entity_decode_php4 (line 46) +
+ + +

Reverse function for htmlentities.

+

Convert entities in UTF-8.

+
    +
  • return: converted
  • +
+ +
+ string + + html_entity_decode_php4 + + ($text_to_convert $text_to_convert) +
+ +
    +
  • + $text_to_convert + $text_to_convert: Text to convert.
  • +
+ + +
+
+
+ +

+ Documentation generated on Fri, 23 Jun 2006 10:11:53 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_tcpdf_php.html b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_tcpdf_php.html new file mode 100644 index 00000000000..4d97827529b --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/com.tecnick.tcpdf/_tcpdf_php4_tcpdf_php.html @@ -0,0 +1,118 @@ + + + + + + Docs for page tcpdf.php + + + + +
+

/tcpdf.php

+ + +
+
Description
+ +
+ + +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+ TCPDF + + This is a PHP4 class for generating PDF files on-the-fly without requiring external extensions.
+
+
+
+ + +
+
Includes
+ +
+ +
+ +
+ + require_once + (dirname(__FILE__).'/config/tcpdf_config.php') + (line 35) + +
+ + +

include configuration file

+ +
+
+
+ + +
+
Constants
+ +
+ +
+ +
+ + PDF_PRODUCER = 'TCPDF 1.53.0.TC020_PHP4 (http://tcpdf.sourceforge.net)' + (line 73) + +
+ + +

define default PDF document producer

+ + +
+
+
+ + + +

+ Documentation generated on Fri, 23 Jun 2006 10:11:54 +0200 by phpDocumentor 1.3.0RC3 +

+
+ diff --git a/htdocs/includes/fpdf/tcpdf/doc/elementindex.html b/htdocs/includes/fpdf/tcpdf/doc/elementindex.html new file mode 100644 index 00000000000..350d48d4a33 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/elementindex.html @@ -0,0 +1,2558 @@ + + + + + + + + + + + + +

Full index

+

Package indexes

+ +
+
+ a + b + c + d + e + f + g + h + i + k + l + m + n + o + p + r + s + t + u + w + x + y + z + _ +
+ + +
+
a
+ +
+
+
+
+ $AliasNbPages +
+
+ +
+
+ $author +
+
+
TCPDF::$author in tcpdf.php
+
+
+ $AutoPageBreak +
+
+ +
+
+ AcceptPageBreak +
+
+ +
Whenever a page break condition is met, the method is called, and the break is issued or not depending on the returned value. The default implementation returns a value according to the mode selected by SetAutoPageBreak().
+
+
+ AddFont +
+
+
TCPDF::AddFont() in tcpdf.php
+
Imports a TrueType or Type1 font and makes it available. It is necessary to generate a font definition file first with the makefont.php utility. The definition file (and the font file itself when embedding) must be present either in the current directory or in the one indicated by FPDF_FONTPATH if the constant is defined. If it could not be found, the error "Could not include font definition file" is generated.
+
+
+ addHtmlLink +
+
+ +
Output anchor link.
+
+
+ AddLink +
+
+
TCPDF::AddLink() in tcpdf.php
+
Creates a new internal link and returns its identifier. An internal link is a clickable area which directs to another place within the document.
The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is defined with SetLink().
+
+
+ AddPage +
+
+
TCPDF::AddPage() in tcpdf.php
+
Adds a new page to the document. If a page is already present, the Footer() method is called first to output the footer. Then the page is added, the current position set to the top-left corner according to the left and top margins, and Header() is called to display the header.
+
+
+ AliasNbPages +
+
+ +
Defines an alias for the total number of pages. It will be substituted as the document is closed.
+
+
+ +
+
b
+ +
+
+
+
+ $b +
+
+
TCPDF::$b in tcpdf.php
+
+
+ $barcode +
+
+
TCPDF::$barcode in tcpdf.php
+
+
+ $bMargin +
+
+
TCPDF::$bMargin in tcpdf.php
+
+
+ $buffer +
+
+
TCPDF::$buffer in tcpdf.php
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
Barcode Render Class for PHP using the GD graphics library.
+
+
+ BarcodeObject +
+
+ +
Class Constructor.
+
+
+ BCD_C39_NARROW_BAR +
+
+
BCD_C39_NARROW_BAR in BarcodeObject
+
narrow bar option
+
+
+ BCD_C39_WIDE_BAR +
+
+
BCD_C39_WIDE_BAR in BarcodeObject
+
wide bar option
+
+
+ BCD_C128_BAR_1 +
+
+
BCD_C128_BAR_1 in BarcodeObject
+
set type 1 bar
+
+
+ BCD_C128_BAR_2 +
+
+
BCD_C128_BAR_2 in BarcodeObject
+
set type 2 bar
+
+
+ BCD_C128_BAR_3 +
+
+
BCD_C128_BAR_3 in BarcodeObject
+
set type 3 bar
+
+
+ BCD_C128_BAR_4 +
+
+
BCD_C128_BAR_4 in BarcodeObject
+
set type 4 bar
+
+
+ BCD_DEFAULT_BACKGROUND_COLOR +
+
+ +
set default background color
+
+
+ BCD_DEFAULT_FONT +
+
+
BCD_DEFAULT_FONT in BarcodeObject
+
set default font
+
+
+ BCD_DEFAULT_FOREGROUND_COLOR +
+
+ +
set default foreground color
+
+
+ BCD_DEFAULT_HEIGHT +
+
+
BCD_DEFAULT_HEIGHT in BarcodeObject
+
set default height
+
+
+ BCD_DEFAULT_MAR_Y1 +
+
+
BCD_DEFAULT_MAR_Y1 in BarcodeObject
+
set default margin
+
+
+ BCD_DEFAULT_MAR_Y2 +
+
+
BCD_DEFAULT_MAR_Y2 in BarcodeObject
+
set default margin
+
+
+ BCD_DEFAULT_STYLE +
+
+
BCD_DEFAULT_STYLE in BarcodeObject
+
set default style options
+
+
+ BCD_DEFAULT_TEXT_OFFSET +
+
+
BCD_DEFAULT_TEXT_OFFSET in BarcodeObject
+
set default text offset
+
+
+ BCD_DEFAULT_WIDTH +
+
+
BCD_DEFAULT_WIDTH in BarcodeObject
+
set default width
+
+
+ BCD_DEFAULT_XRES +
+
+
BCD_DEFAULT_XRES in BarcodeObject
+
st default horizontal resolution
+
+
+ BCD_I25_NARROW_BAR +
+
+
BCD_I25_NARROW_BAR in BarcodeObject
+
narrow bar option
+
+
+ BCD_I25_WIDE_BAR +
+
+
BCD_I25_WIDE_BAR in BarcodeObject
+
wide bar option
+
+
+ BCS_ALIGN_CENTER +
+
+
BCS_ALIGN_CENTER in BarcodeObject
+
option: center barcode
+
+
+ BCS_ALIGN_LEFT +
+
+
BCS_ALIGN_LEFT in BarcodeObject
+
option: align left
+
+
+ BCS_ALIGN_RIGHT +
+
+
BCS_ALIGN_RIGHT in BarcodeObject
+
option: align right
+
+
+ BCS_BORDER +
+
+
BCS_BORDER in BarcodeObject
+
option: generate barcode border
+
+
+ BCS_DRAW_TEXT +
+
+
BCS_DRAW_TEXT in BarcodeObject
+
option: draw text
+
+
+ BCS_I25_DRAW_CHECK +
+
+
BCS_I25_DRAW_CHECK in BarcodeObject
+
option: draw check
+
+
+ BCS_IMAGE_JPEG +
+
+
BCS_IMAGE_JPEG in BarcodeObject
+
option: generate JPEG image
+
+
+ BCS_IMAGE_PNG +
+
+
BCS_IMAGE_PNG in BarcodeObject
+
option: generate PNG image
+
+
+ BCS_REVERSE_COLOR +
+
+
BCS_REVERSE_COLOR in BarcodeObject
+
option: reverse color
+
+
+ BCS_STRETCH_TEXT +
+
+
BCS_STRETCH_TEXT in BarcodeObject
+
option: stretch text
+
+
+ BCS_TRANSPARENT +
+
+
BCS_TRANSPARENT in BarcodeObject
+
option: use transparent background
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ +
+
c
+ +
+
+
+
+ $cMargin +
+
+
TCPDF::$cMargin in tcpdf.php
+
+
+ $ColorFlag +
+
+
TCPDF::$ColorFlag in tcpdf.php
+
+
+ $compress +
+
+
TCPDF::$compress in tcpdf.php
+
+
+ $CoreFonts +
+
+
TCPDF::$CoreFonts in tcpdf.php
+
+
+ $creator +
+
+
TCPDF::$creator in tcpdf.php
+
+
+ $CurOrientation +
+
+ +
+
+ $CurrentFont +
+
+
TCPDF::$CurrentFont in tcpdf.php
+
+
+ C39Object +
+
+
C39Object::C39Object() in BarcodeObject
+
Class Constructor.
+
+
+ C39Object +
+
+
C39Object in BarcodeObject
+
Code 39 Barcode Render Class.
Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols.
+
+
+ C128AObject +
+
+
C128AObject in BarcodeObject
+
Code 128-A Barcode Render Class for PHP using the GD graphics library.
Code 128-A is a continuous, multilevel and include all upper case alphanumeric characters and ASCII control characters.
+
+
+ C128AObject +
+
+ +
Class Constructor.
+
+
+ C128BObject +
+
+ +
Class Constructor.
+
+
+ C128BObject +
+
+
C128BObject in BarcodeObject
+
Code 128-B Barcode Render Class for PHP using the GD graphics library.
Code 128-B is a continuous, multilevel and full ASCII code.
+
+
+ C128CObject +
+
+ +
Class Constructor.
+
+
+ C128CObject +
+
+
C128CObject in BarcodeObject
+
Code 128-C Barcode Render Class for PHP using the GD graphics library.
Code 128-C is numeric only and provides the most efficiency.
+
+
+ Cell +
+
+
TCPDF::Cell() in tcpdf.php
+
Prints a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.
If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.
+
+
+ Close +
+
+
TCPDF::Close() in tcpdf.php
+
Terminates the PDF document. It is not necessary to call this method explicitly because Output() does it automatically. If the document contains no page, AddPage() is called to prevent from getting an invalid document.
+
+
+ closedHTMLTagHandler +
+
+ +
Process closing tags.
+
+
+ code_to_utf8 +
+
+
code_to_utf8() in html_entity_decode_php4.php
+
Returns the UTF-8 string corresponding to unicode value.
+
+
+ convertColorHexToDec +
+
+ +
Returns an associative array (keys: R,G,B) from a hex html code (e.g. #3FE5AA).
+
+
+ +
+
d
+ +
+
+
+
+ $default_table_columns +
+
+ +
+
+ $DefOrientation +
+
+ +
+
+ $diffs +
+
+
TCPDF::$diffs in tcpdf.php
+
+
+ $DrawColor +
+
+
TCPDF::$DrawColor in tcpdf.php
+
+
+ DestroyObject +
+
+ +
Destroy the barcode image.
+
+
+ DrawBorder +
+
+ +
Draws the barcode border.
+
+
+ DrawChar +
+
+
BarcodeObject::DrawChar() in BarcodeObject
+
Draws the alphanumeric code.
+
+
+ DrawCheckChar +
+
+ +
Draws the check-char code.
+
+
+ DrawCheckChar +
+
+ +
Draws the check-char code.
+
+
+ DrawCheckChar +
+
+ +
Draws the check-char code.
+
+
+ DrawObject +
+
+
C128BObject::DrawObject() in BarcodeObject
+
Draws the barcode object.
+
+
+ DrawObject +
+
+
C128AObject::DrawObject() in BarcodeObject
+
Draws the barcode object.
+
+
+ DrawObject +
+
+
C39Object::DrawObject() in BarcodeObject
+
Draws the barcode object.
+
+
+ DrawObject +
+
+
C128CObject::DrawObject() in BarcodeObject
+
Draws the barcode object.
+
+
+ DrawObject +
+
+ +
Abstract method used to draw the barcode image.
+
+
+ DrawObject +
+
+
I25Object::DrawObject() in BarcodeObject
+
Draws the barcode object.
+
+
+ DrawSingleBar +
+
+ +
Draws a single barcode bar.
+
+
+ DrawStart +
+
+
C128CObject::DrawStart() in BarcodeObject
+
Draws the start code.
+
+
+ DrawStart +
+
+
C128BObject::DrawStart() in BarcodeObject
+
Draws the start code.
+
+
+ DrawStart +
+
+
C39Object::DrawStart() in BarcodeObject
+
Draws the start code.
+
+
+ DrawStart +
+
+
I25Object::DrawStart() in BarcodeObject
+
Draws the start code.
+
+
+ DrawStart +
+
+
C128AObject::DrawStart() in BarcodeObject
+
Draws the start code.
+
+
+ DrawStop +
+
+
C128BObject::DrawStop() in BarcodeObject
+
Draws the stop code.
+
+
+ DrawStop +
+
+
C128CObject::DrawStop() in BarcodeObject
+
Draws the stop code.
+
+
+ DrawStop +
+
+
C128AObject::DrawStop() in BarcodeObject
+
Draws the stop code.
+
+
+ DrawStop +
+
+
I25Object::DrawStop() in BarcodeObject
+
Draws the stop code.
+
+
+ DrawStop +
+
+
C39Object::DrawStop() in BarcodeObject
+
Draws the stop code.
+
+
+ DrawText +
+
+
BarcodeObject::DrawText() in BarcodeObject
+
Draws a character string.
+
+
+ +
+
e
+ +
+
+
+
+ $encoding +
+
+
TCPDF::$encoding in tcpdf.php
+
+
+ Error +
+
+
TCPDF::Error() in tcpdf.php
+
This method is automatically called in case of fatal error; it simply outputs the message and halts the execution. An inherited class may override it to customize the error handling but should always halt the script, or the resulting document would probably be invalid.
+
+
+ eng.php +
+
+
eng.php in eng.php
+
+
+ +
+
f
+ +
+
+
+
+ $fh +
+
+
TCPDF::$fh in tcpdf.php
+
+
+ $fhPt +
+
+
TCPDF::$fhPt in tcpdf.php
+
+
+ $FillColor +
+
+
TCPDF::$FillColor in tcpdf.php
+
+
+ $FontFamily +
+
+
TCPDF::$FontFamily in tcpdf.php
+
+
+ $FontFiles +
+
+
TCPDF::$FontFiles in tcpdf.php
+
+
+ $fontList +
+
+
TCPDF::$fontList in tcpdf.php
+
+
+ $fonts +
+
+
TCPDF::$fonts in tcpdf.php
+
+
+ $FontSize +
+
+
TCPDF::$FontSize in tcpdf.php
+
+
+ $FontSizePt +
+
+
TCPDF::$FontSizePt in tcpdf.php
+
+
+ $FontStyle +
+
+
TCPDF::$FontStyle in tcpdf.php
+
+
+ $footer_font +
+
+
TCPDF::$footer_font in tcpdf.php
+
+
+ $footer_margin +
+
+ +
+
+ $fw +
+
+
TCPDF::$fw in tcpdf.php
+
+
+ $fwPt +
+
+
TCPDF::$fwPt in tcpdf.php
+
+
+ FlushObject +
+
+ +
Flush the barcode image.
+
+
+ Footer +
+
+
TCPDF::Footer() in tcpdf.php
+
This method is used to render the page footer.
+
+
+ FPDF_FONTPATH +
+
+
FPDF_FONTPATH in tcpdf_config.php
+
path for PDF fonts
+
+
+ +
+
g
+ +
+
+
+
+ GetBarSize +
+
+
C128AObject::GetBarSize() in BarcodeObject
+
Returns the bar size.
+
+
+ GetBarSize +
+
+
C128CObject::GetBarSize() in BarcodeObject
+
Returns the bar size.
+
+
+ GetBarSize +
+
+
C128BObject::GetBarSize() in BarcodeObject
+
Returns the bar size.
+
+
+ getBreakMargin +
+
+ +
Returns the page break margin.
+
+
+ GetCharIndex +
+
+ +
Returns the character index.
+
+
+ GetCharIndex +
+
+ +
Returns the character index.
+
+
+ GetCharIndex +
+
+ +
Returns the character index.
+
+
+ GetCharIndex +
+
+
C39Object::GetCharIndex() in BarcodeObject
+
Returns the character index.
+
+
+ GetCheckCharValue +
+
+ +
Returns the check-char value.
+
+
+ GetCheckCharValue +
+
+ +
Returns the check-char value.
+
+
+ GetCheckCharValue +
+
+ +
Returns the check-char value.
+
+
+ GetError +
+
+
BarcodeObject::GetError() in BarcodeObject
+
Returns the current error message.
+
+
+ GetFontHeight +
+
+ +
Returns the font height.
+
+
+ GetFontWidth +
+
+ +
Returns the font width.
+
+
+ getImage +
+
+
BarcodeObject::getImage() in BarcodeObject
+
Returns the image object.
+
+
+ getImageScale +
+
+ +
Returns the image scale.
+
+
+ getPageHeight +
+
+ +
Returns the page height in units.
+
+
+ getPageWidth +
+
+ +
Returns the page width in units.
+
+
+ getPDFData +
+
+
TCPDF::getPDFData() in tcpdf.php
+
Returns the PDF data.
+
+
+ getScaleFactor +
+
+ +
Returns the scale factor (number of points in user unit).
+
+
+ GetSize +
+
+
C128BObject::GetSize() in BarcodeObject
+
Returns barcode size.
+
+
+ GetSize +
+
+
C39Object::GetSize() in BarcodeObject
+
Returns barcode size.
+
+
+ GetSize +
+
+
I25Object::GetSize() in BarcodeObject
+
Returns barcode size.
+
+
+ GetSize +
+
+
C128CObject::GetSize() in BarcodeObject
+
Returns barcode size.
+
+
+ GetSize +
+
+
C128AObject::GetSize() in BarcodeObject
+
Returns barcode size.
+
+
+ GetStringWidth +
+
+ +
Returns the length of a string in user unit. A font must be selected.
+
+
+ GetStyle +
+
+
BarcodeObject::GetStyle() in BarcodeObject
+
Returns barcode style.
+
+
+ GetX +
+
+
TCPDF::GetX() in tcpdf.php
+
Returns the abscissa of the current position.
+
+
+ GetY +
+
+
TCPDF::GetY() in tcpdf.php
+
Returns the ordinate of the current position.
+
+
+ +
+
h
+ +
+
+
+
+ $h +
+
+
TCPDF::$h in tcpdf.php
+
+
+ $header_font +
+
+
TCPDF::$header_font in tcpdf.php
+
+
+ $header_logo +
+
+
TCPDF::$header_logo in tcpdf.php
+
+
+ $header_logo_width +
+
+ +
+
+ $header_margin +
+
+ +
+
+ $header_string +
+
+ +
+
+ $header_title +
+
+ +
+
+ $header_width +
+
+ +
+
+ $hPt +
+
+
TCPDF::$hPt in tcpdf.php
+
+
+ $HREF +
+
+
TCPDF::$HREF in tcpdf.php
+
+
+ Header +
+
+
TCPDF::Header() in tcpdf.php
+
This method is used to render the page header.
+
+
+ HEAD_MAGNIFICATION +
+
+
HEAD_MAGNIFICATION in tcpdf_config.php
+
magnification factor for titles
+
+
+ html_entity_decode_php4 +
+
+
html_entity_decode_php4() in html_entity_decode_php4.php
+
Reverse function for htmlentities.
+
+
+ html_entity_decode_php4.php +
+
+
html_entity_decode_php4.php in html_entity_decode_php4.php
+
+
+ +
+
i
+ +
+
+
+
+ $i +
+
+
TCPDF::$i in tcpdf.php
+
+
+ $images +
+
+
TCPDF::$images in tcpdf.php
+
+
+ $imgscale +
+
+
TCPDF::$imgscale in tcpdf.php
+
+
+ $img_rb_x +
+
+
TCPDF::$img_rb_x in tcpdf.php
+
+
+ $img_rb_y +
+
+
TCPDF::$img_rb_y in tcpdf.php
+
+
+ $InFooter +
+
+
TCPDF::$InFooter in tcpdf.php
+
+
+ $internal_encoding +
+
+ +
+
+ $issetcolor +
+
+
TCPDF::$issetcolor in tcpdf.php
+
+
+ $issetfont +
+
+
TCPDF::$issetfont in tcpdf.php
+
+
+ $isunicode +
+
+
TCPDF::$isunicode in tcpdf.php
+
+
+ I25Object +
+
+
I25Object::I25Object() in BarcodeObject
+
Class Constructor.
+
+
+ I25Object +
+
+
I25Object in BarcodeObject
+
I25 Barcode Render Class for PHP using the GD graphics library.
+
+
+ Image +
+
+
TCPDF::Image() in tcpdf.php
+
Puts an image in the page. The upper-left corner must be given. The dimensions can be specified in different ways:
  • explicit width and height (expressed in user unit)
  • one explicit dimension, the other being calculated automatically in order to keep the original proportions
  • no explicit dimension, in which case the image is put at 72 dpi
Supported formats are JPEG and PNG.
+
+
+ +
+
k
+ +
+
+
+
+ $k +
+
+
TCPDF::$k in tcpdf.php
+
+
+ $keywords +
+
+
TCPDF::$keywords in tcpdf.php
+
+
+ K_BLANK_IMAGE +
+
+
K_BLANK_IMAGE in tcpdf_config.php
+
blank image
+
+
+ K_CELL_HEIGHT_RATIO +
+
+
K_CELL_HEIGHT_RATIO in tcpdf_config.php
+
height of cell repect font height
+
+
+ K_PATH_CACHE +
+
+
K_PATH_CACHE in tcpdf_config.php
+
cache directory for temporary files (full path)
+
+
+ K_PATH_IMAGES +
+
+
K_PATH_IMAGES in tcpdf_config.php
+
images directory
+
+
+ K_PATH_MAIN +
+
+
K_PATH_MAIN in tcpdf_config.php
+
installation path
+
+
+ K_PATH_URL +
+
+
K_PATH_URL in tcpdf_config.php
+
url path
+
+
+ K_PATH_URL_CACHE +
+
+
K_PATH_URL_CACHE in tcpdf_config.php
+
cache directory for temporary files (url path)
+
+
+ K_SMALL_RATIO +
+
+
K_SMALL_RATIO in tcpdf_config.php
+
reduction factor for small font
+
+
+ K_TITLE_MAGNIFICATION +
+
+
K_TITLE_MAGNIFICATION in tcpdf_config.php
+
title magnification respect main font size
+
+
+ +
+
l
+ +
+
+
+
+ $l +
+
+
TCPDF::$l in tcpdf.php
+
+
+ $lasth +
+
+
TCPDF::$lasth in tcpdf.php
+
+
+ $LayoutMode +
+
+
TCPDF::$LayoutMode in tcpdf.php
+
+
+ $LineWidth +
+
+
TCPDF::$LineWidth in tcpdf.php
+
+
+ $links +
+
+
TCPDF::$links in tcpdf.php
+
+
+ $lispacer +
+
+
TCPDF::$lispacer in tcpdf.php
+
+
+ $listcount +
+
+
TCPDF::$listcount in tcpdf.php
+
+
+ $listordered +
+
+
TCPDF::$listordered in tcpdf.php
+
+
+ $lMargin +
+
+
TCPDF::$lMargin in tcpdf.php
+
+
+ Line +
+
+
TCPDF::Line() in tcpdf.php
+
Draws a line between two points.
+
+
+ Link +
+
+
TCPDF::Link() in tcpdf.php
+
Puts a link on a rectangular area of the page. Text or image links are generally put via Cell(), Write() or Image(), but this method can be useful for instance to define a clickable area inside an image.
+
+
+ Ln +
+
+
TCPDF::Ln() in tcpdf.php
+
Performs a line break. The current abscissa goes back to the left margin and the ordinate increases by the amount passed in parameter.
+
+
+ +
+
m
+ +
+
+
+
+ $mBgcolor +
+
+
BarcodeObject::$mBgcolor in BarcodeObject
+
+
+ $mBrush +
+
+
BarcodeObject::$mBrush in BarcodeObject
+
+
+ $mChars +
+
+
BarcodeObject::$mChars in BarcodeObject
+
+
+ $mCharSet +
+
+
BarcodeObject::$mCharSet in BarcodeObject
+
+
+ $mError +
+
+
BarcodeObject::$mError in BarcodeObject
+
+
+ $mFont +
+
+
BarcodeObject::$mFont in BarcodeObject
+
+
+ $mHeight +
+
+
BarcodeObject::$mHeight in BarcodeObject
+
+
+ $mImg +
+
+
BarcodeObject::$mImg in BarcodeObject
+
+
+ $mStyle +
+
+
BarcodeObject::$mStyle in BarcodeObject
+
+
+ $mWidth +
+
+
BarcodeObject::$mWidth in BarcodeObject
+
+
+ MultiCell +
+
+
TCPDF::MultiCell() in tcpdf.php
+
This method allows printing text with line breaks. They can be automatic (as soon as the text reaches the right border of the cell) or explicit (via the \n character). As many cells as necessary are output, one below the other.
Text can be aligned, centered or justified. The cell block can be framed and the background painted.
+
+
+ +
+
n
+ +
+
+
+
+ $n +
+
+
TCPDF::$n in tcpdf.php
+
+
+ +
+
o
+ +
+
+
+
+ $offsets +
+
+
TCPDF::$offsets in tcpdf.php
+
+
+ $OrientationChanges +
+
+ +
+
+ $original_lMargin +
+
+ +
+
+ $original_rMargin +
+
+ +
+
+ Open +
+
+
TCPDF::Open() in tcpdf.php
+
This method begins the generation of the PDF document. It is not necessary to call it explicitly because AddPage() does it automatically.
+
+
+ openHTMLTagHandler +
+
+ +
Process opening tags.
+
+
+ Output +
+
+
TCPDF::Output() in tcpdf.php
+
Send the document to a given destination: string, local file or browser. In the last case, the plug-in may be used (if present) or a download ("Save as" dialog box) may be forced.
The method first calls Close() if necessary to terminate the document.
+
+
+ +
+
p
+ +
+
+
+
+ $page +
+
+
TCPDF::$page in tcpdf.php
+
+
+ $PageBreakTrigger +
+
+ +
+
+ $PageLinks +
+
+
TCPDF::$PageLinks in tcpdf.php
+
+
+ $pages +
+
+
TCPDF::$pages in tcpdf.php
+
+
+ $PDFVersion +
+
+
TCPDF::$PDFVersion in tcpdf.php
+
+
+ $prevFillColor +
+
+ +
+
+ $prevFontFamily +
+
+ +
+
+ $prevFontStyle +
+
+ +
+
+ $prevTextColor +
+
+ +
+
+ $print_footer +
+
+ +
+
+ $print_header +
+
+ +
+
+ PageNo +
+
+
TCPDF::PageNo() in tcpdf.php
+
Returns the current page number.
+
+
+ PDF_AUTHOR +
+
+
PDF_AUTHOR in tcpdf_config.php
+
document author
+
+
+ PDF_CREATOR +
+
+
PDF_CREATOR in tcpdf_config.php
+
document creator
+
+
+ PDF_FONT_NAME_DATA +
+
+
PDF_FONT_NAME_DATA in tcpdf_config.php
+
data font name
+
+
+ PDF_FONT_NAME_MAIN +
+
+
PDF_FONT_NAME_MAIN in tcpdf_config.php
+
main font name
+
+
+ PDF_FONT_SIZE_DATA +
+
+
PDF_FONT_SIZE_DATA in tcpdf_config.php
+
data font size
+
+
+ PDF_FONT_SIZE_MAIN +
+
+
PDF_FONT_SIZE_MAIN in tcpdf_config.php
+
main font size
+
+
+ PDF_HEADER_LOGO +
+
+
PDF_HEADER_LOGO in tcpdf_config.php
+
image logo
+
+
+ PDF_HEADER_LOGO_WIDTH +
+
+
PDF_HEADER_LOGO_WIDTH in tcpdf_config.php
+
header logo image width [mm]
+
+
+ PDF_HEADER_STRING +
+
+
PDF_HEADER_STRING in tcpdf_config.php
+
header description string
+
+
+ PDF_HEADER_TITLE +
+
+
PDF_HEADER_TITLE in tcpdf_config.php
+
header title
+
+
+ PDF_IMAGE_SCALE_RATIO +
+
+
PDF_IMAGE_SCALE_RATIO in tcpdf_config.php
+
scale factor for images (number of points in user unit)
+
+
+ PDF_MARGIN_BOTTOM +
+
+
PDF_MARGIN_BOTTOM in tcpdf_config.php
+
bottom margin
+
+
+ PDF_MARGIN_FOOTER +
+
+
PDF_MARGIN_FOOTER in tcpdf_config.php
+
footer margin
+
+
+ PDF_MARGIN_HEADER +
+
+
PDF_MARGIN_HEADER in tcpdf_config.php
+
header margin
+
+
+ PDF_MARGIN_LEFT +
+
+
PDF_MARGIN_LEFT in tcpdf_config.php
+
left margin
+
+
+ PDF_MARGIN_RIGHT +
+
+
PDF_MARGIN_RIGHT in tcpdf_config.php
+
right margin
+
+
+ PDF_MARGIN_TOP +
+
+
PDF_MARGIN_TOP in tcpdf_config.php
+
top margin
+
+
+ PDF_PAGE_FORMAT +
+
+
PDF_PAGE_FORMAT in tcpdf_config.php
+
page format
+
+
+ PDF_PAGE_ORIENTATION +
+
+
PDF_PAGE_ORIENTATION in tcpdf_config.php
+
page orientation (P=portrait, L=landscape)
+
+
+ PDF_PRODUCER +
+
+
PDF_PRODUCER in tcpdf.php
+
define default PDF document producer
+
+
+ PDF_UNIT +
+
+
PDF_UNIT in tcpdf_config.php
+
document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]
+
+
+ pixelsToMillimeters +
+
+ +
Converts pixels to millimeters in 72 dpi.
+
+
+ +
+
r
+ +
+
+
+
+ $rMargin +
+
+
TCPDF::$rMargin in tcpdf.php
+
+
+ Rect +
+
+
TCPDF::Rect() in tcpdf.php
+
Outputs a rectangle. It can be drawn (border only), filled (with no border) or both.
+
+
+ +
+
s
+ +
+
+
+
+ $state +
+
+
TCPDF::$state in tcpdf.php
+
+
+ $subject +
+
+
TCPDF::$subject in tcpdf.php
+
+
+ SetAuthor +
+
+
TCPDF::SetAuthor() in tcpdf.php
+
Defines the author of the document.
+
+
+ SetAutoPageBreak +
+
+ +
Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm.
+
+
+ setBarcode +
+
+
TCPDF::setBarcode() in tcpdf.php
+
Set document barcode.
+
+
+ SetCompression +
+
+ +
Activates or deactivates page compression. When activated, the internal representation of each page is compressed, which leads to a compression ratio of about 2 for the resulting document. Compression is on by default.
+
+
+ SetCreator +
+
+
TCPDF::SetCreator() in tcpdf.php
+
Defines the creator of the document. This is typically the name of the application that generates the PDF.
+
+
+ SetDisplayMode +
+
+ +
Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a specific zooming factor or use viewer default (configured in the Preferences menu of Acrobat). The page layout can be specified too: single at once, continuous display, two columns or viewer default. By default, documents use the full width mode with continuous display.
+
+
+ SetDrawColor +
+
+ +
Defines the color used for all drawing operations (lines, rectangles and cell borders). It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.
+
+
+ SetFillColor +
+
+ +
Defines the color used for all filling operations (filled rectangles and cell backgrounds). It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.
+
+
+ SetFont +
+
+
TCPDF::SetFont() in tcpdf.php
+
Sets the font used to print character strings. It is mandatory to call this method at least once before printing text or the resulting document would not be valid.
+
+
+ SetFont +
+
+
BarcodeObject::SetFont() in BarcodeObject
+
Set font type.
+
+
+ SetFontSize +
+
+ +
Defines the size of the current font.
+
+
+ setFooterFont +
+
+ +
Set footer font.
+
+
+ setFooterMargin +
+
+ +
Set footer margin.
+
+
+ setHeaderData +
+
+ +
Set header data.
+
+
+ setHeaderFont +
+
+ +
Set header font.
+
+
+ setHeaderMargin +
+
+ +
Set header margin.
+
+
+ setImageScale +
+
+ +
Set the image scale.
+
+
+ SetKeywords +
+
+ +
Associates keywords with the document, generally in the form 'keyword1 keyword2 ...'.
+
+
+ setLanguageArray +
+
+ +
Set language array.
+
+
+ SetLeftMargin +
+
+ +
Defines the left margin. The method can be called before creating the first page. If the current abscissa gets out of page, it is brought back to the margin.
+
+
+ SetLineWidth +
+
+ +
Defines the line width. By default, the value equals 0.2 mm. The method can be called before the first page is created and the value is retained from page to page.
+
+
+ SetLink +
+
+
TCPDF::SetLink() in tcpdf.php
+
Defines the page and position a link points to
+
+
+ SetMargins +
+
+
TCPDF::SetMargins() in tcpdf.php
+
Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change them.
+
+
+ SetRightMargin +
+
+ +
Defines the right margin. The method can be called before creating the first page.
+
+
+ SetStyle +
+
+
BarcodeObject::SetStyle() in BarcodeObject
+
Set barcode style.
+
+
+ setStyle +
+
+
TCPDF::setStyle() in tcpdf.php
+
Sets font style.
+
+
+ SetSubject +
+
+
TCPDF::SetSubject() in tcpdf.php
+
Defines the subject of the document.
+
+
+ SetTextColor +
+
+ +
Defines the color used for text. It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.
+
+
+ SetTitle +
+
+
TCPDF::SetTitle() in tcpdf.php
+
Defines the title of the document.
+
+
+ SetTopMargin +
+
+ +
Defines the top margin. The method can be called before creating the first page.
+
+
+ SetX +
+
+
TCPDF::SetX() in tcpdf.php
+
Defines the abscissa of the current position. If the passed value is negative, it is relative to the right of the page.
+
+
+ SetXY +
+
+
TCPDF::SetXY() in tcpdf.php
+
Defines the abscissa and ordinate of the current position. If the passed values are negative, they are relative respectively to the right and bottom of the page.
+
+
+ SetY +
+
+
TCPDF::SetY() in tcpdf.php
+
Moves the current abscissa back to the left margin and sets the ordinate. If the passed value is negative, it is relative to the bottom of the page.
+
+
+ +
+
t
+ +
+
+
+
+ $tableborder +
+
+
TCPDF::$tableborder in tcpdf.php
+
+
+ $tdalign +
+
+
TCPDF::$tdalign in tcpdf.php
+
+
+ $tdbegin +
+
+
TCPDF::$tdbegin in tcpdf.php
+
+
+ $tdbgcolor +
+
+
TCPDF::$tdbgcolor in tcpdf.php
+
+
+ $tdheight +
+
+
TCPDF::$tdheight in tcpdf.php
+
+
+ $tdwidth +
+
+
TCPDF::$tdwidth in tcpdf.php
+
+
+ $tempfontsize +
+
+ +
+
+ $TextColor +
+
+
TCPDF::$TextColor in tcpdf.php
+
+
+ $title +
+
+
TCPDF::$title in tcpdf.php
+
+
+ $tMargin +
+
+
TCPDF::$tMargin in tcpdf.php
+
+
+ TCPDF +
+
+
TCPDF in tcpdf.php
+
This is a PHP4 class for generating PDF files on-the-fly without requiring external extensions.
+
+
+ TCPDF +
+
+
TCPDF::TCPDF() in tcpdf.php
+
This is the class constructor.
+
+
+ tcpdf_config.php +
+
+
tcpdf_config.php in tcpdf_config.php
+
+
+ tcpdf.php +
+
+
tcpdf.php in tcpdf.php
+
+
+ Text +
+
+
TCPDF::Text() in tcpdf.php
+
Prints a character string. The origin is on the left of the first charcter, on the baseline. This method allows to place a string precisely on the page, but it is usually easier to use Cell(), MultiCell() or Write() which are the standard methods to print text.
+
+
+ +
+
u
+ +
+
+
+
+ $u +
+
+
TCPDF::$u in tcpdf.php
+
+
+ $underline +
+
+
TCPDF::$underline in tcpdf.php
+
+
+ unhtmlentities +
+
+ +
Reverse function for htmlentities.
+
+
+ UTF8StringToArray +
+
+ +
Converts UTF-8 strings to codepoints array.
+
+
+ UTF8ToUTF16BE +
+
+ +
Converts UTF-8 strings to UTF16-BE.
+
+
+ +
+
w
+ +
+
+
+
+ $w +
+
+
TCPDF::$w in tcpdf.php
+
+
+ $wPt +
+
+
TCPDF::$wPt in tcpdf.php
+
+
+ $ws +
+
+
TCPDF::$ws in tcpdf.php
+
+
+ Write +
+
+
TCPDF::Write() in tcpdf.php
+
This method prints text from the current position. When the right margin is reached (or the \n character is met) a line break occurs and text continues from the left margin. Upon method exit, the current position is left just at the end of the text. It is possible to put a link on the text.
+
+
+ writeBarcode +
+
+ +
Print Barcode.
+
+
+ writeHTML +
+
+
TCPDF::writeHTML() in tcpdf.php
+
Allows to preserve some HTML formatting.
+
+
+ writeHTMLCell +
+
+ +
Prints a cell (rectangular area) with optional borders, background color and html text string. The upper-left corner of the cell corresponds to the current position. After the call, the current position moves to the right or to the next line.
If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.
+
+
+ +
+
x
+ +
+
+
+
+ $x +
+
+
TCPDF::$x in tcpdf.php
+
+
+ +
+
y
+ +
+
+
+
+ $y +
+
+
TCPDF::$y in tcpdf.php
+
+
+ +
+
z
+ +
+
+
+
+ $ZoomMode +
+
+
TCPDF::$ZoomMode in tcpdf.php
+
+
+ +
+
_
+ +
+
+
+
+ _begindoc +
+
+
TCPDF::_begindoc() in tcpdf.php
+
Start document
+
+
+ _beginpage +
+
+
TCPDF::_beginpage() in tcpdf.php
+
_beginpage
+
+
+ _dochecks +
+
+
TCPDF::_dochecks() in tcpdf.php
+
Check for locale-related bug
+
+
+ _dounderline +
+
+ +
Underline text
+
+
+ _enddoc +
+
+
TCPDF::_enddoc() in tcpdf.php
+
_enddoc
+
+
+ _endpage +
+
+
TCPDF::_endpage() in tcpdf.php
+
End of page contents
+
+
+ _escape +
+
+
TCPDF::_escape() in tcpdf.php
+
Add \ before \, ( and )
+
+
+ _escapetext +
+
+ +
Format a text string
+
+
+ _freadint +
+
+
TCPDF::_freadint() in tcpdf.php
+
Read a 4-byte integer from file
+
+
+ _getfontpath +
+
+ +
Return fonts path
+
+
+ _newobj +
+
+
TCPDF::_newobj() in tcpdf.php
+
Begin a new object
+
+
+ _out +
+
+
TCPDF::_out() in tcpdf.php
+
Add a line to the document
+
+
+ _parsejpg +
+
+
TCPDF::_parsejpg() in tcpdf.php
+
Extract info from a JPEG file
+
+
+ _parsepng +
+
+
TCPDF::_parsepng() in tcpdf.php
+
Extract info from a PNG file
+
+
+ _putcatalog +
+
+ +
_putcatalog
+
+
+ _putfonts +
+
+
TCPDF::_putfonts() in tcpdf.php
+
Adds fonts
+
+
+ _putheader +
+
+
TCPDF::_putheader() in tcpdf.php
+
_putheader
+
+
+ _putimages +
+
+
TCPDF::_putimages() in tcpdf.php
+
_putimages
+
+
+ _putinfo +
+
+
TCPDF::_putinfo() in tcpdf.php
+
_putinfo
+
+
+ _putpages +
+
+
TCPDF::_putpages() in tcpdf.php
+
_putpages
+
+
+ _putresourcedict +
+
+ +
_putresourcedict
+
+
+ _putresources +
+
+ +
_putresources
+
+
+ _putstream +
+
+
TCPDF::_putstream() in tcpdf.php
+
+
+ _puttrailer +
+
+ +
_puttrailer
+
+
+ _puttruetypeunicode +
+
+ +
Adds unicode fonts.
+
+
+ _putxobjectdict +
+
+ +
_putxobjectdict
+
+
+ _textstring +
+
+ +
Format a text string
+
+
+ +
+ a + b + c + d + e + f + g + h + i + k + l + m + n + o + p + r + s + t + u + w + x + y + z + _ +
+ + diff --git a/htdocs/includes/fpdf/tcpdf/doc/elementindex_com.tecnick.tcpdf.html b/htdocs/includes/fpdf/tcpdf/doc/elementindex_com.tecnick.tcpdf.html new file mode 100644 index 00000000000..6a75dd0c3a3 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/elementindex_com.tecnick.tcpdf.html @@ -0,0 +1,2555 @@ + + + + + + + + + + + + +

[com.tecnick.tcpdf] element index

+All elements +
+
+ a + b + c + d + e + f + g + h + i + k + l + m + n + o + p + r + s + t + u + w + x + y + z + _ +
+ + +
+
_
+ +
+
+
+
+ _begindoc +
+
+
TCPDF::_begindoc() in tcpdf.php
+
Start document
+
+
+ _beginpage +
+
+
TCPDF::_beginpage() in tcpdf.php
+
_beginpage
+
+
+ _dochecks +
+
+
TCPDF::_dochecks() in tcpdf.php
+
Check for locale-related bug
+
+
+ _dounderline +
+
+ +
Underline text
+
+
+ _enddoc +
+
+
TCPDF::_enddoc() in tcpdf.php
+
_enddoc
+
+
+ _endpage +
+
+
TCPDF::_endpage() in tcpdf.php
+
End of page contents
+
+
+ _escape +
+
+
TCPDF::_escape() in tcpdf.php
+
Add \ before \, ( and )
+
+
+ _escapetext +
+
+ +
Format a text string
+
+
+ _freadint +
+
+
TCPDF::_freadint() in tcpdf.php
+
Read a 4-byte integer from file
+
+
+ _getfontpath +
+
+ +
Return fonts path
+
+
+ _newobj +
+
+
TCPDF::_newobj() in tcpdf.php
+
Begin a new object
+
+
+ _out +
+
+
TCPDF::_out() in tcpdf.php
+
Add a line to the document
+
+
+ _parsejpg +
+
+
TCPDF::_parsejpg() in tcpdf.php
+
Extract info from a JPEG file
+
+
+ _parsepng +
+
+
TCPDF::_parsepng() in tcpdf.php
+
Extract info from a PNG file
+
+
+ _putcatalog +
+
+ +
_putcatalog
+
+
+ _putfonts +
+
+
TCPDF::_putfonts() in tcpdf.php
+
Adds fonts
+
+
+ _putheader +
+
+
TCPDF::_putheader() in tcpdf.php
+
_putheader
+
+
+ _putimages +
+
+
TCPDF::_putimages() in tcpdf.php
+
_putimages
+
+
+ _putinfo +
+
+
TCPDF::_putinfo() in tcpdf.php
+
_putinfo
+
+
+ _putpages +
+
+
TCPDF::_putpages() in tcpdf.php
+
_putpages
+
+
+ _putresourcedict +
+
+ +
_putresourcedict
+
+
+ _putresources +
+
+ +
_putresources
+
+
+ _putstream +
+
+
TCPDF::_putstream() in tcpdf.php
+
+
+ _puttrailer +
+
+ +
_puttrailer
+
+
+ _puttruetypeunicode +
+
+ +
Adds unicode fonts.
+
+
+ _putxobjectdict +
+
+ +
_putxobjectdict
+
+
+ _textstring +
+
+ +
Format a text string
+
+
+ +
+
a
+ +
+
+
+
+ $AliasNbPages +
+
+ +
+
+ $author +
+
+
TCPDF::$author in tcpdf.php
+
+
+ $AutoPageBreak +
+
+ +
+
+ AcceptPageBreak +
+
+ +
Whenever a page break condition is met, the method is called, and the break is issued or not depending on the returned value. The default implementation returns a value according to the mode selected by SetAutoPageBreak().
+
+
+ AddFont +
+
+
TCPDF::AddFont() in tcpdf.php
+
Imports a TrueType or Type1 font and makes it available. It is necessary to generate a font definition file first with the makefont.php utility. The definition file (and the font file itself when embedding) must be present either in the current directory or in the one indicated by FPDF_FONTPATH if the constant is defined. If it could not be found, the error "Could not include font definition file" is generated.
+
+
+ addHtmlLink +
+
+ +
Output anchor link.
+
+
+ AddLink +
+
+
TCPDF::AddLink() in tcpdf.php
+
Creates a new internal link and returns its identifier. An internal link is a clickable area which directs to another place within the document.
The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is defined with SetLink().
+
+
+ AddPage +
+
+
TCPDF::AddPage() in tcpdf.php
+
Adds a new page to the document. If a page is already present, the Footer() method is called first to output the footer. Then the page is added, the current position set to the top-left corner according to the left and top margins, and Header() is called to display the header.
+
+
+ AliasNbPages +
+
+ +
Defines an alias for the total number of pages. It will be substituted as the document is closed.
+
+
+ +
+
b
+ +
+
+
+
+ $b +
+
+
TCPDF::$b in tcpdf.php
+
+
+ $barcode +
+
+
TCPDF::$barcode in tcpdf.php
+
+
+ $bMargin +
+
+
TCPDF::$bMargin in tcpdf.php
+
+
+ $buffer +
+
+
TCPDF::$buffer in tcpdf.php
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
Barcode Render Class for PHP using the GD graphics library.
+
+
+ BarcodeObject +
+
+ +
Class Constructor.
+
+
+ BCD_C39_NARROW_BAR +
+
+
BCD_C39_NARROW_BAR in BarcodeObject
+
narrow bar option
+
+
+ BCD_C39_WIDE_BAR +
+
+
BCD_C39_WIDE_BAR in BarcodeObject
+
wide bar option
+
+
+ BCD_C128_BAR_1 +
+
+
BCD_C128_BAR_1 in BarcodeObject
+
set type 1 bar
+
+
+ BCD_C128_BAR_2 +
+
+
BCD_C128_BAR_2 in BarcodeObject
+
set type 2 bar
+
+
+ BCD_C128_BAR_3 +
+
+
BCD_C128_BAR_3 in BarcodeObject
+
set type 3 bar
+
+
+ BCD_C128_BAR_4 +
+
+
BCD_C128_BAR_4 in BarcodeObject
+
set type 4 bar
+
+
+ BCD_DEFAULT_BACKGROUND_COLOR +
+
+ +
set default background color
+
+
+ BCD_DEFAULT_FONT +
+
+
BCD_DEFAULT_FONT in BarcodeObject
+
set default font
+
+
+ BCD_DEFAULT_FOREGROUND_COLOR +
+
+ +
set default foreground color
+
+
+ BCD_DEFAULT_HEIGHT +
+
+
BCD_DEFAULT_HEIGHT in BarcodeObject
+
set default height
+
+
+ BCD_DEFAULT_MAR_Y1 +
+
+
BCD_DEFAULT_MAR_Y1 in BarcodeObject
+
set default margin
+
+
+ BCD_DEFAULT_MAR_Y2 +
+
+
BCD_DEFAULT_MAR_Y2 in BarcodeObject
+
set default margin
+
+
+ BCD_DEFAULT_STYLE +
+
+
BCD_DEFAULT_STYLE in BarcodeObject
+
set default style options
+
+
+ BCD_DEFAULT_TEXT_OFFSET +
+
+
BCD_DEFAULT_TEXT_OFFSET in BarcodeObject
+
set default text offset
+
+
+ BCD_DEFAULT_WIDTH +
+
+
BCD_DEFAULT_WIDTH in BarcodeObject
+
set default width
+
+
+ BCD_DEFAULT_XRES +
+
+
BCD_DEFAULT_XRES in BarcodeObject
+
st default horizontal resolution
+
+
+ BCD_I25_NARROW_BAR +
+
+
BCD_I25_NARROW_BAR in BarcodeObject
+
narrow bar option
+
+
+ BCD_I25_WIDE_BAR +
+
+
BCD_I25_WIDE_BAR in BarcodeObject
+
wide bar option
+
+
+ BCS_ALIGN_CENTER +
+
+
BCS_ALIGN_CENTER in BarcodeObject
+
option: center barcode
+
+
+ BCS_ALIGN_LEFT +
+
+
BCS_ALIGN_LEFT in BarcodeObject
+
option: align left
+
+
+ BCS_ALIGN_RIGHT +
+
+
BCS_ALIGN_RIGHT in BarcodeObject
+
option: align right
+
+
+ BCS_BORDER +
+
+
BCS_BORDER in BarcodeObject
+
option: generate barcode border
+
+
+ BCS_DRAW_TEXT +
+
+
BCS_DRAW_TEXT in BarcodeObject
+
option: draw text
+
+
+ BCS_I25_DRAW_CHECK +
+
+
BCS_I25_DRAW_CHECK in BarcodeObject
+
option: draw check
+
+
+ BCS_IMAGE_JPEG +
+
+
BCS_IMAGE_JPEG in BarcodeObject
+
option: generate JPEG image
+
+
+ BCS_IMAGE_PNG +
+
+
BCS_IMAGE_PNG in BarcodeObject
+
option: generate PNG image
+
+
+ BCS_REVERSE_COLOR +
+
+
BCS_REVERSE_COLOR in BarcodeObject
+
option: reverse color
+
+
+ BCS_STRETCH_TEXT +
+
+
BCS_STRETCH_TEXT in BarcodeObject
+
option: stretch text
+
+
+ BCS_TRANSPARENT +
+
+
BCS_TRANSPARENT in BarcodeObject
+
option: use transparent background
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ BarcodeObject +
+
+
BarcodeObject in BarcodeObject
+
+
+ +
+
c
+ +
+
+
+
+ $cMargin +
+
+
TCPDF::$cMargin in tcpdf.php
+
+
+ $ColorFlag +
+
+
TCPDF::$ColorFlag in tcpdf.php
+
+
+ $compress +
+
+
TCPDF::$compress in tcpdf.php
+
+
+ $CoreFonts +
+
+
TCPDF::$CoreFonts in tcpdf.php
+
+
+ $creator +
+
+
TCPDF::$creator in tcpdf.php
+
+
+ $CurOrientation +
+
+ +
+
+ $CurrentFont +
+
+
TCPDF::$CurrentFont in tcpdf.php
+
+
+ C39Object +
+
+
C39Object::C39Object() in BarcodeObject
+
Class Constructor.
+
+
+ C39Object +
+
+
C39Object in BarcodeObject
+
Code 39 Barcode Render Class.
Code 39 is an alphanumeric bar code that can encode decimal number, case alphabet and some special symbols.
+
+
+ C128AObject +
+
+
C128AObject in BarcodeObject
+
Code 128-A Barcode Render Class for PHP using the GD graphics library.
Code 128-A is a continuous, multilevel and include all upper case alphanumeric characters and ASCII control characters.
+
+
+ C128AObject +
+
+ +
Class Constructor.
+
+
+ C128BObject +
+
+ +
Class Constructor.
+
+
+ C128BObject +
+
+
C128BObject in BarcodeObject
+
Code 128-B Barcode Render Class for PHP using the GD graphics library.
Code 128-B is a continuous, multilevel and full ASCII code.
+
+
+ C128CObject +
+
+ +
Class Constructor.
+
+
+ C128CObject +
+
+
C128CObject in BarcodeObject
+
Code 128-C Barcode Render Class for PHP using the GD graphics library.
Code 128-C is numeric only and provides the most efficiency.
+
+
+ Cell +
+
+
TCPDF::Cell() in tcpdf.php
+
Prints a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.
If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.
+
+
+ Close +
+
+
TCPDF::Close() in tcpdf.php
+
Terminates the PDF document. It is not necessary to call this method explicitly because Output() does it automatically. If the document contains no page, AddPage() is called to prevent from getting an invalid document.
+
+
+ closedHTMLTagHandler +
+
+ +
Process closing tags.
+
+
+ code_to_utf8 +
+
+
code_to_utf8() in html_entity_decode_php4.php
+
Returns the UTF-8 string corresponding to unicode value.
+
+
+ convertColorHexToDec +
+
+ +
Returns an associative array (keys: R,G,B) from a hex html code (e.g. #3FE5AA).
+
+
+ +
+
d
+ +
+
+
+
+ $default_table_columns +
+
+ +
+
+ $DefOrientation +
+
+ +
+
+ $diffs +
+
+
TCPDF::$diffs in tcpdf.php
+
+
+ $DrawColor +
+
+
TCPDF::$DrawColor in tcpdf.php
+
+
+ DestroyObject +
+
+ +
Destroy the barcode image.
+
+
+ DrawBorder +
+
+ +
Draws the barcode border.
+
+
+ DrawChar +
+
+
BarcodeObject::DrawChar() in BarcodeObject
+
Draws the alphanumeric code.
+
+
+ DrawCheckChar +
+
+ +
Draws the check-char code.
+
+
+ DrawCheckChar +
+
+ +
Draws the check-char code.
+
+
+ DrawCheckChar +
+
+ +
Draws the check-char code.
+
+
+ DrawObject +
+
+
C128BObject::DrawObject() in BarcodeObject
+
Draws the barcode object.
+
+
+ DrawObject +
+
+
C128AObject::DrawObject() in BarcodeObject
+
Draws the barcode object.
+
+
+ DrawObject +
+
+
C39Object::DrawObject() in BarcodeObject
+
Draws the barcode object.
+
+
+ DrawObject +
+
+
C128CObject::DrawObject() in BarcodeObject
+
Draws the barcode object.
+
+
+ DrawObject +
+
+ +
Abstract method used to draw the barcode image.
+
+
+ DrawObject +
+
+
I25Object::DrawObject() in BarcodeObject
+
Draws the barcode object.
+
+
+ DrawSingleBar +
+
+ +
Draws a single barcode bar.
+
+
+ DrawStart +
+
+
C128CObject::DrawStart() in BarcodeObject
+
Draws the start code.
+
+
+ DrawStart +
+
+
C128BObject::DrawStart() in BarcodeObject
+
Draws the start code.
+
+
+ DrawStart +
+
+
C39Object::DrawStart() in BarcodeObject
+
Draws the start code.
+
+
+ DrawStart +
+
+
I25Object::DrawStart() in BarcodeObject
+
Draws the start code.
+
+
+ DrawStart +
+
+
C128AObject::DrawStart() in BarcodeObject
+
Draws the start code.
+
+
+ DrawStop +
+
+
C128BObject::DrawStop() in BarcodeObject
+
Draws the stop code.
+
+
+ DrawStop +
+
+
C128CObject::DrawStop() in BarcodeObject
+
Draws the stop code.
+
+
+ DrawStop +
+
+
C128AObject::DrawStop() in BarcodeObject
+
Draws the stop code.
+
+
+ DrawStop +
+
+
I25Object::DrawStop() in BarcodeObject
+
Draws the stop code.
+
+
+ DrawStop +
+
+
C39Object::DrawStop() in BarcodeObject
+
Draws the stop code.
+
+
+ DrawText +
+
+
BarcodeObject::DrawText() in BarcodeObject
+
Draws a character string.
+
+
+ +
+
e
+ +
+
+
+
+ $encoding +
+
+
TCPDF::$encoding in tcpdf.php
+
+
+ Error +
+
+
TCPDF::Error() in tcpdf.php
+
This method is automatically called in case of fatal error; it simply outputs the message and halts the execution. An inherited class may override it to customize the error handling but should always halt the script, or the resulting document would probably be invalid.
+
+
+ eng.php +
+
+
eng.php in eng.php
+
+
+ +
+
f
+ +
+
+
+
+ $fh +
+
+
TCPDF::$fh in tcpdf.php
+
+
+ $fhPt +
+
+
TCPDF::$fhPt in tcpdf.php
+
+
+ $FillColor +
+
+
TCPDF::$FillColor in tcpdf.php
+
+
+ $FontFamily +
+
+
TCPDF::$FontFamily in tcpdf.php
+
+
+ $FontFiles +
+
+
TCPDF::$FontFiles in tcpdf.php
+
+
+ $fontList +
+
+
TCPDF::$fontList in tcpdf.php
+
+
+ $fonts +
+
+
TCPDF::$fonts in tcpdf.php
+
+
+ $FontSize +
+
+
TCPDF::$FontSize in tcpdf.php
+
+
+ $FontSizePt +
+
+
TCPDF::$FontSizePt in tcpdf.php
+
+
+ $FontStyle +
+
+
TCPDF::$FontStyle in tcpdf.php
+
+
+ $footer_font +
+
+
TCPDF::$footer_font in tcpdf.php
+
+
+ $footer_margin +
+
+ +
+
+ $fw +
+
+
TCPDF::$fw in tcpdf.php
+
+
+ $fwPt +
+
+
TCPDF::$fwPt in tcpdf.php
+
+
+ FlushObject +
+
+ +
Flush the barcode image.
+
+
+ Footer +
+
+
TCPDF::Footer() in tcpdf.php
+
This method is used to render the page footer.
+
+
+ FPDF_FONTPATH +
+
+
FPDF_FONTPATH in tcpdf_config.php
+
path for PDF fonts
+
+
+ +
+
g
+ +
+
+
+
+ GetBarSize +
+
+
C128AObject::GetBarSize() in BarcodeObject
+
Returns the bar size.
+
+
+ GetBarSize +
+
+
C128CObject::GetBarSize() in BarcodeObject
+
Returns the bar size.
+
+
+ GetBarSize +
+
+
C128BObject::GetBarSize() in BarcodeObject
+
Returns the bar size.
+
+
+ getBreakMargin +
+
+ +
Returns the page break margin.
+
+
+ GetCharIndex +
+
+ +
Returns the character index.
+
+
+ GetCharIndex +
+
+ +
Returns the character index.
+
+
+ GetCharIndex +
+
+ +
Returns the character index.
+
+
+ GetCharIndex +
+
+
C39Object::GetCharIndex() in BarcodeObject
+
Returns the character index.
+
+
+ GetCheckCharValue +
+
+ +
Returns the check-char value.
+
+
+ GetCheckCharValue +
+
+ +
Returns the check-char value.
+
+
+ GetCheckCharValue +
+
+ +
Returns the check-char value.
+
+
+ GetError +
+
+
BarcodeObject::GetError() in BarcodeObject
+
Returns the current error message.
+
+
+ GetFontHeight +
+
+ +
Returns the font height.
+
+
+ GetFontWidth +
+
+ +
Returns the font width.
+
+
+ getImage +
+
+
BarcodeObject::getImage() in BarcodeObject
+
Returns the image object.
+
+
+ getImageScale +
+
+ +
Returns the image scale.
+
+
+ getPageHeight +
+
+ +
Returns the page height in units.
+
+
+ getPageWidth +
+
+ +
Returns the page width in units.
+
+
+ getPDFData +
+
+
TCPDF::getPDFData() in tcpdf.php
+
Returns the PDF data.
+
+
+ getScaleFactor +
+
+ +
Returns the scale factor (number of points in user unit).
+
+
+ GetSize +
+
+
C128BObject::GetSize() in BarcodeObject
+
Returns barcode size.
+
+
+ GetSize +
+
+
C39Object::GetSize() in BarcodeObject
+
Returns barcode size.
+
+
+ GetSize +
+
+
I25Object::GetSize() in BarcodeObject
+
Returns barcode size.
+
+
+ GetSize +
+
+
C128CObject::GetSize() in BarcodeObject
+
Returns barcode size.
+
+
+ GetSize +
+
+
C128AObject::GetSize() in BarcodeObject
+
Returns barcode size.
+
+
+ GetStringWidth +
+
+ +
Returns the length of a string in user unit. A font must be selected.
+
+
+ GetStyle +
+
+
BarcodeObject::GetStyle() in BarcodeObject
+
Returns barcode style.
+
+
+ GetX +
+
+
TCPDF::GetX() in tcpdf.php
+
Returns the abscissa of the current position.
+
+
+ GetY +
+
+
TCPDF::GetY() in tcpdf.php
+
Returns the ordinate of the current position.
+
+
+ +
+
h
+ +
+
+
+
+ $h +
+
+
TCPDF::$h in tcpdf.php
+
+
+ $header_font +
+
+
TCPDF::$header_font in tcpdf.php
+
+
+ $header_logo +
+
+
TCPDF::$header_logo in tcpdf.php
+
+
+ $header_logo_width +
+
+ +
+
+ $header_margin +
+
+ +
+
+ $header_string +
+
+ +
+
+ $header_title +
+
+ +
+
+ $header_width +
+
+ +
+
+ $hPt +
+
+
TCPDF::$hPt in tcpdf.php
+
+
+ $HREF +
+
+
TCPDF::$HREF in tcpdf.php
+
+
+ Header +
+
+
TCPDF::Header() in tcpdf.php
+
This method is used to render the page header.
+
+
+ HEAD_MAGNIFICATION +
+
+
HEAD_MAGNIFICATION in tcpdf_config.php
+
magnification factor for titles
+
+
+ html_entity_decode_php4 +
+
+
html_entity_decode_php4() in html_entity_decode_php4.php
+
Reverse function for htmlentities.
+
+
+ html_entity_decode_php4.php +
+
+
html_entity_decode_php4.php in html_entity_decode_php4.php
+
+
+ +
+
i
+ +
+
+
+
+ $i +
+
+
TCPDF::$i in tcpdf.php
+
+
+ $images +
+
+
TCPDF::$images in tcpdf.php
+
+
+ $imgscale +
+
+
TCPDF::$imgscale in tcpdf.php
+
+
+ $img_rb_x +
+
+
TCPDF::$img_rb_x in tcpdf.php
+
+
+ $img_rb_y +
+
+
TCPDF::$img_rb_y in tcpdf.php
+
+
+ $InFooter +
+
+
TCPDF::$InFooter in tcpdf.php
+
+
+ $internal_encoding +
+
+ +
+
+ $issetcolor +
+
+
TCPDF::$issetcolor in tcpdf.php
+
+
+ $issetfont +
+
+
TCPDF::$issetfont in tcpdf.php
+
+
+ $isunicode +
+
+
TCPDF::$isunicode in tcpdf.php
+
+
+ I25Object +
+
+
I25Object::I25Object() in BarcodeObject
+
Class Constructor.
+
+
+ I25Object +
+
+
I25Object in BarcodeObject
+
I25 Barcode Render Class for PHP using the GD graphics library.
+
+
+ Image +
+
+
TCPDF::Image() in tcpdf.php
+
Puts an image in the page. The upper-left corner must be given. The dimensions can be specified in different ways:
  • explicit width and height (expressed in user unit)
  • one explicit dimension, the other being calculated automatically in order to keep the original proportions
  • no explicit dimension, in which case the image is put at 72 dpi
Supported formats are JPEG and PNG.
+
+
+ +
+
k
+ +
+
+
+
+ $k +
+
+
TCPDF::$k in tcpdf.php
+
+
+ $keywords +
+
+
TCPDF::$keywords in tcpdf.php
+
+
+ K_BLANK_IMAGE +
+
+
K_BLANK_IMAGE in tcpdf_config.php
+
blank image
+
+
+ K_CELL_HEIGHT_RATIO +
+
+
K_CELL_HEIGHT_RATIO in tcpdf_config.php
+
height of cell repect font height
+
+
+ K_PATH_CACHE +
+
+
K_PATH_CACHE in tcpdf_config.php
+
cache directory for temporary files (full path)
+
+
+ K_PATH_IMAGES +
+
+
K_PATH_IMAGES in tcpdf_config.php
+
images directory
+
+
+ K_PATH_MAIN +
+
+
K_PATH_MAIN in tcpdf_config.php
+
installation path
+
+
+ K_PATH_URL +
+
+
K_PATH_URL in tcpdf_config.php
+
url path
+
+
+ K_PATH_URL_CACHE +
+
+
K_PATH_URL_CACHE in tcpdf_config.php
+
cache directory for temporary files (url path)
+
+
+ K_SMALL_RATIO +
+
+
K_SMALL_RATIO in tcpdf_config.php
+
reduction factor for small font
+
+
+ K_TITLE_MAGNIFICATION +
+
+
K_TITLE_MAGNIFICATION in tcpdf_config.php
+
title magnification respect main font size
+
+
+ +
+
l
+ +
+
+
+
+ $l +
+
+
TCPDF::$l in tcpdf.php
+
+
+ $lasth +
+
+
TCPDF::$lasth in tcpdf.php
+
+
+ $LayoutMode +
+
+
TCPDF::$LayoutMode in tcpdf.php
+
+
+ $LineWidth +
+
+
TCPDF::$LineWidth in tcpdf.php
+
+
+ $links +
+
+
TCPDF::$links in tcpdf.php
+
+
+ $lispacer +
+
+
TCPDF::$lispacer in tcpdf.php
+
+
+ $listcount +
+
+
TCPDF::$listcount in tcpdf.php
+
+
+ $listordered +
+
+
TCPDF::$listordered in tcpdf.php
+
+
+ $lMargin +
+
+
TCPDF::$lMargin in tcpdf.php
+
+
+ Line +
+
+
TCPDF::Line() in tcpdf.php
+
Draws a line between two points.
+
+
+ Link +
+
+
TCPDF::Link() in tcpdf.php
+
Puts a link on a rectangular area of the page. Text or image links are generally put via Cell(), Write() or Image(), but this method can be useful for instance to define a clickable area inside an image.
+
+
+ Ln +
+
+
TCPDF::Ln() in tcpdf.php
+
Performs a line break. The current abscissa goes back to the left margin and the ordinate increases by the amount passed in parameter.
+
+
+ +
+
m
+ +
+
+
+
+ $mBgcolor +
+
+
BarcodeObject::$mBgcolor in BarcodeObject
+
+
+ $mBrush +
+
+
BarcodeObject::$mBrush in BarcodeObject
+
+
+ $mChars +
+
+
BarcodeObject::$mChars in BarcodeObject
+
+
+ $mCharSet +
+
+
BarcodeObject::$mCharSet in BarcodeObject
+
+
+ $mError +
+
+
BarcodeObject::$mError in BarcodeObject
+
+
+ $mFont +
+
+
BarcodeObject::$mFont in BarcodeObject
+
+
+ $mHeight +
+
+
BarcodeObject::$mHeight in BarcodeObject
+
+
+ $mImg +
+
+
BarcodeObject::$mImg in BarcodeObject
+
+
+ $mStyle +
+
+
BarcodeObject::$mStyle in BarcodeObject
+
+
+ $mWidth +
+
+
BarcodeObject::$mWidth in BarcodeObject
+
+
+ MultiCell +
+
+
TCPDF::MultiCell() in tcpdf.php
+
This method allows printing text with line breaks. They can be automatic (as soon as the text reaches the right border of the cell) or explicit (via the \n character). As many cells as necessary are output, one below the other.
Text can be aligned, centered or justified. The cell block can be framed and the background painted.
+
+
+ +
+
n
+ +
+
+
+
+ $n +
+
+
TCPDF::$n in tcpdf.php
+
+
+ +
+
o
+ +
+
+
+
+ $offsets +
+
+
TCPDF::$offsets in tcpdf.php
+
+
+ $OrientationChanges +
+
+ +
+
+ $original_lMargin +
+
+ +
+
+ $original_rMargin +
+
+ +
+
+ Open +
+
+
TCPDF::Open() in tcpdf.php
+
This method begins the generation of the PDF document. It is not necessary to call it explicitly because AddPage() does it automatically.
+
+
+ openHTMLTagHandler +
+
+ +
Process opening tags.
+
+
+ Output +
+
+
TCPDF::Output() in tcpdf.php
+
Send the document to a given destination: string, local file or browser. In the last case, the plug-in may be used (if present) or a download ("Save as" dialog box) may be forced.
The method first calls Close() if necessary to terminate the document.
+
+
+ +
+
p
+ +
+
+
+
+ $page +
+
+
TCPDF::$page in tcpdf.php
+
+
+ $PageBreakTrigger +
+
+ +
+
+ $PageLinks +
+
+
TCPDF::$PageLinks in tcpdf.php
+
+
+ $pages +
+
+
TCPDF::$pages in tcpdf.php
+
+
+ $PDFVersion +
+
+
TCPDF::$PDFVersion in tcpdf.php
+
+
+ $prevFillColor +
+
+ +
+
+ $prevFontFamily +
+
+ +
+
+ $prevFontStyle +
+
+ +
+
+ $prevTextColor +
+
+ +
+
+ $print_footer +
+
+ +
+
+ $print_header +
+
+ +
+
+ PageNo +
+
+
TCPDF::PageNo() in tcpdf.php
+
Returns the current page number.
+
+
+ PDF_AUTHOR +
+
+
PDF_AUTHOR in tcpdf_config.php
+
document author
+
+
+ PDF_CREATOR +
+
+
PDF_CREATOR in tcpdf_config.php
+
document creator
+
+
+ PDF_FONT_NAME_DATA +
+
+
PDF_FONT_NAME_DATA in tcpdf_config.php
+
data font name
+
+
+ PDF_FONT_NAME_MAIN +
+
+
PDF_FONT_NAME_MAIN in tcpdf_config.php
+
main font name
+
+
+ PDF_FONT_SIZE_DATA +
+
+
PDF_FONT_SIZE_DATA in tcpdf_config.php
+
data font size
+
+
+ PDF_FONT_SIZE_MAIN +
+
+
PDF_FONT_SIZE_MAIN in tcpdf_config.php
+
main font size
+
+
+ PDF_HEADER_LOGO +
+
+
PDF_HEADER_LOGO in tcpdf_config.php
+
image logo
+
+
+ PDF_HEADER_LOGO_WIDTH +
+
+
PDF_HEADER_LOGO_WIDTH in tcpdf_config.php
+
header logo image width [mm]
+
+
+ PDF_HEADER_STRING +
+
+
PDF_HEADER_STRING in tcpdf_config.php
+
header description string
+
+
+ PDF_HEADER_TITLE +
+
+
PDF_HEADER_TITLE in tcpdf_config.php
+
header title
+
+
+ PDF_IMAGE_SCALE_RATIO +
+
+
PDF_IMAGE_SCALE_RATIO in tcpdf_config.php
+
scale factor for images (number of points in user unit)
+
+
+ PDF_MARGIN_BOTTOM +
+
+
PDF_MARGIN_BOTTOM in tcpdf_config.php
+
bottom margin
+
+
+ PDF_MARGIN_FOOTER +
+
+
PDF_MARGIN_FOOTER in tcpdf_config.php
+
footer margin
+
+
+ PDF_MARGIN_HEADER +
+
+
PDF_MARGIN_HEADER in tcpdf_config.php
+
header margin
+
+
+ PDF_MARGIN_LEFT +
+
+
PDF_MARGIN_LEFT in tcpdf_config.php
+
left margin
+
+
+ PDF_MARGIN_RIGHT +
+
+
PDF_MARGIN_RIGHT in tcpdf_config.php
+
right margin
+
+
+ PDF_MARGIN_TOP +
+
+
PDF_MARGIN_TOP in tcpdf_config.php
+
top margin
+
+
+ PDF_PAGE_FORMAT +
+
+
PDF_PAGE_FORMAT in tcpdf_config.php
+
page format
+
+
+ PDF_PAGE_ORIENTATION +
+
+
PDF_PAGE_ORIENTATION in tcpdf_config.php
+
page orientation (P=portrait, L=landscape)
+
+
+ PDF_PRODUCER +
+
+
PDF_PRODUCER in tcpdf.php
+
define default PDF document producer
+
+
+ PDF_UNIT +
+
+
PDF_UNIT in tcpdf_config.php
+
document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]
+
+
+ pixelsToMillimeters +
+
+ +
Converts pixels to millimeters in 72 dpi.
+
+
+ +
+
r
+ +
+
+
+
+ $rMargin +
+
+
TCPDF::$rMargin in tcpdf.php
+
+
+ Rect +
+
+
TCPDF::Rect() in tcpdf.php
+
Outputs a rectangle. It can be drawn (border only), filled (with no border) or both.
+
+
+ +
+
s
+ +
+
+
+
+ $state +
+
+
TCPDF::$state in tcpdf.php
+
+
+ $subject +
+
+
TCPDF::$subject in tcpdf.php
+
+
+ SetAuthor +
+
+
TCPDF::SetAuthor() in tcpdf.php
+
Defines the author of the document.
+
+
+ SetAutoPageBreak +
+
+ +
Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm.
+
+
+ setBarcode +
+
+
TCPDF::setBarcode() in tcpdf.php
+
Set document barcode.
+
+
+ SetCompression +
+
+ +
Activates or deactivates page compression. When activated, the internal representation of each page is compressed, which leads to a compression ratio of about 2 for the resulting document. Compression is on by default.
+
+
+ SetCreator +
+
+
TCPDF::SetCreator() in tcpdf.php
+
Defines the creator of the document. This is typically the name of the application that generates the PDF.
+
+
+ SetDisplayMode +
+
+ +
Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a specific zooming factor or use viewer default (configured in the Preferences menu of Acrobat). The page layout can be specified too: single at once, continuous display, two columns or viewer default. By default, documents use the full width mode with continuous display.
+
+
+ SetDrawColor +
+
+ +
Defines the color used for all drawing operations (lines, rectangles and cell borders). It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.
+
+
+ SetFillColor +
+
+ +
Defines the color used for all filling operations (filled rectangles and cell backgrounds). It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.
+
+
+ SetFont +
+
+
TCPDF::SetFont() in tcpdf.php
+
Sets the font used to print character strings. It is mandatory to call this method at least once before printing text or the resulting document would not be valid.
+
+
+ SetFont +
+
+
BarcodeObject::SetFont() in BarcodeObject
+
Set font type.
+
+
+ SetFontSize +
+
+ +
Defines the size of the current font.
+
+
+ setFooterFont +
+
+ +
Set footer font.
+
+
+ setFooterMargin +
+
+ +
Set footer margin.
+
+
+ setHeaderData +
+
+ +
Set header data.
+
+
+ setHeaderFont +
+
+ +
Set header font.
+
+
+ setHeaderMargin +
+
+ +
Set header margin.
+
+
+ setImageScale +
+
+ +
Set the image scale.
+
+
+ SetKeywords +
+
+ +
Associates keywords with the document, generally in the form 'keyword1 keyword2 ...'.
+
+
+ setLanguageArray +
+
+ +
Set language array.
+
+
+ SetLeftMargin +
+
+ +
Defines the left margin. The method can be called before creating the first page. If the current abscissa gets out of page, it is brought back to the margin.
+
+
+ SetLineWidth +
+
+ +
Defines the line width. By default, the value equals 0.2 mm. The method can be called before the first page is created and the value is retained from page to page.
+
+
+ SetLink +
+
+
TCPDF::SetLink() in tcpdf.php
+
Defines the page and position a link points to
+
+
+ SetMargins +
+
+
TCPDF::SetMargins() in tcpdf.php
+
Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change them.
+
+
+ SetRightMargin +
+
+ +
Defines the right margin. The method can be called before creating the first page.
+
+
+ SetStyle +
+
+
BarcodeObject::SetStyle() in BarcodeObject
+
Set barcode style.
+
+
+ setStyle +
+
+
TCPDF::setStyle() in tcpdf.php
+
Sets font style.
+
+
+ SetSubject +
+
+
TCPDF::SetSubject() in tcpdf.php
+
Defines the subject of the document.
+
+
+ SetTextColor +
+
+ +
Defines the color used for text. It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page.
+
+
+ SetTitle +
+
+
TCPDF::SetTitle() in tcpdf.php
+
Defines the title of the document.
+
+
+ SetTopMargin +
+
+ +
Defines the top margin. The method can be called before creating the first page.
+
+
+ SetX +
+
+
TCPDF::SetX() in tcpdf.php
+
Defines the abscissa of the current position. If the passed value is negative, it is relative to the right of the page.
+
+
+ SetXY +
+
+
TCPDF::SetXY() in tcpdf.php
+
Defines the abscissa and ordinate of the current position. If the passed values are negative, they are relative respectively to the right and bottom of the page.
+
+
+ SetY +
+
+
TCPDF::SetY() in tcpdf.php
+
Moves the current abscissa back to the left margin and sets the ordinate. If the passed value is negative, it is relative to the bottom of the page.
+
+
+ +
+
t
+ +
+
+
+
+ $tableborder +
+
+
TCPDF::$tableborder in tcpdf.php
+
+
+ $tdalign +
+
+
TCPDF::$tdalign in tcpdf.php
+
+
+ $tdbegin +
+
+
TCPDF::$tdbegin in tcpdf.php
+
+
+ $tdbgcolor +
+
+
TCPDF::$tdbgcolor in tcpdf.php
+
+
+ $tdheight +
+
+
TCPDF::$tdheight in tcpdf.php
+
+
+ $tdwidth +
+
+
TCPDF::$tdwidth in tcpdf.php
+
+
+ $tempfontsize +
+
+ +
+
+ $TextColor +
+
+
TCPDF::$TextColor in tcpdf.php
+
+
+ $title +
+
+
TCPDF::$title in tcpdf.php
+
+
+ $tMargin +
+
+
TCPDF::$tMargin in tcpdf.php
+
+
+ TCPDF +
+
+
TCPDF in tcpdf.php
+
This is a PHP4 class for generating PDF files on-the-fly without requiring external extensions.
+
+
+ TCPDF +
+
+
TCPDF::TCPDF() in tcpdf.php
+
This is the class constructor.
+
+
+ tcpdf_config.php +
+
+
tcpdf_config.php in tcpdf_config.php
+
+
+ tcpdf.php +
+
+
tcpdf.php in tcpdf.php
+
+
+ Text +
+
+
TCPDF::Text() in tcpdf.php
+
Prints a character string. The origin is on the left of the first charcter, on the baseline. This method allows to place a string precisely on the page, but it is usually easier to use Cell(), MultiCell() or Write() which are the standard methods to print text.
+
+
+ +
+
u
+ +
+
+
+
+ $u +
+
+
TCPDF::$u in tcpdf.php
+
+
+ $underline +
+
+
TCPDF::$underline in tcpdf.php
+
+
+ unhtmlentities +
+
+ +
Reverse function for htmlentities.
+
+
+ UTF8StringToArray +
+
+ +
Converts UTF-8 strings to codepoints array.
+
+
+ UTF8ToUTF16BE +
+
+ +
Converts UTF-8 strings to UTF16-BE.
+
+
+ +
+
w
+ +
+
+
+
+ $w +
+
+
TCPDF::$w in tcpdf.php
+
+
+ $wPt +
+
+
TCPDF::$wPt in tcpdf.php
+
+
+ $ws +
+
+
TCPDF::$ws in tcpdf.php
+
+
+ Write +
+
+
TCPDF::Write() in tcpdf.php
+
This method prints text from the current position. When the right margin is reached (or the \n character is met) a line break occurs and text continues from the left margin. Upon method exit, the current position is left just at the end of the text. It is possible to put a link on the text.
+
+
+ writeBarcode +
+
+ +
Print Barcode.
+
+
+ writeHTML +
+
+
TCPDF::writeHTML() in tcpdf.php
+
Allows to preserve some HTML formatting.
+
+
+ writeHTMLCell +
+
+ +
Prints a cell (rectangular area) with optional borders, background color and html text string. The upper-left corner of the cell corresponds to the current position. After the call, the current position moves to the right or to the next line.
If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting.
+
+
+ +
+
x
+ +
+
+
+
+ $x +
+
+
TCPDF::$x in tcpdf.php
+
+
+ +
+
y
+ +
+
+
+
+ $y +
+
+
TCPDF::$y in tcpdf.php
+
+
+ +
+
z
+ +
+
+
+
+ $ZoomMode +
+
+
TCPDF::$ZoomMode in tcpdf.php
+
+
+ +
+ a + b + c + d + e + f + g + h + i + k + l + m + n + o + p + r + s + t + u + w + x + y + z + _ +
+ + diff --git a/htdocs/includes/fpdf/tcpdf/doc/errors.html b/htdocs/includes/fpdf/tcpdf/doc/errors.html new file mode 100644 index 00000000000..23c42f226bf --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/errors.html @@ -0,0 +1,21 @@ + + + + + + phpDocumentor Parser Errors and Warnings + + + + + +Post-parsing
+ +

tcpdf.php

+

Warnings:


+Warning on line 4134 - File "D:\Inetpub\wwwroot\_OPENSOURCE\tcpdf_php4\tcpdf.php" has no page-level DocBlock, use @package in the first DocBlock to create one
+

+ Documentation generated on Fri, 23 Jun 2006 10:11:57 +0200 by phpDocumentor 1.3.0RC3 +

+ + diff --git a/htdocs/includes/fpdf/tcpdf/doc/index.html b/htdocs/includes/fpdf/tcpdf/doc/index.html new file mode 100644 index 00000000000..6e6b9b4cac7 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/index.html @@ -0,0 +1,24 @@ + + + + + + TCPDF Documentation + + + + + + + + + + + <H2>Frame Alert</H2> + <P>This document is designed to be viewed using the frames feature. + If you see this message, you are using a non-frame-capable web client.</P> + + + diff --git a/htdocs/includes/fpdf/tcpdf/doc/li_com.tecnick.tcpdf.html b/htdocs/includes/fpdf/tcpdf/doc/li_com.tecnick.tcpdf.html new file mode 100644 index 00000000000..d2e1709ff68 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/li_com.tecnick.tcpdf.html @@ -0,0 +1,54 @@ + + + + + + + + + + + +
com.tecnick.tcpdf
+ +

phpDocumentor v 1.3.0RC3

+ + diff --git a/htdocs/includes/fpdf/tcpdf/doc/media/banner.css b/htdocs/includes/fpdf/tcpdf/doc/media/banner.css new file mode 100644 index 00000000000..f2149ebb4dc --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/media/banner.css @@ -0,0 +1,32 @@ +body +{ + background-color: #CCCCFF; + margin: 0px; + padding: 0px; +} + +/* Banner (top bar) classes */ + +.banner { } + +.banner-menu +{ + clear: both; + padding: .5em; + border-top: 2px solid #6666AA; +} + +.banner-title +{ + text-align: right; + font-size: 20pt; + font-weight: bold; + margin: .2em; +} + +.package-selector +{ + background-color: #AAAADD; + border: 1px solid black; + color: yellow; +} diff --git a/htdocs/includes/fpdf/tcpdf/doc/media/stylesheet.css b/htdocs/includes/fpdf/tcpdf/doc/media/stylesheet.css new file mode 100644 index 00000000000..94870fb5a44 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/media/stylesheet.css @@ -0,0 +1,144 @@ +a { color: #336699; text-decoration: none; } +a:hover { color: #6699CC; text-decoration: underline; } +a:active { color: #6699CC; text-decoration: underline; } + +body { background : #FFFFFF; } +body, table { font-family: Georgia, Times New Roman, Times, serif; font-size: 10pt } +p, li { line-height: 140% } +a img { border: 0px; } +dd { margin-left: 0px; padding-left: 1em; } + +/* Page layout/boxes */ + +.info-box {} +.info-box-title { margin: 1em 0em 0em 0em; padding: .25em; font-weight: normal; font-size: 14pt; border: 2px solid #999999; background-color: #CCCCFF } +.info-box-body { border: 1px solid #999999; padding: .5em; } +.nav-bar { font-size: 8pt; white-space: nowrap; text-align: right; padding: .2em; margin: 0em 0em 1em 0em; } + +.oddrow { background-color: #F8F8F8; border: 1px solid #AAAAAA; padding: .5em; margin-bottom: 1em} +.evenrow { border: 1px solid #AAAAAA; padding: .5em; margin-bottom: 1em} + +.page-body { max-width: 800px; margin: auto; } +.tree dl { margin: 0px } + +/* Index formatting classes */ + +.index-item-body { margin-top: .5em; margin-bottom: .5em} +.index-item-description { margin-top: .25em } +.index-item-details { font-weight: normal; font-style: italic; font-size: 8pt } +.index-letter-section { background-color: #EEEEEE; border: 1px dotted #999999; padding: .5em; margin-bottom: 1em} +.index-letter-title { font-size: 12pt; font-weight: bold } +.index-letter-menu { text-align: center; margin: 1em } +.index-letter { font-size: 12pt } + +/* Docbook classes */ + +.description {} +.short-description { font-weight: bold; color: #666666; } +.tags { padding-left: 0em; margin-left: 3em; color: #666666; list-style-type: square; } +.parameters { padding-left: 0em; margin-left: 3em; font-style: italic; list-style-type: square; } +.redefinitions { font-size: 8pt; padding-left: 0em; margin-left: 2em; } +.package { } +.package-title { font-weight: bold; font-size: 14pt; border-bottom: 1px solid black } +.package-details { font-size: 85%; } +.sub-package { font-weight: bold; font-size: 120% } +.tutorial { border-width: thin; border-color: #0066ff } +.tutorial-nav-box { width: 100%; border: 1px solid #999999; background-color: #F8F8F8; } +.nav-button-disabled { color: #999999; } +.nav-button:active, +.nav-button:focus, +.nav-button:hover { background-color: #DDDDDD; outline: 1px solid #999999; text-decoration: none } +.folder-title { font-style: italic } + +/* Generic formatting */ + +.field { font-weight: bold; } +.detail { font-size: 8pt; } +.notes { font-style: italic; font-size: 8pt; } +.separator { background-color: #999999; height: 2px; } +.warning { color: #FF6600; } +.disabled { font-style: italic; color: #999999; } + +/* Code elements */ + +.line-number { } + +.class-table { width: 100%; } +.class-table-header { border-bottom: 1px dotted #666666; text-align: left} +.class-name { color: #000000; font-weight: bold; } + +.method-summary { padding-left: 1em; font-size: 8pt } +.method-header { } +.method-definition { margin-bottom: .3em } +.method-title { font-weight: bold; } +.method-name { font-weight: bold; } +.method-signature { font-size: 85%; color: #666666; margin: .5em 0em } +.method-result { font-style: italic; } + +.var-summary { padding-left: 1em; font-size: 8pt; } +.var-header { } +.var-title { margin-bottom: .3em } +.var-type { font-style: italic; } +.var-name { font-weight: bold; } +.var-default {} +.var-description { font-weight: normal; color: #000000; } + +.include-title { } +.include-type { font-style: italic; } +.include-name { font-weight: bold; } + +.const-title { } +.const-name { font-weight: bold; } + +/* Syntax highlighting */ + +.src-code { border: 1px solid #336699; padding: 1em; background-color: #EEEEEE; } +*[class="src-code"] { line-height : 0.5em } + +.src-comm { color: green; } +.src-id { } +.src-inc { color: #0000FF; } +.src-key { color: #0000FF; } +.src-num { color: #CC0000; } +.src-str { color: #66cccc; } +.src-sym { font-weight: bold; } +.src-var { } + +.src-php { font-weight: bold; } + +.src-doc { color: #009999 } +.src-doc-close-template { color: #0000FF } +.src-doc-coretag { color: #0099FF; font-weight: bold } +.src-doc-inlinetag { color: #0099FF } +.src-doc-internal { color: #6699cc } +.src-doc-tag { color: #0080CC } +.src-doc-template { color: #0000FF } +.src-doc-type { font-style: italic } +.src-doc-var { font-style: italic } + +.tute-tag { color: #009999 } +.tute-attribute-name { color: #0000FF } +.tute-attribute-value { color: #0099FF } +.tute-entity { font-weight: bold; } +.tute-comment { font-style: italic } +.tute-inline-tag { color: #636311; font-weight: bold } + +/* tutorial */ + +.authors { } +.author { font-style: italic; font-weight: bold } +.author-blurb { margin: .5em 0em .5em 2em; font-size: 85%; font-weight: normal; font-style: normal } +.example { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; } +*[class="example"] { line-height : 0.5em } +.listing { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; white-space: nowrap; } +*[class="listing"] { line-height : 0.5em } +.release-info { font-size: 85%; font-style: italic; margin: 1em 0em } +.ref-title-box { } +.ref-title { } +.ref-purpose { font-style: italic; color: #666666 } +.ref-synopsis { } +.title { font-weight: bold; margin: 1em 0em 0em 0em; padding: .25em; border: 2px solid #999999; background-color: #CCCCFF } +.cmd-synopsis { margin: 1em 0em } +.cmd-title { font-weight: bold } +.toc { margin-left: 2em; padding-left: 0em } + diff --git a/htdocs/includes/fpdf/tcpdf/doc/packages.html b/htdocs/includes/fpdf/tcpdf/doc/packages.html new file mode 100644 index 00000000000..aaff7e01711 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/doc/packages.html @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeMono.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeMono.ctg.z new file mode 100644 index 00000000000..07f15d5c327 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeMono.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeMono.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeMono.z new file mode 100644 index 00000000000..08ff94d7078 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeMono.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBold.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBold.ctg.z new file mode 100644 index 00000000000..529813d5fae Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBold.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBold.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBold.z new file mode 100644 index 00000000000..6a42eebd411 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBold.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBoldOblique.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBoldOblique.ctg.z new file mode 100644 index 00000000000..f8b2d722d30 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBoldOblique.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBoldOblique.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBoldOblique.z new file mode 100644 index 00000000000..ceb97771818 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoBoldOblique.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoOblique.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoOblique.ctg.z new file mode 100644 index 00000000000..d9d3189c176 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoOblique.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoOblique.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoOblique.z new file mode 100644 index 00000000000..dc879ea2fc6 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeMonoOblique.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSans.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSans.ctg.z new file mode 100644 index 00000000000..8b70df1c315 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSans.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSans.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSans.z new file mode 100644 index 00000000000..b7fffac84d1 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSans.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBold.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBold.ctg.z new file mode 100644 index 00000000000..f8d288a0e30 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBold.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBold.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBold.z new file mode 100644 index 00000000000..312eab60220 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBold.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBoldOblique.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBoldOblique.ctg.z new file mode 100644 index 00000000000..b843f234e37 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBoldOblique.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBoldOblique.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBoldOblique.z new file mode 100644 index 00000000000..f9131c338c5 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansBoldOblique.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSansOblique.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansOblique.ctg.z new file mode 100644 index 00000000000..35f90ff207e Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansOblique.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSansOblique.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansOblique.z new file mode 100644 index 00000000000..c55489e22b0 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSansOblique.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSerif.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerif.ctg.z new file mode 100644 index 00000000000..fc6a0eaa6fc Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerif.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSerif.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerif.z new file mode 100644 index 00000000000..cd055f50d3c Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerif.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBold.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBold.ctg.z new file mode 100644 index 00000000000..8b1e07e6866 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBold.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBold.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBold.z new file mode 100644 index 00000000000..191b7126555 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBold.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBoldItalic.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBoldItalic.ctg.z new file mode 100644 index 00000000000..7448663d1ad Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBoldItalic.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBoldItalic.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBoldItalic.z new file mode 100644 index 00000000000..a4039004506 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifBoldItalic.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifItalic.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifItalic.ctg.z new file mode 100644 index 00000000000..57b56f0eb47 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifItalic.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifItalic.z b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifItalic.z new file mode 100644 index 00000000000..52d40c569a0 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/FreeSerifItalic.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/README.TXT b/htdocs/includes/fpdf/tcpdf/fonts/README.TXT new file mode 100644 index 00000000000..d7148007eaa --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/README.TXT @@ -0,0 +1,19 @@ +To embed TrueType fonts (.TTF) files, you need to extract the font metrics and +build the required tables using the provided utility (/fonts/ttf2ufm). + +TTF2UFM is a modified version of Mark Heath's TTF 2 PT1 converter +(http://ttf2pt1.sourceforge.net/) by Steven Wittens +(http://www.acko.net/blog/ufpdf). ttf2ufm, is included in /ttf2ufm-src. +The /fonts/ttf2ufm folder contains a compiled Windows binary. +TTF 2 UFM is identical to TTF 2 PT1 except that it also generates a .ufm file +for usage with makefontuni.php. + + +Setting up a Truetype font for usage with TCPDF: + 1) Generate the font's .ufm metrics file by processing it with the provided + ttf2ufm program (modified ttf2pt1). For example: + $ ttf2ufm -a -F myfont.ttf + 2) Run makefontuni.php with the .ttf and .ufm filenames as argument: + $ php -q makefontuni.php myfont.ttf myfont.ufm + 3) Copy the resulting .php, .z and .ctg.z file to the TCPDF font directory. + \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/AUTHORS b/htdocs/includes/fpdf/tcpdf/fonts/freefont/AUTHORS new file mode 100644 index 00000000000..8d2ce035988 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freefont/AUTHORS @@ -0,0 +1,143 @@ +-*-text-*- +$Id$ + +The free UCS scalable font collection is being maintained by Primo +Peterlin . The folowing list +cites the other contributors that contributed to particular ISO 10646 +blocks. + +* URW++ Design & Development GmbH + + Basic Latin (U+0041-U+007A) + Latin-1 Supplement (U+00C0-U+00FF) (most) + Latin Extended-A (U+0100-U+017F) + Spacing Modifier Letters (U+02B0-U+02FF) + Mathematical Operators (U+2200-U+22FF) (parts) + Block Elements (U+2580-U+259F) + Dingbats (U+2700-U+27BF) + +* Yannis Haralambous and John + Plaice + + Latin Extended-B (U+0180-U+024F) + IPA Extensions (U+0250-U+02AF) + Greek (U+0370-U+03FF) + Armenian (U+0530-U+058F) + Hebrew (U+0590-U+05FF) + Arabic (U+0600-U+06FF) + Currency Symbols (U+20A0-U+20CF) + Arabic Presentation Forms-A (U+FB50-U+FDFF) + Arabic Presentation Forms-B (U+FE70-U+FEFF) + +* Young U. Ryu + + Arrows (U+2190-U+21FF) + Mathematical Symbols (U+2200-U+22FF) + +* Valek Filippov + + Cyrillic (U+0400-U+04FF) + +* Wadalab Kanji Comittee + + Hiragana (U+3040-U+309F) + Katakana (U+30A0-U+30FF) + +* Angelo Haritsis + + Greek (U+0370-U+03FF) + +* Yannis Haralambous and Virach Sornlertlamvanich + + Thai (U+0E00-U+0E7F) + +* Shaheed R. Haque + + Bengali (U+0980-U+09FF) + +* Sam Stepanyan + + Armenian (U+0530-U+058F) + +* Mohamed Ishan + + Thaana (U+0780-U+07BF) + +* Sushant Kumar Dash + + Oriya (U+0B00-U+0B7F) + +* Harsh Kumar + + Devanagari (U+0900-U+097F) + Bengali (U+0980-U+09FF) + Gurmukhi (U+0A00-U+0A7F) + Gujarati (U+0A80-U+0AFF) + +* Prasad A. Chodavarapu + + Telugu (U+0C00-U+0C7F) + +* Frans Velthuis and Anshuman Pandey + + + Devanagari (U+0900-U+097F) + +* Hardip Singh Pannu + + Gurmukhi (U+0A00-U+0A7F) + +* Jeroen Hellingman + + Oriya (U+0B00-U+0B7F) + Malayalam (U+0D00-U+0D7F) + +* Thomas Ridgeway + + Tamil (U+0B80-U+0BFF) + +* Berhanu Beyene <1beyene AT informatik.uni-hamburg.de>, + Prof. Dr. Manfred Kudlek , Olaf + Kummer , and Jochen Metzinger + + Ethiopic (U+1200-U+137F) + +* Maxim Iorsh + + Hebrew (U+0590-U+05FF) + + +* Vyacheslav Dikonov + + Syriac (U+0700-U+074A) + Braille (U+2800-U+28FF) + +* M.S. Sridhar + + Devanagari (U+0900-U+097F) + Bengali (U+0980-U+09FF) + Gurmukhi (U+0A00-U+0A7F) + Gujarati (U+0A80-U+0AFF) + Oriya (U+0B00-U+0B7F) + Tamil (U+0B80-U+0BFF) + Telugu (U+0C00-U+0C7F) + Kannada (U+0C80-U+0CFF) + Malayalam (U+0D00-U+0D7F) + +* DMS Electronics, The Sri Lanka Tipitaka Project, and Noah Levitt + + + Sinhala (U+0D80-U+0DFF) + +* Dan Shurovich Chirkov + + Cyrillic (U+0400-U+04FF) + +* Abbas Izad + + Arabic (U+0600-U+06FF) + Arabic Presentation Forms-A (U+FB50-U+FDFF) + Arabic Presentation Forms-B (U+FE70-U+FEFF) + +Please see the CREDITS file for details on who contributed particular +subsets of the glyphs in font files. diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/CREDITS b/htdocs/includes/fpdf/tcpdf/fonts/freefont/CREDITS new file mode 100644 index 00000000000..2b27fac77cc --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freefont/CREDITS @@ -0,0 +1,389 @@ +-*-text-*- +$Id$ + +This file lists the contributors and contributions to the free UCS +scalable font project. + + +* URW++ Design & Development GmbH + +URW++ donated a set of 35 core PostScript Type 1 fonts to the +Ghostscript project , to be available +under the terms of GNU General Public License (GPL). + + Basic Latin (U+0041-U+007A) + Latin-1 Supplement (U+00C0-U+00FF) + Latin Extended-A (U+0100-U+017F) + Spacing Modifier Letters (U+02B0-U+02FF) + Mathematical Operators (U+2200-U+22FF) + Block Elements (U+2580-U+259F) + Dingbats (U+2700-U+27BF) + + +* Yannis Haralambous and John + Plaice + +Yannis Haralambous and John Plaice are the authors of Omega +typesetting system, . Omega is an +extension of TeX. Its first release, aims primarily at improving TeX's +multilingual abilities. In Omega all characters and pointers into +data-structures are 16-bit wide, instead of 8-bit, thereby eliminating +many of the trivial limitations of TeX. Omega also allows multiple +input and output character sets, and uses programmable filters to +translate from one encoding to another, to perform contextual +analysis, etc. Internally, Omega uses the universal 16-bit Unicode +standard character set, based on ISO-10646. These improvements not +only make it a lot easier for TeX users to cope with multiple or +complex languages, like Arabic, Indic, Khmer, Chinese, Japanese or +Korean, in one document, but will also form the basis for future +developments in other areas, such as native color support and +hypertext features. ... Fonts for UT1 (omlgc family) and UT2 (omah +family) are under development: these fonts are in PostScript format +and visually close to Times and Helvetica font families. (from the +Omega WWW site). Omega fonts are available subject to GPL +. + + Latin Extended-B (U+0180-U+024F) + IPA Extensions (U+0250-U+02AF) + Greek (U+0370-U+03FF) + Armenian (U+0530-U+058F) + Hebrew (U+0590-U+05FF) + Arabic (U+0600-U+06FF) + Currency Symbols (U+20A0-U+20CF) + Arabic Presentation Forms-A (U+FB50-U+FDFF) + Arabic Presentation Forms-B (U+FE70-U+FEFF) + + +* Valek Filippov + +Valek Filippov added Cyrillic glyphs and composite Latin Extended A to +the whole set of the abovementioned URW set of 35 PostScript core +fonts, . The fonts are available under +GPL. + + Latin Extended-A (U+0100-U+017F) + Cyrillic (U+0400-U+04FF) + + +* Wadalab Kanji Comittee + +Between April 1990 and March 1992, Wadalab Kanji Comittee put together +a series of scalable font files with Japanese scripts, in four forms: +Sai Micho, Chu Mincho, Cho Kaku and Saimaru. The font files are +written in custom file format, while tools for conversion into +Metafont and PostScript Type 1 are also supplied. The Wadalab Kanji +Comittee has later been dismissed, and the resulting files can be now +found on the FTP server of the Depertment of Mathematical Engineering +and Information Physics, Faculty of Engineering, University of Tokyo +. + + Hiragana (U+3040-U+309F) + Katakana (U+30A0-U+30FF) + + +* Young U. Ryu + +Young Ryu is the author of Txfonts, a set of mathematical symbols +designed to accompany text typeset in Times or its variants. In the +documentation, Young adresses the design of mathematical symbols: "The +Adobe Times fonts are thicker than the CM fonts. Designing math fonts +for Times based on the rule thickness of Times = , , + , / , < , +etc. would result in too thick math symbols, in my opinion. In the TX +fonts, these glyphs are thinner than those of original Times +fonts. That is, the rule thickness of these glyphs is around 85% of +that of the Times fonts, but still thicker than that of the CM fonts." +TX fonts are are distributed under the GNU public license +(GPL). Pointers to their location are available on +. + + Arrows (U+2190-U+21FF) + Mathematical Symbols (U+2200-U+22FF) + + +* Angelo Haritsis + +Angelo Haritsis has compiled a set of Greek Type 1 fonts, available on +. +The glyphs from this source has been used to compose Greek glyphs in +FreeSans and FreeMono. + +Angelo's licence says: "You can enjoy free use of these fonts for +educational or commercial purposes. All derived works should include +this paragraph. If you want to change something please let me have +your changes (via email) so that they can go into the next +version. You can also send comments etc to the above address." + + Greek (U+0370-U+03FF) + + +* Yannis Haralambous and Virach Sornlertlamvanich + +In 1999, Yannis Haralambous and Virach Sornlertlamvanich made a set of +glyphs covering the Thai national standard NF3, in both upright and +slanted shape. The collection of glyphs have been made part of GNU +intlfonts 1.2 package and is available on + under GPL. + + Thai (U+0E00-U+0E7F) + + +* Shaheed R. Haque + +Shaheed Haque has developed a basic set of basic Bengali glyphs +(without ligatures), using ISO10646 encoding. They are available under +the XFree86 license at . + +Copyright (C) 2001 S.R.Haque . All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL S.R.HAQUE BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of S.R.Haque shall not be +used in advertising or otherwise to promote the sale, use or other +dealings in this Software without prior written authorization from +S.R.Haque. + + Bengali (U+0980-U+09FF) + + +* Sam Stepanyan + +Sam Stepanyan created a set of Armenian sans serif glyphs visually +compatible with Helvetica or Arial. Available on +. On +2002-01-24, Sam writes: "Arial Armenian font is free for +non-commercial use, so it is OK to use under GPL license." + + Armenian (U+0530-U+058F) + + +* Mohamed Ishan + +Mohamed Ishan has started a Thaana Unicode Project + and among other things created a +couple of Thaana fonts, available under FDL or BDF license. + + Thaana (U+0780-U+07BF) + + +* Sushant Kumar Dash (*) + +Sushant Dash has created a font in his mother tongue, Oriya. As he +states on his web page : +"Please feel free to foreword this mail to your Oriya friends. No +copyright law is applied for this font. It is totally free!!! Feel +free to modify this using any font editing tools. This is designed for +people like me, who are away from Orissa and want to write letters +home using Computers, but suffer due to unavailability of Oriya +fonts.(Or the cost of the available packages are too much)." + + Oriya (U+0B00-U+0B7F) + + +* Harsh Kumar + +Harsh Kumar has started BharatBhasha - +an effort to provide "FREE software, Tutorial, Source Codes +etc. available for working in Hindi, Marathi, Gujarati, Gurmukhi and +Bangla. You can type text, write Web pages or develop Indian Languages +Applications on Windows and on Linux. We also offer FREE help to +users, enthusiasts and software developers for their work in Indian +languages." + + Devanagari (U+0900-U+097F) + Bengali (U+0980-U+09FF) + Gurmukhi (U+0A00-U+0A7F) + Gujarati (U+0A80-U+0AFF) + + +* Prasad A. Chodavarapu + +Prasad A. Chodavarapu created Tikkana, a Telugu font available in Type +1 and TrueType format on . +Tikkana exceeds the Unicode Telugu range with some composite glyphs. +Available under the GNU General Public License. + + Telugu (U+0C00-U+0C7F) + + +* Frans Velthuis and Anshuman Pandey + + +In 1991, Frans Velthuis from the Groningen University, The +Netherlands, released a Devanagari font as Metafont source, available +under the terms of GNU GPL. Later, Anshuman Pandey from the Washington +University, Seattle, USA, took over the maintenance of font. Fonts can +be found on CTAN, . I +converted the font to Type 1 format using Pter Szab's TeXtrace +program and removed some +redundant control points with PfaEdit. + + Devanagari (U+0900-U+097F) + + +* Hardip Singh Pannu + +In 1991, Hardip Singh Pannu has created a free Gurmukhi TrueType font, +available as regular, bold, oblique and bold oblique form. Its license +says "Please remember that these fonts are copyrighted (by me) and are +for non-profit use only." + + Gurmukhi (U+0A00-U+0A7F) + + +* Jeroen Hellingman + +Jeroen Hellingman created a set of Malayalam metafonts in 1994, and a +set of Oriya metafonts in 1996. Malayalam fonts were created as +uniform stroke only, while Oriya metafonts exist in both uniform and +modulated stroke. From private communication: "It is my intention to +release the fonts under GPL, but not all copies around have this +notice on them." Metafonts can be found on CTAN, + and +. + + Oriya (U+0B00-U+0B7F) + Malayalam (U+0D00-U+0D7F) + + +* Thomas Ridgeway <> (*) + +Thomas Ridgeway, then at the Humanities And Arts Computing Center, +Washington University, Seattle, USA, (now defunct), created a Tamil +metafont in 1990. Anshuman Pandey from the same university took over +the maintenance of font. Fonts can be found at CTAN, +. + + Tamil (U+0B80-U+0BFF) + + +* Berhanu Beyene <1beyene AT informatik.uni-hamburg.de>, + Prof. Dr. Manfred Kudlek , Olaf + Kummer , and Jochen Metzinger + +Beyene, Kudlek, Kummer and Metzinger from the Theoretical Foundations +of Computer Science, University of Hamburg, prepared a set of Ethiopic +metafonts, found on +. They also +maintain home page on the Ethiopic font project, +, +and can be reached at . The current +version of fonts is 0.7 (1998), and they are released under GNU GPL. I +converted the fonts to Type 1 format using Pter Szab's TeXtrace +program and removed some +redundant control points with PfaEdit. + + Ethiopic (U+1200-U+137F) + + +* Maxim Iorsh + +In 2002, Maxim Iorsh started the Culmus project, aiming at providing +Hebrew-speaking Linux and Unix community with a basic collection of +Hebrew fonts for X Windows. The fonts are visually compatible with +URW++ Century Schoolbook L, URW++ Nimbus Sans L and URW++ Nimbus Mono +L families, respectively, and are released under GNU GPL license. See +also . + + Hebrew (U+0590-U+05FF) + + +* Vyacheslav Dikonov + +Vyacheslav Dikonov made a braille unicode font that could be merged +with the UCS fonts to fill the 2800-28FF range completely. (uniform +scaling is possible to adapt it to any cell size). He also contributed +a free syriac font, whose glyphs (about half of them) are borrowed +from the "Carlo Ator" font freely downloadable from +. Vyacheslav also filled in a few missing +spots in the U+2000-U+27FF area, e.g. the box drawing section, sets of +subscript and superscript digits and capital Roman numbers. + + Syriac (U+0700-U+074A) + Box Drawing (U+2500-U+257F) + Braille (U+2800-U+28FF) + + +* M.S. Sridhar + +M/S Cyberscape Multimedia Limited, Mumbai, developers of Akruti +Software for Indian Languages (http://www.akruti.com/), have released +a set of TTF fonts for nine Indian scripts (Devanagari, Gujarati, +Telugu, Tamil, Malayalam, Kannada, Bengali, Oriya, and Gurumukhi) +under the GNU General Public License (GPL). You can download the fonts +from the Free Software Foundation of India WWW site +(http://www.gnu.org.in/software/software.html#akruti) or from the +Akruti website. + +For any further information or assistance regarding these fonts, +please contact mssridhar AT vsnl.com. + + Devanagari (U+0900-U+097F) + Bengali (U+0980-U+09FF) + Gurmukhi (U+0A00-U+0A7F) + Gujarati (U+0A80-U+0AFF) + Oriya (U+0B00-U+0B7F) + Tamil (U+0B80-U+0BFF) + Telugu (U+0C00-U+0C7F) + Kannada (U+0C80-U+0CFF) + Malayalam (U+0D00-U+0D7F) + + +* DMS Electronics, The Sri Lanka Tipitaka Project, and Noah Levitt + + +Noah Levitt found out that the Sinhalese fonts available on the site + are released under GNU GPL, or, +precisely, "Public Domain under GNU Licence + Produced by DMS +Electronics for The Sri Lanka Tipitaka Project" (taken from the font +comment), and took the effort of recoding the font to Unicode. + + Sinhala (U+0D80-U+0DFF) + + +* Daniel Shurovich Chirkov + +Dan Chirkov updated the FreeSerif font with the missing Cyrillic +glyphs needed for conformance to Unicode 3.2. The effort is part of +the Slavjanskij package for Mac OS X, +. + + Cyrillic (U+0400-U+04FF) + + +* Primo Peterlin + +Primo Peterlin filled in missing glyphs here and there (e.g. Latin +Extended-B and IPA Extensions ranges in the FreeMono familiy), and +created the following UCS blocks: + + Latin Extended-B (U+0180-U+024F) + IPA Extensions (U+0250-U+02AF) + Arrows (U+2190-U+21FF) + Box Drawing (U+2500-U+257F) + Block Elements (U+2580-U+259F) + Geometrical Shapes (U+25A0-U+25FF) + + +Notes: + +*: The glyph collection looks license-compatible, but its author has + not yet replied and agreed on his/her work being used in part of + this glyph collection. diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/ChangeLog b/htdocs/includes/fpdf/tcpdf/fonts/freefont/ChangeLog new file mode 100644 index 00000000000..eb958c0451f --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freefont/ChangeLog @@ -0,0 +1,630 @@ +2003-10-08 Primoz Peterlin + + * FreeMonoOblique.sfd, FreeSerifBoldItalic.sfd, + FreeSerifItalic.sfd - applied Josef Segur's corrections from + Oct. 5. + +2003-10-02 Primoz Peterlin + + * sfd/FreeSerif.sfd - Abbas Izad's contributed Arabic/Farsi + characters added. + + * sfd/FreeMono.sfd, sfd/FreeMonoOblique.sfd, sfd/FreeMonoBold.sfd, + sfd/FreeMonoBoldOblique.sfd, sfd/FreeSans.sfd, + sfd/FreeSansOblique.sfd, sfd/FreeSansBold.sfd, + sfd/FreeSansBoldOblique.sfd, sfd/FreeSerif.sfd, + sfd/FreeSerifItalic.sfd, sfd/FreeSerifBold.sfd, + sfd/FreeSerifBoldItalic.sfd - Combining characters (U+0300 - + U+036F) moved left, so that they have negative horizontal values + and zero advance width. + +2003-09-15 Primoz Peterlin + + * sfd/FreeSerifBold.sfd, sfd/FreeSerifItalic.sfd - Started working + on super- and subscripts. + +2003-09-12 Primoz Peterlin + + * sfd/FreeSans.sfd, sfd/FreeSerif.sfd - Added some missing + Hiragana and Katakana characters. + + * sfd/FreeSansBold.sfd - Cleared background characters in Latin + Extended-A. Added some automatically constructed characters in + Latin Extended-B. Started with superscripts and subscripts. + + * sfd/FreeSans.sfd - Subscript numerals (U+2080-U+2089) completed. + +2003-05-19 Primoz Peterlin + + * sfd/FreeSerif.sfd - Thai characters po pla and bo baimai + swapped; Thai character fongman corrected; all courtesy Theppitak + Karoonboonyanan. + +2003-05-17 Panayotis Katsaloulis + + * sfd/FreeSerif.sfd, sfd/FreeSerifItalic.sfd, + sfd/FreeSerifBold.sfd, sfd/FreeSerifBoldItalic.sfd - Full support + of all ancient greek glyphs + +2003-05-15 Primoz Peterlin + + * tools/KerningNumerals.pl - A Perl script for moving kerning + information from ASCII numerals (U+0030...) to characters in the + Adobe corporate use area (U+F6xx). + + * sfd/FreeSansBold.sfd, sfd/FreeSansOblique.sfd, + sfd/FreeSansBoldOblique.sfd - Created kerned numerals in the Adobe + corporate use area (U+F6xx) and moved kerning information from + ASCII numerals to the kerned numerals. + +2003-05-14 Primoz Peterlin + + * sfd/FreeSans.sfd - First approximation of super- and subscript + numerals and vulgar fractions. + + * sfd/FreeSerif.sfd - Super- and subscript numerals complete, + vulgar fractions completed and redone as references rather than + outlines. + +2003-05-12 Primoz Peterlin + + * sfd/FreeSerif.sfd - Clean-up of the Cyrillic letters added on + March 27; super- and subscripts, vulgar fractions. + +2003-05-09 Primoz Peterlin + + * sfd/FreeMonoBold.sfd - Added a couple of characters to + the Latin Extended-B area and the IPA extensions area. + +2003-05-08 Primoz Peterlin + + * sfd/FreeSerifBoldItalic.sfd - Added a couple of characters to + the Latin Extended-B area. + + * sfd/FreeSerif.sfd, sfd/FreeSerifItalic.sfd, + sfd/FreeSerifBold.sfd, sfd/FreeSerifBoldItalic.sfd - ASCII + numerals now monospaced; kerned numerals moved to Adobe corporate + use area + (U+F6xx). + +2003-05-07 Primoz Peterlin + + * sfd/FreeSerif.sfd - Roman numerals now more complete. + + * sfd/FreeSansOblique.sfd, sfd/FreeSansBoldOblique.sfd - Accented + characters added in the Latin Extended-B area. + + * sfd/FreeSans.sfd - Greek accents added in the Greek Extended + area, characters added in the Latin Extended-B area, Roman + numerals added. + + * sfd/FreeMonoOblique.sfd - Kerning pairs removed (what were they + doing in a monospaced font, anyway?). + + * sfd/FreeMonoBoldOblique.sfd - Additions in Latin Extended-B and + Basic Greek. + + * sfd/FreeMono.sfd, sfd/FreeMonoBold.sfd, sfd/FreeMonoOblique.sfd, + sfd/FreeMonoBoldOblique.sfd, sfd/FreeSans.sfd, + sfd/FreeSansBold.sfd, sfd/FreeSansOblique.sfd, + sfd/FreeSansBoldOblique.sfd - Major cleanup (fixed widths, open + paths, path directions (clockwise/counter-clockwise), points + rounded to integer values; outlines simplified etc.) + +2003-05-06 Primoz Peterlin + + * tools/OS2UnicodeRange - A simple script to display OS/2 Unicode + range table in TrueType fonts. + + * sfd/FreeSans.sfd, sfd/FreeSansBold.sfd - ASCII numerals now + monospaced; kerned numerals moved to Adobe corporate use area + (U+F6xx). FreeSans is done, FreeSansBold half-way. + + * sfd/FreeMono.sfd, sfd/FreeMonoOblique.sfd, sfd/FreeMonoBold.sfd, + sfd/FreeMonoBoldOblique.sfd, sfd/FreeSans.sfd, + sfd/FreeSansOblique.sfd, sfd/FreeSansBold.sfd, + sfd/FreeSansBoldOblique.sfd, sfd/FreeSerif.sfd, + sfd/FreeSerifItalic.sfd, sfd/FreeSerifBold.sfd, + sfd/FreeSerifBoldItalic.sfd - Added 2003 in copyright info. + +2003-03-27 Primoz Peterlin + + * sfd/FreeSerif.sfd - Cyrillic and Cyrillic Supplement blocks + brought to conformance with Unicode 3.2, courtesy Daniel Shurovich + Chirkov. + +2003-03-19 Primoz Peterlin + + * sfd/FreeSans.sfd, sfd/FreeSansOblique.sfd - somewhat wider + germandbls (U+00DF), due to complaints by Walter Schmidt. + +2003-03-18 Primoz Peterlin + + * sfd/FreeSans.sfd - Added Sinhala glyphs from the Tipitaka + project , recoded to Unicode by Noah Levitt. + +2003-02-19 Primoz Peterlin + + * sfd/FreeSans.sfd - Minor changes on mathematical operators. + +2003-02-18 Primoz Peterlin + + * sfd/FreeMono.sfd - minor cleanup of glyph backgrounds; changed + integral signs (U+222B - U+2230) + +2003-02-05 Primoz Peterlin + + * sfd/FreeSans.sfd - added a couple of glyphs in the IPA and + African Latin ranges. + +2003-01-30 Primoz Peterlin + + * sfd/FreeSans.sfd, sfd/FreeSansOblique.sfd, sfd/FreeSansBold.sfd, + sfd/FreeSansBoldOblique.sfd, sfd/FreeMonoBold.sfd, + sfd/FreeMonoBoldOblique.sfd - Corrected Maltese Hbar (U+0126) + and/or hbar (U+0127). + +2003-01-28 Primoz Peterlin + + * sfd/FreeSerifItalic.sfd - Corrected Maltese hbar (U+0127). + +2002-12-18 Primoz Peterlin + + * tools/ConvertFont - PfaEdit script for converting SFD files to + TrueType fonts. + + * sfd/FreeSans.sfd - Added Tamil and Kannada glyphs from the + Akruti Indic fonts. + +2002-12-17 Primoz Peterlin + + * sfd/FreeSans.sfd - Added Devanagari and Gujarati glyphs from the + Akruti Indic fonts. + + * www/index.html - Added information on Rogier van Dalen's tools. + + * AUTHORS - Added M.S. Sridhar. + + * CREDITS - Correct spelling of Culmus project. Added M.S. Sridhar. + +2002-12-06 Primoz Peterlin + + * sfd/FreeMono.sfd - Added Braille glyphs, courtesy Vyacheslav + Dikonov. + + * sfd/FreeSans.sfd - Added Unicode Syriac glyphs, courtesy + Vyacheslav Dikonov. + +2002-10-11 Primoz Peterlin + + * www/index.html - Added information on the availability of the + Debian GNU/Linux package. + + * sfd/FreeSerif.sfd, sfd/FreeSans.sfd - added some kern pairs + beyond Latin-1 area. + + * sfd/FreeSerif.sfd, sfd/FreeSerifItalic.sfd, + sfd/FreeSerifBold.sfd, sfd/FreeSerifBoldItalic.sfd - re-introduced + all the emtpy glyph slots (changes from Sep 23 made PfaEdit + crash). + +2002-09-23 Primoz Peterlin + + * sfd/FreeSerif.sfd, sfd/FreeSerifItalic.sfd, + sfd/FreeSerifBold.sfd, sfd/FreeSerifBoldItalic.sfd - imported + kerning information from the URW++ AFM files + +2002-09-11 Primoz Peterlin + + * sfd/FreeMono.sfd, sfd/FreeMonoOblique.sfd, sfd/FreeMonoBold.sfd, + sfd/FreeMonoOblique.sfd - updated Hebrew parts to comply with + Culmus v0.6. + + * sfd/FreeSans.sfd, sfd/FreeSansOblique.sfd, sfd/FreeSansBold.sfd, + sfd/FreeSansOblique.sfd - Added Danilo Segan's Serbian Cyrillic + glyphs; updated Hebrew parts to comply with Culmus v0.6. + +2002-09-09 Primoz Peterlin + + * sfd/FreeMono.sfd, sfd/FreeMonoOblique.sfd, sfd/FreeMonoBold.sfd, + sfd/FreeMonoOblique.sfd, sfd/FreeSans.sfd, + sfd/FreeSansOblique.sfd, sfd/FreeSansBold.sfd, + sfd/FreeSansOblique.sfd - Updated Cyrillic part to match + Filippov's 1.0.7pre14 + + * sfd/FreeSansOblique.sfd - added Sam Stepanyan's Armenian glyphs + from FreeSans (skewed for 12 degrees). + +2002-09-06 Primoz Peterlin + + * sfd/FreeSans.sfd, sfd/FreeSansOblique.sfd, + sfd/FreeSansBold.sfd, sfd/FreeSansOblique.sfd - Added Maxim + Iorsh's Hebrew characters. + +2002-08-29 Primoz Peterlin + + * sfd/FreeMono.sfd, sfd/FreeMonoOblique.sfd, + sfd/FreeMonoBold.sfd, sfd/FreeMonoOblique.sfd - Added Maxim + Iorsh's Hebrew characters. + + * AUTHORS, CREDITS - Added Maxim Iorsh as author. + +2002-08-28 Primoz Peterlin + + * www/index.html - Added information of Microsoft's withdrawal of + freely available Unicode TrueType fonts + + * www/resources.html - Added link to Maxim Iorsh's Culmus project. + +2002-07-26 Primoz Peterlin + + * sfd/FreeMono.sfd - Added a couple of characters (Arrows area). + +2002-06-11 Primoz Peterlin + + * sfd/FreeMono.sfd - Applied Michalis Kabrianis's patch concerning + perispomeni in Greek politoniko. + +2002-05-23 Primoz Peterlin + + * sfd/FreeMono.sfd - Applied Michalis Kabrianis's patch concerning + psili in Greek politoniko. Also added two working variants of + chars in the IPA range. + +2002-05-15 Primoz Peterlin + + * sfd/FreeSans.sfd, sfd/FreeSansBold.sfd, sfd/FreeSerif.sfd, + sfd/FreeSerifBold.sfd - Deleted explicit ".notdef" character with + no contours. + +2002-05-14 Primoz Peterlin + + * sfd/FreeMono.sfd, sfd/FreeMonoOblique.sfd, sfd/FreeMonoBold.sfd, + sfd/FreeMonoBoldOblique.sfd, sfd/FreeSans.sfd, + sfd/FreeSansOblique.sfd, sfd/FreeSansBold.sfd, + sfd/FreeSansBoldOblique.sfd, sfd/FreeSerif.sfd, + sfd/FreeSerifItalic.sfd, sfd/FreeSerifBold.sfd, + sfd/FreeSerifBoldItalic.sfd - The new version of PfaEdit saves + correctly formed Panose and LineGap lines. + + * sfd/FreeSansBoldOblique.sfd - Filled-in the missing TTFWidth and + TTFWeight values. + +2002-05-09 Primoz Peterlin + + * sfd/FreeSans.sfd - Added diacritics to the Spacing Modifier + Letters and Combining Diacritical Marks areas. Added composed + glyphs to the Latin Extended-B area. + +2002-05-07 Primoz Peterlin + + * sfd/FreeMono.sfd, sfd/FreeMonoOblique.sfd, sfd/FreeMonoBold.sfd, + sfd/FreeMonoBoldOblique.sfd, sfd/FreeSans.sfd, + sfd/FreeSansOblique.sfd, sfd/FreeSansBold.sfd, + sfd/FreeSansBoldOblique.sfd, sfd/FreeSerif.sfd, + sfd/FreeSerifItalic.sfd, sfd/FreeSerifBold.sfd, + sfd/FreeSerifBoldItalic.sfd - Updated Panose information with data + provided by Josef W. Segur. Updated TTF headers with English and + Slovenian text. + +2002-04-30 Primoz Peterlin + + * sfd/FreeMonoBold.sfd - Working on Greek small letters. Several + minor changes (lower carons etc.) + +2002-04-29 Primoz Peterlin + + * FreeMonoBoldOblique.sfd - Started adding Greek. + + * sfd/FreeMonoBold.sfd - Added glyphs in the Geometrical Shapes + and Miscellaneous Symbols area. Harmonizing Greek with Latin. Done + with capitals. + + * sfd/FreeMono.sfd - Deleted the explicit .notdef character. Added + one glyph to the Geometrical Shapes area, which is now completed; + added three glyphs to the Miscellaneous Symbols area. Harmonizing + Greek with Latin. Done with the capitals. + +2002-04-26 Primoz Peterlin + + * sfd/FreeSans.sfd - Adjusted accent positions on several glyphs + in the Latin Extended-A area. + +2002-04-25 Primoz Peterlin + + * sfd/FreeMonoBold.sfd - Box Drawing area completed. Added a + couple of glyphs in the Geometrical Shapes area. + + * sfd/FreeMono.sfd - Small corrections in the Box Drawing area. + +2002-04-24 Primoz Peterlin + + * sfd/FreeMono.sfd - Box Drawing area completed. + +2002-04-23 Primoz Peterlin + + * tools/WGL4.lst - corrected. + + * sfd/FreeMono.sfd, sfd/FreeMonoBold.sfd - Working on Box Drawing + area. + +2002-04-22 Primoz Peterlin + + * sfd/FreeMono.sfd, sfd/FreeMonoBold.sfd - Working on Latin + Extended-B and Greek. + +2002-04-19 Primoz Peterlin + + * sfd/FreeSerif.sfd - Somewhat cleaner chess figures. + + * tools/MES-2.txt, tools/MES-2.lst - Corrected list (it is not + 203C-203E, it is 203C and 203E). + + * sfd/FreeMono.sfd, sfd/FreeMonoOblique.sfd, sfd/FreeMonoBold.sfd, + sfd/FreeMonoBoldOblique.sfd, sfd/FreeSans.sfd, + sfd/FreeSansOblique.sfd, sfd/FreeSansBold.sfd, + sfd/FreeSansBoldOblique.sfd, sfd/FreeSerif.sfd, + sfd/FreeSerifItalic.sfd, sfd/FreeSerifBold.sfd, + sfd/FreeSerifBoldItalic.sfd - Changed "Family Name" from Free to + FreeSerif, FreeSans and FreeMono, as appropriate. Changed Font + Modifiers from MonoBold etc. to Bold, Italic, Oblique, BoldOblique + and BoldItalic. + +2002-04-18 Primoz Peterlin + + * sfd/FreeMono.sfd, sfd/FreeMonoOblique.sfd, sfd/FreeMonoBold.sfd, + sfd/FreeMonoBoldOblique.sfd - Corrected metrics; now all character + widths are set to 600. + +2002-04-17 Primoz Peterlin + + * sfd/FreeSerif.sfd - Corrected glyphs in the Box Drawing area and + Block Elements area, which should extend through the ascender *and + descender* height. + + * sfd/FreeMonoBold.sfd - Continued working on harmonizing Greek + letters with Latin and Cyrillic. + + * sfd/FreeMonoBold.sfd - Added some box drawing characters. + +2002-04-16 Primoz Peterlin + + * www/design-notes.html - Updated notes on stroke width for + symbols in Free Mono Bold. + + * sfd/FreeMono.sfd - Added a handful of characters in the + Miscellaneous Symbols area. + + * sfd/FreeMonoBoldOblique.sfd - Added subscripts, superscripts and + vulgar fractions. + + * sfd/FreeMonoBold.sfd - Started harmonizing Greek letters with + Latin and Cyrillic. + + * sfd/FreeMonoBold.sfd - Added subscripts, superscripts and vulgar + fractions. + +2002-04-15 Primoz Peterlin + + * www/design-notes.html - Updated notes on super-/subscripts in + Free Mono Bold. Separate subsections for Free Mono regular and + Free Mono Bold. + +2002-04-12 Primoz Peterlin + + * sfd/FreeSerif.sfd - Added Ethiopian glyphs, converted from the + Metafont sources from TGI, Universitt Hamburg (authors Berhanu + Beyene, Prof. Dr. Manfred Kudlek, Olaf Kummer, and Jochen + Metzinger) using Szabo's TeXtrace and retouched using + PfaEdit. Ethiopian metafonts are released under GNU GPL, + . + + * sfd/FreeMonoBold.sfd - Added 40 characters, mostly in the Latin + Extended-B and IPA Extensions areas. + +2002-04-11 Primoz Peterlin + + * sfd/FreeMono.sfd - Added a handful of characters in the Latin + Extended-B, IPA Extensions, Currency Symbols and Miscellaneous + Symbols areas. + +2002-04-09 Primoz Peterlin + + * sfd/FreeMono.sfd - Correcting accent positioning in the Extended + Greek area; adding a couple of characters here and there. Still 20 + characters short of MES-2 conformance. + +2002-04-08 Primoz Peterlin + + * sfd/FreeMono.sfd - Added some characters in the Arrows area; + more or less completed Extended Greek area (accents still need to + be fine-tuned). + +2002-04-05 Primoz Peterlin + + * sfd/FreeMono.sfd - Modern non-Russian Cyrilic mostly completed. + + * sfd/FreeMonoOblique.sfd - Synchronized with FreeMono. + + * sfd/FreeSerif.sfd - Added Thomas Ridgeway's Tamil characters + (converted from Metafont and edited somehwat). + +2002-04-04 Primoz Peterlin + + * sfd/FreeMonoOblique.sfd - Armenian letters added. + + * sfd/FreeMonoBold.sfd - Serbian Cyrillic letters dje, tshe, lje + and nje corrected. + + * sfd/FreeMono.sfd - Serbian Cyrillic letters dje and tshe + corrected. Some other non-Russian Cyrillic letters modified and + "welded together". + +2002-04-03 Primoz Peterlin + + * sfd/FreeMono.sfd - Added more or less complete Armenian + area. The glyphs are a tidied-up version based on the Armenian + Courier on the . Now we have + 1673 characters. + +2002-03-28 Primoz Peterlin + + * sfd/FreeMono.sfd - Added some mathematical symbols. + +2002-03-26 Primoz Peterlin + + * sfd/FreeSans.sfd - took H.S. Pannu's Gurmukhi from FreeSerif. It + actually fits to FreeSans much better. It seems I'll have to look + for another Gurmukhi font with modulated stroke for FreeSerif. + + * sfd/FreeSerifItalic.sfd - replaced existing Hebrew glyphs by + those from FreeSerif (slanted for 15.5 degrees). + + * sfd/FreeSerif.sfd - Added dotted Hebrew letters. Changed barred H. + + * sfd/FreeMono.sfd - Completed vulgar fractions; minor changes in + Greek; added some mathematical operators. + + * sfd/FreeMonoBold.sfd - added 12 characters to Latin Extended-B + and IPA Extensions areas (total 984). + +2002-03-25 Primoz Peterlin + + * sfd/FreeMonoBold.sfd - started adding Latin Extended-B and IPA + Extensions. + + * sfd/FreeMono.sfd - Minor cosmetic changes; cleaning up Greek + (removing redundant control points), added some non-European + Cyrillic glyphs as a test. + +2002-03-22 Primoz Peterlin + + * sfd/FreeMono.sfd - Some minor modifications; letters in Latin + Extended-B area "welded" together. + +2002-03-20 Primoz Peterlin + + * www/index.html - finally linked the resources and design notes + pages. + + * www/design-notes.html - added scaling information for super- and + subscript numerals in FreeMono. + +2002-03-19 Primoz Peterlin + + * sfd/FreeMono.sfd - the Latin Extended-B and IPA Extension area + characters moved from FreeMono and skewed for 12 degrees. + +2002-03-18 Primoz Peterlin + + * sfd/FreeMono.sfd - added a dozen or two of new characters, in + particular in the Latin Extended-B and IPA Extension area. + +2002-03-15 Primoz Peterlin + + * sfd/FreeMono.sfd - added a dozen of two of new characters, in + particular in the IPA Extension area. + + * www/design-notes.html - Corrected data for x-height in FreeMono; + information on constructing small caps. + +2002-03-14 Primoz Peterlin + + * sfd/FreeMono.sfd - added three smiley characters to the + Miscallaneous Symbols area. + +2002-03-10 Primoz Peterlin + + * sfd/FreeSerif.sfd - Anshuman Pandey has only converted Gurmukhi + from TrueType to Metafont; the original author of Gurkmukhi font + is Hardip Singh Pannu . + Got the permission from him to include the Gurmukhi glyph set. + +2002-03-08 Primoz Peterlin + + * sfd/FreeSerif.sfd - Added some more glyphs in the Mathematical + Symbols area to a total number of 3374. + +2002-03-06 Primoz Peterlin + + * sfd/FreeSerif.sfd - Added a basic Gurmukhi set. + + * www/design-notes.html - started a page on design notes + + * sfd/FreeMono.sfd - realized that glyphs in the Box Drawing area + and Block Elements area should extend through the ascender *and + descender* height, and corrected it. + + * sfd/FreeMono.sfd, sfd/FreeMonoOblique.sfd - added some musical + glyphs, linking "no-break space" to space, "soft hyphen" to + hyphen-minus etc. + +2002-03-05 Primoz Peterlin + + * tools/WGL4.lst - Added Windows Glyph List 4.0 + + * tools/LigatureList.pl - Wrote a Perl script, which lists the + GSUB list (ligature list) of a OpenType font. + + * sfd/FreeSerifBold.sfd, sfd/FreeSerifBoldItalic.sfd, + sfd/FreeSerifItalic.sfd - auxilliary Hebrew glyphs added. They are + too light compared with Latin and will be substituted with better + ones. + +2002-03-04 Primoz Peterlin + + * sfd/FreeSerif.sfd - Added some more glyphs to the Mathematical + Operators area (page 0x22). + + * sfd/FreeSerif.sfd - Incomplete and fragmentary support for + Devanagari, originating from Harsh Kumar's Shusha fonts was + replaced by Frans Velthuis' Devanagari metafont, now maintained by + Anshuman Pandey and available under + GPL. Until I figure out how to provide glyph substitution table in + OpenType, only the Unicode part is there. + +2002-02-28 Primoz Peterlin + + * ChangeLog file created + + * sfd/FreeSerif.sfd - Added some Telugu glyphs to page 0x0C, + courtesy Prasad A. Chodavarapu + + * sfd/FreeSerif.sfd - Added some glyphs to the Miscellaneous + Symbols page (0x26). + +2002-02-26 Primoz Peterlin + + * mailing lists freefont-announce and freefont-bugs created + +2002-02-25 Primoz Peterlin + + * sfd/FreeSerif.sfd - Added a couple of glyphs in Mathematics + Operators area. + + * sfd/FreeMono.sfd + - Added some more glyphs, in particular in the Mathematical + Operators section. + - Changed FamilyName to Free, FontName to FreeMono, and Full name + to "Free Monospaced". + +2002-02-20 Primoz Peterlin + + * sfd/ directory added containing FreeSerif, FreeSans and FreeMono + families. + + * tools/ directory added containing lists with characters required + for MES (Multilinguag European Subset) compliance. + + * tools/mes-list-expand.pl created - a Perl script for expanding MES + ranges into simple one-char-per-line format + + * tools/CheckConformance.pl created - a Perl script for checking + conformance of a font file with a given coded character set + + * homepage created + +2002-02-19 Primoz Peterlin + + * freefont (Free UCS Scalable Fonts) project approved on + savannah.gnu.org: diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/INSTALL b/htdocs/includes/fpdf/tcpdf/fonts/freefont/INSTALL new file mode 100644 index 00000000000..49b839fe04b --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freefont/INSTALL @@ -0,0 +1,57 @@ +-*-mode:text;-*- +$Id$ + + + Installing the Free UCS outline fonts + ===================================== + + +These installation notes are supposed to provide a helpful guidance +through the process of installation of free UCS outline fonts. They +can probably be significantly improved. Please direct your comments, +suggestions for improvements, criticisms etc. to Primoz PETERLIN + and thus help improve them. + + +1. UNIX/GNU/Linux/BSD Systems + +The rather awkward "UNIX/GNU/Linux/BSD" agglomeration is used to +denote any system capable of running XFree86 server with FreeType +, a high-quality free font rasterizer. + +1.1 The rough way + +Unfortunately, hardly any other way exists at the moment. + +1) Fetch the freefont-ttf.tar.gz package with Free UCS outline fonts + in the TrueType format. + +2) Unpack TrueType fonts into a suitable directory, + e.g. /usr/share/fonts/default/TrueType/. + +3) If you have chosen any other directory, make sure the directory you + used to install the fonts is listed in the path searched by the X + Font Server. Append the directory to the "catalogue=" in the + /etc/X11/fs/config. + +4) Run ttmkfdir in the directory where you unpacked the fonts. + + +1.2 Debian GNU/Linux + +Users of Debian GNU/Linux system will probably want to use the +pre-packed Debian package, as available from the Debian site, +, or +any of its mirrors. You can install them by issuing the command + +apt-get install ttf-freefont + + +2. Microsoft Windows 95/98/NT/2000/XP + +To be written. + + +3. MacOS + +To be written. diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/README b/htdocs/includes/fpdf/tcpdf/fonts/freefont/README new file mode 100644 index 00000000000..0db678fbfe2 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freefont/README @@ -0,0 +1,113 @@ +-*-text-*- +$Id$ + +Summary: This project aims to privide a set of free scalable +(PostScript Type0, TrueType, OpenType...) fonts covering the ISO +10646/Unicode UCS (Universal Character Set). + + +Why do we need free scalable UCS fonts? + +A large number of free software users switched from free X11 +bitmapped fonts to proprietary Microsoft Truetype fonts, as a) they +used to be freely downloaded from Microsoft Typography page +, b) they contain a more +or less decent subsed of the ISO 10646 UCS (Universal Character Set), +c) they are high-quality, well hinted scalable Truetype fonts, and d) +Freetype , a free high-quality Truetype font +renderer exists and has been integrated into the latest release of +XFree86, the free X11 server. + +Building a dependence on non-free software, even a niche one like +fonts, is dangerous. Microsoft Truetype core fonts are not free, they +are just costless. For now, at least. Citing the TrueType core fonts +for the Web FAQ : +"You may only redistribute the fonts in their original form (.exe or +.sit.hqx) and with their original file name from your Web site or +intranet site. You must not supply the fonts, or any derivative fonts +based on them, in any form that adds value to commercial products, +such as CD-ROM or disk based multimedia programs, application software +or utilities." As of August 2002, however, the fonts are not +anymore available on the Web, which makes the situation clearer. + +Aren't there any free high-quality scalable fonts? Yes, there are. +URW++, a German digital typefoundry, released their own version of the +35 Postscript Type 1 core fonts under GPL as their donation to the +Ghostscript project . The Wadalab +Kanji comittee has produced Type 1 font files with thousands of +filigree Japanese glyphs . +Yannis Haralambous has drawn beautiful glyphs for the Omega +typesetting system . And so +on. Scattered around the internet there are numerous other free +resources for other national scripts, many of them aiming to be a +suitable match for Latin fonts like Times or Helvetica. + + +What do we plan to achieve, and how? + +Our aim is to collect available resources, fill in the missing pieces, +and provide a set of free high-quality scalable (Type 1 and Truetype) +UCS fonts, released under GPL. + +Free UCS scalable fonts will cover the following character sets + +* ISO 8859 parts 1-15 +* CEN MES-3 European Unicode Subset + http://www.evertype.com/standards/iso10646/pdf/cwa13873.pdf +* IBM/Microsoft code pages 437, 850, 852, 1250, 1252 and more +* Microsoft/Adobe Windows Glyph List 4 (WGL4) + http://partners.adobe.com/asn/developer/opentype/appendices/wgl4.html +* KOI8-R and KOI8-RU +* DEC VT100 graphics symbols +* International Phonetic Alphabet +* Arabic, Hebrew, Armenian, Georgian, Ethiopian, Thai and Lao alphabets, + including Arabic presentation forms A/B +* Japanese Katakana and Hiragana +* mathematical symbols, including the whole TeX repertoire of symbols +* APL symbols + etc. + +A free Postscript font editor, George Williams's Pfaedit + will be used for creating new +glyphs. + +Which font shapes should be made? As historical style terms like +Renaissance or Baroque letterforms cannot be applied beyond +Latin/Cyrillic/Greek scripts to any greater extent than Kufi or Nashki +can be applied beyond Arabic script, a smaller subset of styles will +be made: one monospaced and two proportional (one with uniform stroke +and one with modulated) will be made at the start. + +In the beginning, however, we don't believe that Truetype hinting will +be good enough to compete with neither the hand-crafted bitmapped +fonts at small sizes, nor with commercial TrueType fonts. A companion +program for modifying the TrueType font tables, TtfMod, is in the +works, though: . For +applications like xterm, users are referred to the existing UCS bitmap +fonts, . + + +What do the file suffices mean? + +The files with .sfd (Spline Font Database) are in PfaEdit's native +format. Please use these if you plan to modify the font files. PfaEdit +can export these to mostly any existing font file format. + +TrueType fonts for immediate consumption are the files with the .ttf +(TrueType Font) suffix. You can use them directly, e.g. with the X +font server. + +The files with .ps (PostScript) suffix are not font files at all - +they are merely PostScript files with glyph tables, which can be used +for overview, which glyphs are contained in which font file. + +You may have noticed the lacking of PostScript Type 1 (.pfa/.pfb) font +files. Type 1 format does not support large (> 256) encoding vectors, +so they can not be used with ISO 10646 encoding. If your printer +supports it, you can use Type 0 format, though. Please use PfaEdit for +conversion to Type 0. + + +Primoz Peterlin, + +Free UCS scalable fonts: ftp://biofiz.mf.uni-lj.si/pub/fonts/elbrus/ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMono.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMono.ttf new file mode 100644 index 00000000000..96b830e61ca Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMono.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMonoBold.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMonoBold.ttf new file mode 100644 index 00000000000..4863d6b567d Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMonoBold.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMonoBoldOblique.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMonoBoldOblique.ttf new file mode 100644 index 00000000000..e0bf213e2b7 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMonoBoldOblique.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMonoOblique.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMonoOblique.ttf new file mode 100644 index 00000000000..b3c3ad22e5a Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeMonoOblique.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSans.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSans.ttf new file mode 100644 index 00000000000..6de62ebf671 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSans.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSansBold.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSansBold.ttf new file mode 100644 index 00000000000..e75685be37c Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSansBold.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSansBoldOblique.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSansBoldOblique.ttf new file mode 100644 index 00000000000..ec3bc02c815 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSansBoldOblique.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSansOblique.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSansOblique.ttf new file mode 100644 index 00000000000..733f8829d8e Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSansOblique.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerif.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerif.ttf new file mode 100644 index 00000000000..e08b15757d5 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerif.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerifBold.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerifBold.ttf new file mode 100644 index 00000000000..00c25d39e49 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerifBold.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerifBoldItalic.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerifBoldItalic.ttf new file mode 100644 index 00000000000..5f32a9148ef Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerifBoldItalic.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerifItalic.ttf b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerifItalic.ttf new file mode 100644 index 00000000000..388c11245a6 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/freefont/sfd/FreeSerifItalic.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freemono.php b/htdocs/includes/fpdf/tcpdf/fonts/freemono.php new file mode 100644 index 00000000000..47e75dd1727 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freemono.php @@ -0,0 +1,174 @@ +1057,'Descent'=>-319,'CapHeight'=>1057,'Flags'=>32,'FontBBox'=>'[-557 -319 699 1057]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>600); +$up=-100; +$ut=50; +$cw=array( + 13=>333, 32=>600, 33=>600, 34=>600, 35=>600, 36=>600, 37=>600, 38=>600, 39=>600, 40=>600, 41=>600, 42=>600, 43=>600, 44=>600, 45=>600, 46=>600, + 47=>600, 48=>600, 49=>600, 50=>600, 51=>600, 52=>600, 53=>600, 54=>600, 55=>600, 56=>600, 57=>600, 58=>600, 59=>600, 60=>600, 61=>600, 62=>600, + 63=>600, 64=>600, 65=>600, 66=>600, 67=>600, 68=>600, 69=>600, 70=>600, 71=>600, 72=>600, 73=>600, 74=>600, 75=>600, 76=>600, 77=>600, 78=>600, + 79=>600, 80=>600, 81=>600, 82=>600, 83=>600, 84=>600, 85=>600, 86=>600, 87=>600, 88=>600, 89=>600, 90=>600, 91=>600, 92=>600, 93=>600, 94=>600, + 95=>600, 96=>600, 97=>600, 98=>600, 99=>600, 100=>600, 101=>600, 102=>600, 103=>600, 104=>600, 105=>600, 106=>600, 107=>600, 108=>600, 109=>600, 110=>600, + 111=>600, 112=>600, 113=>600, 114=>600, 115=>600, 116=>600, 117=>600, 118=>600, 119=>600, 120=>600, 121=>600, 122=>600, 123=>600, 124=>600, 125=>600, 126=>600, + 8364=>600, 1027=>600, 8218=>600, 402=>600, 8222=>600, 8230=>600, 8224=>600, 8225=>600, 710=>600, 8240=>600, 352=>600, 8249=>600, 338=>600, 1036=>600, 381=>600, 1039=>600, + 8216=>600, 8217=>600, 8220=>600, 8221=>600, 8226=>600, 8211=>600, 8212=>600, 732=>600, 8482=>600, 353=>600, 8250=>600, 339=>600, 1116=>600, 382=>600, 376=>600, 160=>600, + 161=>600, 162=>600, 163=>600, 164=>600, 165=>600, 166=>600, 167=>600, 168=>600, 169=>600, 170=>600, 171=>600, 172=>600, 173=>600, 174=>600, 175=>600, 176=>600, + 177=>600, 178=>600, 179=>600, 180=>600, 181=>600, 182=>600, 183=>600, 184=>600, 185=>600, 186=>600, 187=>600, 188=>600, 189=>600, 190=>600, 191=>600, 192=>600, + 193=>600, 194=>600, 195=>600, 196=>600, 197=>600, 198=>600, 199=>600, 200=>600, 201=>600, 202=>600, 203=>600, 204=>600, 205=>600, 206=>600, 207=>600, 208=>600, + 209=>600, 210=>600, 211=>600, 212=>600, 213=>600, 214=>600, 215=>600, 216=>600, 217=>600, 218=>600, 219=>600, 220=>600, 221=>600, 222=>600, 223=>600, 224=>600, + 225=>600, 226=>600, 227=>600, 228=>600, 229=>600, 230=>600, 231=>600, 232=>600, 233=>600, 234=>600, 235=>600, 236=>600, 237=>600, 238=>600, 239=>600, 240=>600, + 241=>600, 242=>600, 243=>600, 244=>600, 245=>600, 246=>600, 247=>600, 248=>600, 249=>600, 250=>600, 251=>600, 252=>600, 253=>600, 254=>600, 255=>600, 256=>600, + 257=>600, 258=>600, 259=>600, 260=>600, 261=>600, 262=>600, 263=>600, 264=>600, 265=>600, 266=>600, 267=>600, 268=>600, 269=>600, 270=>600, 271=>600, 272=>600, + 273=>600, 274=>600, 275=>600, 276=>600, 277=>600, 278=>600, 279=>600, 280=>600, 281=>600, 282=>600, 283=>600, 284=>600, 285=>600, 286=>600, 287=>600, 288=>600, + 289=>600, 290=>600, 291=>600, 292=>600, 293=>600, 294=>600, 295=>600, 296=>600, 297=>600, 298=>600, 299=>600, 300=>600, 301=>600, 302=>600, 303=>600, 304=>600, + 305=>600, 306=>600, 307=>600, 308=>600, 309=>600, 310=>600, 311=>600, 312=>600, 313=>600, 314=>600, 315=>600, 316=>600, 317=>600, 318=>600, 319=>600, 320=>600, + 321=>600, 322=>600, 323=>600, 324=>600, 325=>600, 326=>600, 327=>600, 328=>600, 329=>600, 330=>600, 331=>600, 332=>600, 333=>600, 334=>600, 335=>600, 336=>600, + 337=>600, 340=>600, 341=>600, 342=>600, 343=>600, 344=>600, 345=>600, 346=>600, 347=>600, 348=>600, 349=>600, 350=>600, 351=>600, 354=>600, 355=>600, 356=>600, + 357=>600, 358=>600, 359=>600, 360=>600, 361=>600, 362=>600, 363=>600, 364=>600, 365=>600, 366=>600, 367=>600, 368=>600, 369=>600, 370=>600, 371=>600, 372=>600, + 373=>600, 374=>600, 375=>600, 377=>600, 378=>600, 379=>600, 380=>600, 383=>600, 384=>600, 385=>600, 386=>600, 387=>600, 388=>600, 389=>600, 390=>600, 391=>600, + 392=>600, 393=>600, 394=>600, 395=>600, 396=>600, 397=>600, 398=>600, 399=>600, 400=>600, 401=>600, 403=>600, 404=>600, 405=>600, 406=>600, 407=>600, 408=>600, + 409=>600, 410=>600, 411=>600, 412=>600, 413=>600, 414=>600, 415=>600, 416=>600, 417=>600, 418=>600, 419=>600, 420=>600, 421=>600, 422=>600, 423=>600, 424=>600, + 425=>600, 426=>600, 427=>600, 428=>600, 429=>600, 430=>600, 431=>600, 432=>600, 433=>600, 434=>600, 435=>600, 436=>600, 437=>600, 438=>600, 439=>600, 440=>600, + 441=>600, 442=>600, 443=>600, 444=>600, 445=>600, 446=>600, 447=>600, 448=>600, 449=>600, 450=>600, 451=>600, 452=>600, 453=>600, 454=>600, 455=>600, 456=>600, + 457=>600, 458=>600, 459=>600, 460=>600, 461=>600, 462=>600, 463=>600, 464=>600, 465=>600, 466=>600, 467=>600, 468=>600, 469=>600, 470=>600, 471=>600, 472=>600, + 473=>600, 474=>600, 475=>600, 476=>600, 477=>600, 478=>600, 479=>600, 480=>600, 481=>600, 482=>600, 483=>600, 484=>600, 485=>600, 486=>600, 487=>600, 488=>600, + 489=>600, 490=>600, 491=>600, 492=>600, 493=>600, 494=>600, 495=>600, 496=>600, 497=>600, 498=>600, 499=>600, 500=>600, 501=>600, 502=>600, 503=>600, 504=>600, + 505=>600, 506=>600, 507=>600, 508=>600, 509=>600, 510=>600, 511=>600, 512=>600, 513=>600, 514=>600, 515=>600, 516=>600, 517=>600, 518=>600, 519=>600, 520=>600, + 521=>600, 522=>600, 523=>600, 524=>600, 525=>600, 526=>600, 527=>600, 528=>600, 529=>600, 530=>600, 531=>600, 532=>600, 533=>600, 534=>600, 535=>600, 536=>600, + 537=>600, 538=>600, 539=>600, 540=>600, 541=>600, 542=>600, 543=>600, 548=>600, 549=>600, 550=>600, 551=>600, 552=>600, 553=>600, 554=>600, 555=>600, 556=>600, + 557=>600, 558=>600, 559=>600, 560=>600, 561=>600, 562=>600, 563=>600, 577=>600, 578=>600, 592=>600, 593=>600, 594=>600, 595=>600, 596=>600, 597=>600, 598=>600, + 599=>600, 600=>600, 601=>600, 602=>600, 603=>600, 604=>600, 607=>600, 608=>600, 609=>600, 610=>600, 611=>600, 612=>600, 613=>600, 614=>600, 615=>600, 616=>600, + 617=>600, 618=>600, 619=>600, 620=>600, 621=>600, 623=>600, 624=>600, 625=>600, 626=>600, 627=>600, 628=>600, 629=>600, 630=>600, 632=>600, 633=>600, 634=>600, + 635=>600, 636=>600, 637=>600, 638=>600, 639=>600, 640=>600, 641=>600, 642=>600, 643=>600, 644=>600, 645=>600, 646=>600, 647=>600, 648=>600, 649=>600, 652=>600, + 653=>600, 654=>600, 655=>600, 656=>600, 657=>600, 658=>600, 660=>600, 661=>600, 662=>600, 663=>600, 665=>600, 667=>600, 668=>600, 669=>600, 670=>600, 671=>600, + 672=>600, 673=>600, 674=>600, 675=>600, 676=>600, 678=>600, 679=>600, 699=>600, 700=>600, 701=>600, 702=>600, 703=>600, 711=>600, 712=>600, 713=>600, 714=>600, + 715=>600, 720=>600, 721=>600, 722=>600, 723=>600, 724=>600, 725=>600, 726=>600, 727=>600, 728=>600, 729=>600, 730=>600, 731=>600, 733=>600, 735=>600, 750=>600, + 768=>0, 769=>0, 770=>0, 771=>0, 772=>0, 773=>0, 774=>0, 775=>0, 776=>0, 777=>0, 778=>0, 779=>0, 780=>0, 781=>0, 782=>0, 783=>0, + 784=>0, 785=>0, 795=>0, 801=>0, 802=>0, 807=>0, 808=>0, 819=>600, 821=>0, 822=>0, 823=>0, 824=>0, 834=>0, 836=>0, 890=>600, 900=>600, + 901=>600, 902=>600, 903=>600, 904=>600, 905=>600, 906=>600, 908=>600, 910=>600, 911=>600, 912=>600, 913=>600, 914=>600, 915=>600, 916=>600, 917=>600, 918=>600, + 919=>600, 920=>600, 921=>600, 922=>600, 923=>600, 924=>600, 925=>600, 926=>600, 927=>600, 928=>600, 929=>600, 930=>600, 931=>600, 932=>600, 933=>600, 934=>600, + 935=>600, 936=>600, 937=>600, 938=>600, 939=>600, 940=>600, 941=>600, 942=>600, 943=>600, 944=>600, 945=>600, 946=>600, 947=>600, 948=>600, 949=>600, 950=>600, + 951=>600, 952=>600, 953=>600, 954=>600, 955=>600, 956=>600, 957=>600, 958=>600, 959=>600, 960=>600, 961=>600, 962=>600, 963=>600, 964=>600, 965=>600, 966=>600, + 967=>600, 968=>600, 969=>600, 970=>600, 971=>600, 972=>600, 973=>600, 974=>600, 976=>600, 977=>600, 978=>600, 979=>600, 981=>600, 986=>600, 987=>600, 988=>600, + 1024=>600, 1025=>600, 1026=>600, 1028=>600, 1029=>600, 1030=>600, 1031=>600, 1032=>600, 1033=>600, 1034=>600, 1035=>600, 1037=>600, 1038=>600, 1040=>600, 1041=>600, 1042=>600, + 1043=>600, 1044=>600, 1045=>600, 1046=>600, 1047=>600, 1048=>600, 1049=>600, 1050=>600, 1051=>600, 1052=>600, 1053=>600, 1054=>600, 1055=>600, 1056=>600, 1057=>600, 1058=>600, + 1059=>600, 1060=>600, 1061=>600, 1062=>600, 1063=>600, 1064=>600, 1065=>600, 1066=>600, 1067=>600, 1068=>600, 1069=>600, 1070=>600, 1071=>600, 1072=>600, 1073=>600, 1074=>600, + 1075=>600, 1076=>600, 1077=>600, 1078=>600, 1079=>600, 1080=>600, 1081=>600, 1082=>600, 1083=>600, 1084=>600, 1085=>600, 1086=>600, 1087=>600, 1088=>600, 1089=>600, 1090=>600, + 1091=>600, 1092=>600, 1093=>600, 1094=>600, 1095=>600, 1096=>600, 1097=>600, 1098=>600, 1099=>600, 1100=>600, 1101=>600, 1102=>600, 1103=>600, 1104=>600, 1105=>600, 1106=>600, + 1107=>600, 1108=>600, 1109=>600, 1110=>600, 1111=>600, 1112=>600, 1113=>600, 1114=>600, 1115=>600, 1117=>600, 1118=>600, 1119=>600, 1124=>600, 1130=>600, 1132=>600, 1136=>600, + 1137=>600, 1164=>600, 1165=>600, 1166=>600, 1167=>600, 1168=>600, 1169=>600, 1170=>600, 1171=>600, 1172=>600, 1173=>600, 1174=>600, 1175=>600, 1176=>600, 1177=>600, 1178=>600, + 1179=>600, 1180=>600, 1181=>600, 1182=>600, 1183=>600, 1184=>600, 1185=>600, 1186=>600, 1187=>600, 1188=>600, 1189=>600, 1190=>600, 1191=>600, 1192=>600, 1193=>600, 1194=>600, + 1195=>600, 1196=>600, 1197=>600, 1198=>600, 1199=>600, 1200=>600, 1201=>600, 1202=>600, 1203=>600, 1204=>600, 1205=>600, 1206=>600, 1207=>600, 1208=>600, 1209=>600, 1210=>600, + 1211=>600, 1212=>600, 1213=>600, 1214=>600, 1215=>600, 1216=>600, 1217=>600, 1218=>600, 1219=>600, 1220=>600, 1223=>600, 1224=>600, 1227=>600, 1228=>600, 1232=>600, 1233=>600, + 1234=>600, 1235=>600, 1236=>600, 1237=>600, 1238=>600, 1239=>600, 1240=>600, 1241=>600, 1242=>600, 1243=>600, 1244=>600, 1245=>600, 1246=>600, 1247=>600, 1248=>600, 1249=>600, + 1250=>600, 1251=>600, 1252=>600, 1253=>600, 1254=>600, 1255=>600, 1256=>600, 1257=>600, 1258=>600, 1259=>600, 1260=>600, 1261=>600, 1262=>600, 1263=>600, 1264=>600, 1265=>600, + 1266=>600, 1267=>600, 1268=>600, 1269=>600, 1272=>600, 1273=>600, 1329=>600, 1330=>600, 1331=>600, 1332=>600, 1333=>600, 1334=>600, 1335=>600, 1336=>600, 1337=>600, 1338=>600, + 1339=>600, 1340=>600, 1341=>600, 1342=>600, 1343=>600, 1344=>600, 1345=>600, 1346=>600, 1347=>600, 1348=>600, 1349=>600, 1350=>600, 1351=>600, 1352=>600, 1353=>600, 1354=>600, + 1355=>600, 1356=>600, 1357=>600, 1358=>600, 1359=>600, 1360=>600, 1361=>600, 1362=>600, 1363=>600, 1364=>600, 1365=>600, 1366=>600, 1377=>600, 1378=>600, 1379=>600, 1380=>600, + 1381=>600, 1382=>600, 1383=>600, 1384=>600, 1385=>600, 1386=>600, 1387=>600, 1388=>600, 1389=>600, 1390=>600, 1391=>600, 1392=>600, 1393=>600, 1394=>600, 1395=>600, 1396=>600, + 1397=>600, 1398=>600, 1399=>600, 1400=>600, 1401=>600, 1402=>600, 1403=>600, 1404=>600, 1405=>600, 1406=>600, 1407=>600, 1408=>600, 1409=>600, 1410=>600, 1411=>600, 1412=>600, + 1413=>600, 1414=>600, 1418=>600, 1456=>600, 1457=>600, 1458=>600, 1459=>600, 1460=>600, 1461=>600, 1462=>600, 1463=>600, 1464=>600, 1465=>600, 1467=>600, 1468=>600, 1469=>600, + 1470=>600, 1471=>600, 1472=>600, 1473=>600, 1474=>600, 1475=>600, 1476=>600, 1488=>600, 1489=>600, 1490=>600, 1491=>600, 1492=>600, 1493=>600, 1494=>600, 1495=>600, 1496=>600, + 1497=>600, 1498=>600, 1499=>600, 1500=>600, 1501=>600, 1502=>600, 1503=>600, 1504=>600, 1505=>600, 1506=>600, 1507=>600, 1508=>600, 1509=>600, 1510=>600, 1511=>600, 1512=>600, + 1513=>600, 1514=>600, 1520=>600, 1521=>600, 1522=>600, 1523=>600, 1524=>600, 5792=>600, 5793=>600, 5794=>600, 5795=>600, 5796=>600, 5797=>600, 5798=>600, 5799=>600, 5800=>600, + 5801=>600, 5802=>600, 5803=>600, 5804=>600, 5805=>600, 5806=>600, 5807=>600, 5808=>600, 5809=>600, 5810=>600, 5811=>600, 5812=>600, 5813=>600, 5814=>600, 5815=>600, 5816=>600, + 5817=>600, 5818=>600, 5819=>600, 5820=>600, 5821=>600, 5822=>600, 5823=>600, 5824=>600, 5825=>600, 5826=>600, 5827=>600, 5828=>600, 5829=>600, 5830=>600, 5831=>600, 5832=>600, + 5833=>600, 5834=>600, 5835=>600, 5836=>600, 5837=>600, 5838=>600, 5839=>600, 5840=>600, 5841=>600, 5842=>600, 5843=>600, 5844=>600, 5845=>600, 5846=>600, 5847=>600, 5848=>600, + 5849=>600, 5850=>600, 5851=>600, 5852=>600, 5853=>600, 5854=>600, 5855=>600, 5856=>600, 5857=>600, 5858=>600, 5859=>600, 5860=>600, 5861=>600, 5862=>600, 5863=>600, 5864=>600, + 5865=>600, 5866=>600, 5867=>600, 5868=>600, 5869=>600, 5870=>600, 5871=>600, 5872=>600, 7680=>600, 7681=>600, 7682=>600, 7683=>600, 7684=>600, 7685=>600, 7686=>600, 7687=>600, + 7688=>600, 7689=>600, 7690=>600, 7691=>600, 7692=>600, 7693=>600, 7694=>600, 7695=>600, 7696=>600, 7697=>600, 7698=>600, 7699=>600, 7700=>600, 7701=>600, 7702=>600, 7703=>600, + 7704=>600, 7705=>600, 7706=>600, 7707=>600, 7708=>600, 7709=>600, 7710=>600, 7711=>600, 7712=>600, 7713=>600, 7714=>600, 7715=>600, 7716=>600, 7717=>600, 7718=>600, 7719=>600, + 7720=>600, 7721=>600, 7722=>600, 7723=>600, 7724=>600, 7725=>600, 7726=>600, 7727=>600, 7728=>600, 7729=>600, 7730=>600, 7731=>600, 7732=>600, 7733=>600, 7734=>600, 7735=>600, + 7736=>600, 7737=>600, 7738=>600, 7739=>600, 7740=>600, 7741=>600, 7742=>600, 7743=>600, 7744=>600, 7745=>600, 7746=>600, 7747=>600, 7748=>600, 7749=>600, 7750=>600, 7751=>600, + 7752=>600, 7753=>600, 7754=>600, 7755=>600, 7756=>600, 7757=>600, 7758=>600, 7759=>600, 7760=>600, 7761=>600, 7762=>600, 7763=>600, 7764=>600, 7765=>600, 7766=>600, 7767=>600, + 7768=>600, 7769=>600, 7770=>600, 7771=>600, 7772=>600, 7773=>600, 7774=>600, 7775=>600, 7776=>600, 7777=>600, 7778=>600, 7779=>600, 7780=>600, 7781=>600, 7782=>600, 7783=>600, + 7784=>600, 7785=>600, 7786=>600, 7787=>600, 7788=>600, 7789=>600, 7790=>600, 7791=>600, 7792=>600, 7793=>600, 7794=>600, 7795=>600, 7796=>600, 7797=>600, 7798=>600, 7799=>600, + 7800=>600, 7801=>600, 7802=>600, 7803=>600, 7804=>600, 7805=>600, 7806=>600, 7807=>600, 7808=>600, 7809=>600, 7810=>600, 7811=>600, 7812=>600, 7813=>600, 7814=>600, 7815=>600, + 7816=>600, 7817=>600, 7818=>600, 7819=>600, 7820=>600, 7821=>600, 7822=>600, 7823=>600, 7824=>600, 7825=>600, 7826=>600, 7827=>600, 7828=>600, 7829=>600, 7830=>600, 7831=>600, + 7832=>600, 7833=>600, 7834=>600, 7835=>600, 7840=>600, 7841=>600, 7842=>600, 7843=>600, 7844=>600, 7845=>600, 7846=>600, 7847=>600, 7848=>600, 7849=>600, 7850=>600, 7851=>600, + 7852=>600, 7853=>600, 7854=>600, 7855=>600, 7856=>600, 7857=>600, 7858=>600, 7859=>600, 7860=>600, 7861=>600, 7862=>600, 7863=>600, 7864=>600, 7865=>600, 7866=>600, 7867=>600, + 7868=>600, 7869=>600, 7870=>600, 7871=>600, 7872=>600, 7873=>600, 7874=>600, 7875=>600, 7876=>600, 7877=>600, 7878=>600, 7879=>600, 7880=>600, 7881=>600, 7882=>600, 7883=>600, + 7884=>600, 7885=>600, 7886=>600, 7887=>600, 7888=>600, 7889=>600, 7890=>600, 7891=>600, 7892=>600, 7893=>600, 7894=>600, 7895=>600, 7896=>600, 7897=>600, 7898=>600, 7899=>600, + 7900=>600, 7901=>600, 7902=>600, 7903=>600, 7904=>600, 7905=>600, 7906=>600, 7907=>600, 7908=>600, 7909=>600, 7910=>600, 7911=>600, 7912=>600, 7913=>600, 7914=>600, 7915=>600, + 7916=>600, 7917=>600, 7918=>600, 7919=>600, 7920=>600, 7921=>600, 7922=>600, 7923=>600, 7924=>600, 7925=>600, 7926=>600, 7927=>600, 7928=>600, 7929=>600, 7936=>600, 7937=>600, + 7938=>600, 7939=>600, 7940=>600, 7941=>600, 7942=>600, 7943=>600, 7944=>600, 7945=>600, 7946=>600, 7947=>600, 7948=>600, 7949=>600, 7950=>600, 7951=>600, 7952=>600, 7953=>600, + 7954=>600, 7955=>600, 7956=>600, 7957=>600, 7960=>600, 7961=>600, 7962=>600, 7963=>600, 7964=>600, 7965=>600, 7968=>600, 7969=>600, 7970=>600, 7971=>600, 7972=>600, 7973=>600, + 7974=>600, 7975=>600, 7976=>600, 7977=>600, 7978=>600, 7979=>600, 7980=>600, 7981=>600, 7982=>600, 7983=>600, 7984=>600, 7985=>600, 7986=>600, 7987=>600, 7988=>600, 7989=>600, + 7990=>600, 7991=>600, 7992=>600, 7993=>600, 7994=>600, 7995=>600, 7996=>600, 7997=>600, 7998=>600, 7999=>600, 8000=>600, 8001=>600, 8002=>600, 8003=>600, 8004=>600, 8005=>600, + 8008=>600, 8009=>600, 8010=>600, 8011=>600, 8012=>600, 8013=>600, 8016=>600, 8017=>600, 8018=>600, 8019=>600, 8020=>600, 8021=>600, 8022=>600, 8023=>600, 8025=>600, 8027=>600, + 8029=>600, 8031=>600, 8032=>600, 8033=>600, 8034=>600, 8035=>600, 8036=>600, 8037=>600, 8038=>600, 8039=>600, 8040=>600, 8041=>600, 8042=>600, 8043=>600, 8044=>600, 8045=>600, + 8046=>600, 8047=>600, 8048=>600, 8049=>600, 8050=>600, 8051=>600, 8052=>600, 8053=>600, 8054=>600, 8055=>600, 8056=>600, 8057=>600, 8058=>600, 8059=>600, 8060=>600, 8061=>600, + 8064=>600, 8065=>600, 8066=>600, 8067=>600, 8068=>600, 8069=>600, 8070=>600, 8071=>600, 8072=>600, 8073=>600, 8074=>600, 8075=>600, 8076=>600, 8077=>600, 8078=>600, 8079=>600, + 8080=>600, 8081=>600, 8082=>600, 8083=>600, 8084=>600, 8085=>600, 8086=>600, 8087=>600, 8088=>600, 8089=>600, 8090=>600, 8091=>600, 8092=>600, 8093=>600, 8094=>600, 8095=>600, + 8096=>600, 8097=>600, 8098=>600, 8099=>600, 8100=>600, 8101=>600, 8102=>600, 8103=>600, 8104=>600, 8105=>600, 8106=>600, 8107=>600, 8108=>600, 8109=>600, 8110=>600, 8111=>600, + 8112=>600, 8113=>600, 8114=>600, 8115=>600, 8116=>600, 8118=>600, 8119=>600, 8120=>600, 8121=>600, 8122=>600, 8123=>600, 8124=>600, 8125=>600, 8126=>600, 8127=>600, 8128=>600, + 8129=>600, 8130=>600, 8131=>600, 8132=>600, 8134=>600, 8135=>600, 8136=>600, 8137=>600, 8138=>600, 8139=>600, 8140=>600, 8141=>600, 8142=>600, 8143=>600, 8144=>600, 8145=>600, + 8146=>600, 8147=>600, 8150=>600, 8151=>600, 8152=>600, 8153=>600, 8154=>600, 8155=>600, 8157=>600, 8158=>600, 8159=>600, 8160=>600, 8161=>600, 8162=>600, 8163=>600, 8164=>600, + 8165=>600, 8166=>600, 8167=>600, 8168=>600, 8169=>600, 8170=>600, 8171=>600, 8172=>600, 8173=>600, 8175=>600, 8178=>600, 8179=>600, 8180=>600, 8182=>600, 8183=>600, 8184=>600, + 8185=>600, 8186=>600, 8187=>600, 8188=>600, 8189=>600, 8190=>600, 8208=>600, 8213=>600, 8215=>600, 8219=>600, 8223=>600, 8229=>600, 8241=>600, 8242=>600, 8243=>600, 8244=>600, + 8245=>600, 8246=>600, 8247=>600, 8252=>600, 8253=>600, 8254=>600, 8259=>600, 8260=>600, 8261=>600, 8262=>600, 8264=>600, 8265=>600, 8267=>600, 8304=>600, 8305=>600, 8306=>600, + 8307=>600, 8308=>600, 8309=>600, 8310=>600, 8311=>600, 8312=>600, 8313=>600, 8314=>600, 8315=>600, 8316=>600, 8317=>600, 8318=>600, 8319=>600, 8320=>600, 8321=>600, 8322=>600, + 8323=>600, 8324=>600, 8325=>600, 8326=>600, 8327=>600, 8328=>600, 8329=>600, 8330=>600, 8331=>600, 8332=>600, 8333=>600, 8334=>600, 8355=>600, 8356=>600, 8359=>600, 8362=>600, + 8448=>600, 8449=>600, 8450=>600, 8451=>600, 8453=>600, 8454=>600, 8455=>600, 8461=>600, 8464=>600, 8465=>600, 8466=>600, 8467=>600, 8468=>600, 8469=>600, 8470=>600, 8471=>600, + 8472=>600, 8473=>600, 8474=>600, 8477=>600, 8478=>600, 8484=>600, 8485=>600, 8486=>600, 8487=>600, 8490=>600, 8491=>600, 8498=>600, 8501=>600, 8531=>600, 8532=>600, 8533=>600, + 8534=>600, 8535=>600, 8536=>600, 8537=>600, 8538=>600, 8539=>600, 8540=>600, 8541=>600, 8542=>600, 8543=>600, 8544=>600, 8545=>600, 8546=>600, 8547=>600, 8548=>600, 8549=>600, + 8550=>600, 8551=>600, 8552=>600, 8553=>600, 8554=>600, 8555=>600, 8556=>600, 8557=>600, 8558=>600, 8559=>600, 8592=>600, 8593=>600, 8594=>600, 8595=>600, 8596=>600, 8597=>600, + 8598=>600, 8599=>600, 8600=>600, 8601=>600, 8602=>600, 8603=>600, 8604=>600, 8605=>600, 8606=>600, 8607=>600, 8608=>600, 8609=>600, 8610=>600, 8611=>600, 8612=>600, 8613=>600, + 8614=>600, 8615=>600, 8616=>600, 8617=>600, 8618=>600, 8619=>600, 8620=>600, 8621=>600, 8622=>600, 8623=>600, 8624=>600, 8625=>600, 8626=>600, 8627=>600, 8628=>600, 8629=>600, + 8630=>600, 8631=>600, 8632=>600, 8633=>600, 8634=>600, 8635=>600, 8636=>600, 8637=>600, 8638=>600, 8639=>600, 8640=>600, 8641=>600, 8642=>600, 8643=>600, 8644=>600, 8645=>600, + 8646=>600, 8647=>600, 8648=>600, 8649=>600, 8650=>600, 8651=>600, 8652=>600, 8653=>600, 8654=>600, 8655=>600, 8656=>600, 8657=>600, 8658=>600, 8659=>600, 8660=>600, 8661=>600, + 8704=>600, 8705=>600, 8706=>600, 8707=>600, 8708=>600, 8709=>600, 8710=>600, 8711=>600, 8712=>600, 8713=>600, 8714=>600, 8715=>600, 8716=>600, 8717=>600, 8719=>600, 8721=>600, + 8722=>600, 8723=>600, 8724=>600, 8725=>600, 8729=>600, 8730=>600, 8731=>600, 8732=>600, 8733=>600, 8734=>600, 8735=>600, 8743=>600, 8744=>600, 8745=>600, 8746=>600, 8747=>600, + 8748=>600, 8749=>600, 8750=>600, 8751=>600, 8752=>600, 8756=>600, 8757=>600, 8759=>600, 8764=>600, 8765=>600, 8769=>600, 8770=>600, 8771=>600, 8772=>600, 8773=>600, 8776=>600, + 8784=>600, 8785=>600, 8786=>600, 8787=>600, 8793=>600, 8794=>600, 8800=>600, 8801=>600, 8804=>600, 8805=>600, 8806=>600, 8807=>600, 8810=>600, 8811=>600, 8812=>600, 8814=>600, + 8815=>600, 8822=>600, 8823=>600, 8834=>600, 8835=>600, 8838=>600, 8839=>600, 8853=>600, 8854=>600, 8855=>600, 8856=>600, 8857=>600, 8858=>600, 8859=>600, 8860=>600, 8861=>600, + 8866=>600, 8867=>600, 8868=>600, 8869=>600, 8870=>600, 8871=>600, 8872=>600, 8873=>600, 8874=>600, 8875=>600, 8876=>600, 8877=>600, 8878=>600, 8879=>600, 8894=>600, 8901=>600, + 8902=>600, 8960=>600, 8962=>600, 8963=>600, 8968=>600, 8969=>600, 8970=>600, 8971=>600, 8972=>600, 8973=>600, 8974=>600, 8975=>600, 8976=>600, 8981=>600, 8988=>600, 8989=>600, + 8990=>600, 8991=>600, 9001=>600, 9002=>600, 9115=>600, 9116=>600, 9117=>600, 9118=>600, 9119=>600, 9120=>600, 9121=>600, 9122=>600, 9123=>600, 9124=>600, 9125=>600, 9126=>600, + 9127=>600, 9128=>600, 9129=>600, 9130=>600, 9131=>600, 9132=>600, 9133=>600, 9134=>600, 9135=>600, 9136=>600, 9137=>600, 9138=>600, 9139=>600, 9140=>600, 9143=>600, 9146=>600, + 9147=>600, 9148=>600, 9149=>600, 9472=>600, 9473=>600, 9474=>600, 9475=>600, 9476=>600, 9477=>600, 9478=>600, 9479=>600, 9480=>600, 9481=>600, 9482=>600, 9483=>600, 9484=>600, + 9485=>600, 9486=>600, 9487=>600, 9488=>600, 9489=>600, 9490=>600, 9491=>600, 9492=>600, 9493=>600, 9494=>600, 9495=>600, 9496=>600, 9497=>600, 9498=>600, 9499=>600, 9500=>600, + 9501=>600, 9502=>600, 9503=>600, 9504=>600, 9505=>600, 9506=>600, 9507=>600, 9508=>600, 9509=>600, 9510=>600, 9511=>600, 9512=>600, 9513=>600, 9514=>600, 9515=>600, 9516=>600, + 9517=>600, 9518=>600, 9519=>600, 9520=>600, 9521=>600, 9522=>600, 9523=>600, 9524=>600, 9525=>600, 9526=>600, 9527=>600, 9528=>600, 9529=>600, 9530=>600, 9531=>600, 9532=>600, + 9533=>600, 9534=>600, 9535=>600, 9536=>600, 9537=>600, 9538=>600, 9539=>600, 9540=>600, 9541=>600, 9542=>600, 9543=>600, 9544=>600, 9545=>600, 9546=>600, 9547=>600, 9548=>600, + 9549=>600, 9550=>600, 9551=>600, 9552=>600, 9553=>600, 9554=>600, 9555=>600, 9556=>600, 9557=>600, 9558=>600, 9559=>600, 9560=>600, 9561=>600, 9562=>600, 9563=>600, 9564=>600, + 9565=>600, 9566=>600, 9567=>600, 9568=>600, 9569=>600, 9570=>600, 9571=>600, 9572=>600, 9573=>600, 9574=>600, 9575=>600, 9576=>600, 9577=>600, 9578=>600, 9579=>600, 9580=>600, + 9581=>600, 9582=>600, 9583=>600, 9584=>600, 9585=>600, 9586=>600, 9587=>600, 9588=>600, 9589=>600, 9590=>600, 9591=>600, 9592=>600, 9593=>600, 9594=>600, 9595=>600, 9596=>600, + 9597=>600, 9598=>600, 9599=>600, 9600=>600, 9601=>600, 9602=>600, 9603=>600, 9604=>600, 9605=>600, 9606=>600, 9607=>600, 9608=>600, 9609=>600, 9610=>600, 9611=>600, 9612=>600, + 9613=>600, 9614=>600, 9615=>600, 9616=>600, 9617=>600, 9618=>600, 9619=>600, 9620=>600, 9621=>600, 9622=>600, 9623=>600, 9624=>600, 9625=>600, 9626=>600, 9627=>600, 9628=>600, + 9629=>600, 9630=>600, 9631=>600, 9632=>600, 9633=>600, 9634=>600, 9635=>600, 9636=>600, 9637=>600, 9638=>600, 9639=>600, 9640=>600, 9641=>600, 9642=>600, 9643=>600, 9644=>600, + 9645=>600, 9646=>600, 9647=>600, 9648=>600, 9649=>600, 9650=>600, 9651=>600, 9652=>600, 9653=>600, 9654=>600, 9655=>600, 9656=>600, 9657=>600, 9658=>600, 9659=>600, 9660=>600, + 9661=>600, 9662=>600, 9663=>600, 9664=>600, 9665=>600, 9666=>600, 9667=>600, 9668=>600, 9669=>600, 9670=>600, 9671=>600, 9672=>600, 9673=>600, 9674=>600, 9675=>600, 9676=>600, + 9677=>600, 9678=>600, 9679=>600, 9680=>600, 9681=>600, 9682=>600, 9683=>600, 9684=>600, 9685=>600, 9686=>600, 9687=>600, 9688=>600, 9689=>600, 9690=>600, 9691=>600, 9692=>600, + 9693=>600, 9694=>600, 9695=>600, 9696=>600, 9697=>600, 9698=>600, 9699=>600, 9700=>600, 9701=>600, 9702=>600, 9703=>600, 9704=>600, 9705=>600, 9706=>600, 9707=>600, 9708=>600, + 9709=>600, 9710=>600, 9711=>600, 9712=>600, 9713=>600, 9714=>600, 9715=>600, 9716=>600, 9717=>600, 9718=>600, 9719=>600, 9720=>600, 9721=>600, 9722=>600, 9723=>600, 9724=>600, + 9725=>600, 9726=>600, 9727=>600, 9728=>600, 9729=>600, 9730=>600, 9733=>600, 9734=>600, 9735=>600, 9736=>600, 9737=>600, 9744=>600, 9745=>600, 9746=>600, 9756=>600, 9758=>600, + 9766=>600, 9768=>600, 9769=>600, 9774=>600, 9776=>600, 9777=>600, 9778=>600, 9779=>600, 9780=>600, 9781=>600, 9782=>600, 9783=>600, 9785=>600, 9786=>600, 9787=>600, 9788=>600, + 9791=>600, 9792=>600, 9793=>600, 9794=>600, 9833=>600, 9834=>600, 9835=>600, 9836=>600, 9837=>600, 9838=>600, 9839=>600, 10214=>600, 10215=>600, 10216=>600, 10217=>600, 10218=>600, + 10219=>600, 10240=>600, 10241=>600, 10242=>600, 10243=>600, 10244=>600, 10245=>600, 10246=>600, 10247=>600, 10248=>600, 10249=>600, 10250=>600, 10251=>600, 10252=>600, 10253=>600, 10254=>600, + 10255=>600, 10256=>600, 10257=>600, 10258=>600, 10259=>600, 10260=>600, 10261=>600, 10262=>600, 10263=>600, 10264=>600, 10265=>600, 10266=>600, 10267=>600, 10268=>600, 10269=>600, 10270=>600, + 10271=>600, 10272=>600, 10273=>600, 10274=>600, 10275=>600, 10276=>600, 10277=>600, 10278=>600, 10279=>600, 10280=>600, 10281=>600, 10282=>600, 10283=>600, 10284=>600, 10285=>600, 10286=>600, + 10287=>600, 10288=>600, 10289=>600, 10290=>600, 10291=>600, 10292=>600, 10293=>600, 10294=>600, 10295=>600, 10296=>600, 10297=>600, 10298=>600, 10299=>600, 10300=>600, 10301=>600, 10302=>600, + 10303=>600, 10304=>600, 10305=>600, 10306=>600, 10307=>600, 10308=>600, 10309=>600, 10310=>600, 10311=>600, 10312=>600, 10313=>600, 10314=>600, 10315=>600, 10316=>600, 10317=>600, 10318=>600, + 10319=>600, 10320=>600, 10321=>600, 10322=>600, 10323=>600, 10324=>600, 10325=>600, 10326=>600, 10327=>600, 10328=>600, 10329=>600, 10330=>600, 10331=>600, 10332=>600, 10333=>600, 10334=>600, + 10335=>600, 10336=>600, 10337=>600, 10338=>600, 10339=>600, 10340=>600, 10341=>600, 10342=>600, 10343=>600, 10344=>600, 10345=>600, 10346=>600, 10347=>600, 10348=>600, 10349=>600, 10350=>600, + 10351=>600, 10352=>600, 10353=>600, 10354=>600, 10355=>600, 10356=>600, 10357=>600, 10358=>600, 10359=>600, 10360=>600, 10361=>600, 10362=>600, 10363=>600, 10364=>600, 10365=>600, 10366=>600, + 10367=>600, 10368=>600, 10369=>600, 10370=>600, 10371=>600, 10372=>600, 10373=>600, 10374=>600, 10375=>600, 10376=>600, 10377=>600, 10378=>600, 10379=>600, 10380=>600, 10381=>600, 10382=>600, + 10383=>600, 10384=>600, 10385=>600, 10386=>600, 10387=>600, 10388=>600, 10389=>600, 10390=>600, 10391=>600, 10392=>600, 10393=>600, 10394=>600, 10395=>600, 10396=>600, 10397=>600, 10398=>600, + 10399=>600, 10400=>600, 10401=>600, 10402=>600, 10403=>600, 10404=>600, 10405=>600, 10406=>600, 10407=>600, 10408=>600, 10409=>600, 10410=>600, 10411=>600, 10412=>600, 10413=>600, 10414=>600, + 10415=>600, 10416=>600, 10417=>600, 10418=>600, 10419=>600, 10420=>600, 10421=>600, 10422=>600, 10423=>600, 10424=>600, 10425=>600, 10426=>600, 10427=>600, 10428=>600, 10429=>600, 10430=>600, + 10431=>600, 10432=>600, 10433=>600, 10434=>600, 10435=>600, 10436=>600, 10437=>600, 10438=>600, 10439=>600, 10440=>600, 10441=>600, 10442=>600, 10443=>600, 10444=>600, 10445=>600, 10446=>600, + 10447=>600, 10448=>600, 10449=>600, 10450=>600, 10451=>600, 10452=>600, 10453=>600, 10454=>600, 10455=>600, 10456=>600, 10457=>600, 10458=>600, 10459=>600, 10460=>600, 10461=>600, 10462=>600, + 10463=>600, 10464=>600, 10465=>600, 10466=>600, 10467=>600, 10468=>600, 10469=>600, 10470=>600, 10471=>600, 10472=>600, 10473=>600, 10474=>600, 10475=>600, 10476=>600, 10477=>600, 10478=>600, + 10479=>600, 10480=>600, 10481=>600, 10482=>600, 10483=>600, 10484=>600, 10485=>600, 10486=>600, 10487=>600, 10488=>600, 10489=>600, 10490=>600, 10491=>600, 10492=>600, 10493=>600, 10494=>600, + 10495=>600, 63171=>600, 64256=>600, 64257=>600, 64258=>600, 64261=>600, 64262=>600, 64285=>600, 64286=>600, 64287=>600, 64288=>600, 64289=>600, 64290=>600, 64291=>600, 64292=>600, 64293=>600, + 64294=>600, 64295=>600, 64296=>600, 64297=>600, 64298=>600, 64299=>600, 64300=>600, 64301=>600, 64302=>600, 64303=>600, 64304=>600, 64305=>600, 64306=>600, 64307=>600, 64308=>600, 64309=>600, + 64310=>600, 64312=>600, 64313=>600, 64314=>600, 64315=>600, 64316=>600, 64318=>600, 64320=>600, 64321=>600, 64323=>600, 64324=>600, 64326=>600, 64327=>600, 64328=>600, 64329=>600, 64330=>600, + 64331=>600, 64332=>600, 64333=>600, 64334=>600, 64335=>600, 65533=>600, 8174=>600); +$enc=''; +$diff=''; +$file='FreeMono.z'; +$ctg='FreeMono.ctg.z'; +$originalsize=293572; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freemonob.php b/htdocs/includes/fpdf/tcpdf/fonts/freemonob.php new file mode 100644 index 00000000000..af2aae8a6f7 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freemonob.php @@ -0,0 +1,107 @@ +1155,'Descent'=>-365,'CapHeight'=>1155,'Flags'=>32,'FontBBox'=>'[-656 -365 950 1155]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>600); +$up=-100; +$ut=50; +$cw=array( + 13=>333, 32=>600, 33=>600, 34=>600, 35=>600, 36=>600, 37=>600, 38=>600, 39=>600, 40=>600, 41=>600, 42=>600, 43=>600, 44=>600, 45=>600, 46=>600, + 47=>600, 48=>600, 49=>600, 50=>600, 51=>600, 52=>600, 53=>600, 54=>600, 55=>600, 56=>600, 57=>600, 58=>600, 59=>600, 60=>600, 61=>600, 62=>600, + 63=>600, 64=>600, 65=>600, 66=>600, 67=>600, 68=>600, 69=>600, 70=>600, 71=>600, 72=>600, 73=>600, 74=>600, 75=>600, 76=>600, 77=>600, 78=>600, + 79=>600, 80=>600, 81=>600, 82=>600, 83=>600, 84=>600, 85=>600, 86=>600, 87=>600, 88=>600, 89=>600, 90=>600, 91=>600, 92=>600, 93=>600, 94=>600, + 95=>600, 96=>600, 97=>600, 98=>600, 99=>600, 100=>600, 101=>600, 102=>600, 103=>600, 104=>600, 105=>600, 106=>600, 107=>600, 108=>600, 109=>600, 110=>600, + 111=>600, 112=>600, 113=>600, 114=>600, 115=>600, 116=>600, 117=>600, 118=>600, 119=>600, 120=>600, 121=>600, 122=>600, 123=>600, 124=>600, 125=>600, 126=>600, + 8364=>600, 1027=>600, 8218=>600, 402=>600, 8222=>600, 8230=>600, 8224=>600, 8225=>600, 710=>600, 8240=>600, 352=>600, 8249=>600, 338=>600, 1036=>600, 381=>600, 1039=>600, + 8216=>600, 8217=>600, 8220=>600, 8221=>600, 8226=>600, 8211=>600, 8212=>600, 732=>600, 8482=>600, 353=>600, 8250=>600, 339=>600, 1116=>600, 382=>600, 376=>600, 160=>600, + 161=>600, 162=>600, 163=>600, 164=>600, 165=>600, 166=>600, 167=>600, 168=>600, 169=>600, 170=>600, 171=>600, 172=>600, 173=>600, 174=>600, 175=>600, 176=>600, + 177=>600, 178=>600, 179=>600, 180=>600, 181=>600, 182=>600, 183=>600, 184=>600, 185=>600, 186=>600, 187=>600, 188=>600, 189=>600, 190=>600, 191=>600, 192=>600, + 193=>600, 194=>600, 195=>600, 196=>600, 197=>600, 198=>600, 199=>600, 200=>600, 201=>600, 202=>600, 203=>600, 204=>600, 205=>600, 206=>600, 207=>600, 208=>600, + 209=>600, 210=>600, 211=>600, 212=>600, 213=>600, 214=>600, 215=>600, 216=>600, 217=>600, 218=>600, 219=>600, 220=>600, 221=>600, 222=>600, 223=>600, 224=>600, + 225=>600, 226=>600, 227=>600, 228=>600, 229=>600, 230=>600, 231=>600, 232=>600, 233=>600, 234=>600, 235=>600, 236=>600, 237=>600, 238=>600, 239=>600, 240=>600, + 241=>600, 242=>600, 243=>600, 244=>600, 245=>600, 246=>600, 247=>600, 248=>600, 249=>600, 250=>600, 251=>600, 252=>600, 253=>600, 254=>600, 255=>600, 256=>600, + 257=>600, 258=>600, 259=>600, 260=>600, 261=>600, 262=>600, 263=>600, 264=>600, 265=>600, 266=>600, 267=>600, 268=>600, 269=>600, 270=>600, 271=>600, 272=>600, + 273=>600, 274=>600, 275=>600, 276=>600, 277=>600, 278=>600, 279=>600, 280=>600, 281=>600, 282=>600, 283=>600, 284=>600, 285=>600, 286=>600, 287=>600, 288=>600, + 289=>600, 290=>600, 291=>600, 292=>600, 293=>600, 294=>600, 295=>600, 296=>600, 297=>600, 298=>600, 299=>600, 300=>600, 301=>600, 302=>600, 303=>600, 304=>600, + 305=>600, 306=>600, 307=>600, 308=>600, 309=>600, 310=>600, 311=>600, 312=>600, 313=>600, 314=>600, 315=>600, 316=>600, 317=>600, 318=>600, 319=>600, 320=>600, + 321=>600, 322=>600, 323=>600, 324=>600, 325=>600, 326=>600, 327=>600, 328=>600, 329=>600, 330=>600, 331=>600, 332=>600, 333=>600, 334=>600, 335=>600, 336=>600, + 337=>600, 340=>600, 341=>600, 342=>600, 343=>600, 344=>600, 345=>600, 346=>600, 347=>600, 348=>600, 349=>600, 350=>600, 351=>600, 354=>600, 355=>600, 356=>600, + 357=>600, 358=>600, 359=>600, 360=>600, 361=>600, 362=>600, 363=>600, 364=>600, 365=>600, 366=>600, 367=>600, 368=>600, 369=>600, 370=>600, 371=>600, 372=>600, + 373=>600, 374=>600, 375=>600, 377=>600, 378=>600, 379=>600, 380=>600, 383=>600, 384=>600, 385=>600, 386=>600, 387=>600, 390=>600, 391=>600, 392=>600, 393=>600, + 394=>600, 395=>600, 396=>600, 397=>600, 398=>600, 400=>600, 401=>600, 403=>600, 405=>600, 406=>600, 407=>600, 409=>600, 410=>600, 411=>600, 412=>600, 413=>600, + 414=>600, 415=>600, 416=>600, 417=>600, 418=>600, 419=>600, 420=>600, 421=>600, 422=>600, 423=>600, 424=>600, 425=>600, 427=>600, 428=>600, 429=>600, 430=>600, + 431=>600, 432=>600, 435=>600, 436=>600, 437=>600, 438=>600, 439=>600, 440=>600, 443=>600, 448=>600, 449=>600, 451=>600, 455=>600, 456=>600, 457=>600, 459=>600, + 460=>600, 461=>600, 462=>600, 463=>600, 464=>600, 465=>600, 466=>600, 467=>600, 468=>600, 469=>600, 470=>600, 471=>600, 472=>600, 473=>600, 474=>600, 475=>600, + 476=>600, 477=>600, 478=>600, 479=>600, 480=>600, 481=>600, 482=>600, 483=>600, 484=>600, 485=>600, 486=>600, 487=>600, 488=>600, 489=>600, 490=>600, 491=>600, + 492=>600, 493=>600, 494=>600, 496=>600, 500=>600, 501=>600, 502=>600, 504=>600, 505=>600, 506=>600, 507=>600, 508=>600, 509=>600, 510=>600, 511=>600, 512=>600, + 513=>600, 514=>600, 515=>600, 516=>600, 517=>600, 518=>600, 519=>600, 520=>600, 521=>600, 522=>600, 523=>600, 524=>600, 525=>600, 526=>600, 527=>600, 528=>600, + 529=>600, 530=>600, 531=>600, 532=>600, 533=>600, 534=>600, 535=>600, 536=>600, 537=>600, 538=>600, 539=>600, 542=>600, 543=>600, 548=>600, 549=>600, 550=>600, + 551=>600, 552=>600, 553=>600, 554=>600, 555=>600, 556=>600, 557=>600, 558=>600, 559=>600, 560=>600, 561=>600, 562=>600, 563=>600, 592=>600, 593=>600, 594=>600, + 595=>600, 596=>600, 598=>600, 599=>600, 600=>600, 601=>600, 603=>600, 604=>600, 607=>600, 608=>600, 609=>600, 613=>600, 614=>600, 615=>600, 616=>600, 617=>600, + 618=>600, 619=>600, 621=>600, 623=>600, 624=>600, 625=>600, 626=>600, 627=>600, 628=>600, 629=>600, 633=>600, 634=>600, 635=>600, 636=>600, 637=>600, 638=>600, + 639=>600, 640=>600, 641=>600, 642=>600, 643=>600, 644=>600, 645=>600, 647=>600, 648=>600, 649=>600, 652=>600, 653=>600, 654=>600, 656=>600, 660=>600, 661=>600, + 662=>600, 663=>600, 664=>600, 668=>600, 670=>600, 671=>600, 672=>600, 673=>600, 674=>600, 711=>600, 720=>600, 721=>600, 728=>600, 729=>600, 730=>600, 731=>600, + 733=>600, 768=>0, 769=>0, 770=>0, 771=>0, 772=>0, 773=>0, 774=>0, 775=>0, 776=>0, 777=>0, 778=>0, 779=>0, 780=>0, 781=>0, 782=>0, + 783=>0, 784=>0, 785=>0, 795=>0, 801=>0, 802=>0, 807=>0, 808=>0, 823=>0, 884=>600, 885=>600, 890=>600, 894=>600, 900=>600, 901=>600, 902=>600, + 903=>600, 904=>600, 905=>600, 906=>600, 908=>600, 910=>600, 911=>600, 912=>600, 913=>600, 914=>600, 915=>600, 916=>600, 917=>600, 918=>600, 919=>600, 920=>600, + 921=>600, 922=>600, 923=>600, 924=>600, 925=>600, 926=>600, 927=>600, 928=>600, 929=>600, 931=>600, 932=>600, 933=>600, 934=>600, 935=>600, 936=>600, 937=>600, + 938=>600, 939=>600, 940=>600, 941=>600, 942=>600, 943=>600, 944=>600, 945=>600, 946=>600, 947=>600, 948=>600, 949=>600, 950=>600, 951=>600, 952=>600, 953=>600, + 954=>600, 955=>600, 956=>600, 957=>600, 958=>600, 959=>600, 960=>600, 961=>600, 962=>600, 963=>600, 964=>600, 965=>600, 966=>600, 967=>600, 968=>600, 969=>600, + 970=>600, 971=>600, 972=>600, 973=>600, 974=>600, 976=>600, 977=>600, 981=>600, 1009=>600, 1024=>600, 1025=>600, 1026=>600, 1028=>600, 1029=>600, 1030=>600, 1031=>600, + 1032=>600, 1033=>600, 1034=>600, 1035=>600, 1037=>600, 1038=>600, 1040=>600, 1041=>600, 1042=>600, 1043=>600, 1044=>600, 1045=>600, 1046=>600, 1047=>600, 1048=>600, 1049=>600, + 1050=>600, 1051=>600, 1052=>600, 1053=>600, 1054=>600, 1055=>600, 1056=>600, 1057=>600, 1058=>600, 1059=>600, 1060=>600, 1061=>600, 1062=>600, 1063=>600, 1064=>600, 1065=>600, + 1066=>600, 1067=>600, 1068=>600, 1069=>600, 1070=>600, 1071=>600, 1072=>600, 1073=>600, 1074=>600, 1075=>600, 1076=>600, 1077=>600, 1078=>600, 1079=>600, 1080=>600, 1081=>600, + 1082=>600, 1083=>600, 1084=>600, 1085=>600, 1086=>600, 1087=>600, 1088=>600, 1089=>600, 1090=>600, 1091=>600, 1092=>600, 1093=>600, 1094=>600, 1095=>600, 1096=>600, 1097=>600, + 1098=>600, 1099=>600, 1100=>600, 1101=>600, 1102=>600, 1103=>600, 1104=>600, 1105=>600, 1106=>600, 1107=>600, 1108=>600, 1109=>600, 1110=>600, 1111=>600, 1112=>600, 1113=>600, + 1114=>600, 1115=>600, 1117=>600, 1118=>600, 1119=>600, 1164=>600, 1165=>600, 1166=>600, 1167=>600, 1168=>600, 1169=>600, 1170=>600, 1171=>600, 1172=>600, 1173=>600, 1174=>600, + 1175=>600, 1176=>600, 1177=>600, 1178=>600, 1179=>600, 1180=>600, 1181=>600, 1182=>600, 1183=>600, 1184=>600, 1185=>600, 1186=>600, 1187=>600, 1188=>600, 1189=>600, 1190=>600, + 1191=>600, 1192=>600, 1193=>600, 1194=>600, 1195=>600, 1196=>600, 1197=>600, 1198=>600, 1199=>600, 1200=>600, 1201=>600, 1202=>600, 1203=>600, 1204=>600, 1205=>600, 1206=>600, + 1207=>600, 1208=>600, 1209=>600, 1210=>600, 1211=>600, 1212=>600, 1213=>600, 1214=>600, 1215=>600, 1216=>600, 1217=>600, 1218=>600, 1219=>600, 1220=>600, 1221=>600, 1222=>600, + 1223=>600, 1224=>600, 1225=>600, 1226=>600, 1227=>600, 1228=>600, 1229=>600, 1230=>600, 1231=>600, 1232=>600, 1233=>600, 1234=>600, 1235=>600, 1236=>600, 1237=>600, 1238=>600, + 1239=>600, 1240=>600, 1241=>600, 1242=>600, 1243=>600, 1244=>600, 1245=>600, 1246=>600, 1247=>600, 1248=>600, 1249=>600, 1250=>600, 1251=>600, 1252=>600, 1253=>600, 1254=>600, + 1255=>600, 1256=>600, 1257=>600, 1258=>600, 1259=>600, 1260=>600, 1261=>600, 1262=>600, 1263=>600, 1264=>600, 1265=>600, 1266=>600, 1267=>600, 1268=>600, 1269=>600, 1270=>600, + 1271=>600, 1272=>600, 1273=>600, 1456=>600, 1457=>600, 1458=>600, 1459=>600, 1460=>600, 1461=>600, 1462=>600, 1463=>600, 1464=>600, 1465=>600, 1467=>600, 1468=>600, 1469=>600, + 1470=>600, 1471=>600, 1472=>600, 1473=>600, 1474=>600, 1475=>600, 1476=>600, 1488=>600, 1489=>600, 1490=>600, 1491=>600, 1492=>600, 1493=>600, 1494=>600, 1495=>600, 1496=>600, + 1497=>600, 1498=>600, 1499=>600, 1500=>600, 1501=>600, 1502=>600, 1503=>600, 1504=>600, 1505=>600, 1506=>600, 1507=>600, 1508=>600, 1509=>600, 1510=>600, 1511=>600, 1512=>600, + 1513=>600, 1514=>600, 1520=>600, 1521=>600, 1522=>600, 1523=>600, 1524=>600, 7680=>600, 7681=>600, 7682=>600, 7683=>600, 7684=>600, 7685=>600, 7686=>600, 7687=>600, 7688=>600, + 7689=>600, 7690=>600, 7691=>600, 7692=>600, 7693=>600, 7694=>600, 7695=>600, 7696=>600, 7697=>600, 7698=>600, 7699=>600, 7700=>600, 7701=>600, 7702=>600, 7703=>600, 7704=>600, + 7705=>600, 7706=>600, 7707=>600, 7708=>600, 7709=>600, 7710=>600, 7711=>600, 7712=>600, 7713=>600, 7714=>600, 7715=>600, 7716=>600, 7717=>600, 7718=>600, 7719=>600, 7720=>600, + 7721=>600, 7722=>600, 7723=>600, 7724=>600, 7725=>600, 7726=>600, 7727=>600, 7728=>600, 7729=>600, 7730=>600, 7731=>600, 7732=>600, 7733=>600, 7734=>600, 7735=>600, 7736=>600, + 7737=>600, 7738=>600, 7739=>600, 7740=>600, 7741=>600, 7742=>600, 7743=>600, 7744=>600, 7745=>600, 7746=>600, 7747=>600, 7748=>600, 7749=>600, 7750=>600, 7751=>600, 7752=>600, + 7753=>600, 7754=>600, 7755=>600, 7756=>600, 7757=>600, 7758=>600, 7759=>600, 7760=>600, 7761=>600, 7762=>600, 7763=>600, 7764=>600, 7765=>600, 7766=>600, 7767=>600, 7768=>600, + 7769=>600, 7770=>600, 7771=>600, 7772=>600, 7773=>600, 7774=>600, 7775=>600, 7776=>600, 7777=>600, 7778=>600, 7779=>600, 7780=>600, 7781=>600, 7782=>600, 7783=>600, 7784=>600, + 7785=>600, 7786=>600, 7787=>600, 7788=>600, 7789=>600, 7790=>600, 7791=>600, 7792=>600, 7793=>600, 7794=>600, 7795=>600, 7796=>600, 7797=>600, 7798=>600, 7799=>600, 7800=>600, + 7801=>600, 7802=>600, 7803=>600, 7804=>600, 7805=>600, 7806=>600, 7807=>600, 7808=>600, 7809=>600, 7810=>600, 7811=>600, 7812=>600, 7813=>600, 7814=>600, 7815=>600, 7816=>600, + 7817=>600, 7818=>600, 7819=>600, 7820=>600, 7821=>600, 7822=>600, 7823=>600, 7824=>600, 7825=>600, 7826=>600, 7827=>600, 7828=>600, 7829=>600, 7830=>600, 7831=>600, 7832=>600, + 7833=>600, 7835=>600, 7840=>600, 7841=>600, 7842=>600, 7843=>600, 7844=>600, 7845=>600, 7846=>600, 7847=>600, 7848=>600, 7849=>600, 7850=>600, 7851=>600, 7852=>600, 7853=>600, + 7854=>600, 7855=>600, 7856=>600, 7857=>600, 7858=>600, 7859=>600, 7860=>600, 7861=>600, 7862=>600, 7863=>600, 7864=>600, 7865=>600, 7866=>600, 7867=>600, 7868=>600, 7869=>600, + 7870=>600, 7871=>600, 7872=>600, 7873=>600, 7874=>600, 7875=>600, 7876=>600, 7877=>600, 7878=>600, 7879=>600, 7880=>600, 7881=>600, 7882=>600, 7883=>600, 7884=>600, 7885=>600, + 7886=>600, 7887=>600, 7888=>600, 7889=>600, 7890=>600, 7891=>600, 7892=>600, 7893=>600, 7894=>600, 7895=>600, 7896=>600, 7897=>600, 7898=>600, 7899=>600, 7900=>600, 7901=>600, + 7902=>600, 7903=>600, 7904=>600, 7905=>600, 7906=>600, 7907=>600, 7908=>600, 7909=>600, 7910=>600, 7911=>600, 7912=>600, 7913=>600, 7914=>600, 7915=>600, 7916=>600, 7917=>600, + 7918=>600, 7919=>600, 7920=>600, 7921=>600, 7922=>600, 7923=>600, 7924=>600, 7925=>600, 7926=>600, 7927=>600, 7928=>600, 7929=>600, 8209=>600, 8213=>600, 8219=>600, 8223=>600, + 8242=>600, 8243=>600, 8244=>600, 8245=>600, 8246=>600, 8247=>600, 8252=>600, 8260=>600, 8261=>600, 8262=>600, 8264=>600, 8265=>600, 8267=>600, 8292=>600, 8304=>600, 8305=>600, + 8306=>600, 8307=>600, 8308=>600, 8309=>600, 8310=>600, 8311=>600, 8312=>600, 8313=>600, 8314=>600, 8315=>600, 8316=>600, 8317=>600, 8318=>600, 8319=>600, 8320=>600, 8321=>600, + 8322=>600, 8323=>600, 8324=>600, 8325=>600, 8326=>600, 8327=>600, 8328=>600, 8329=>600, 8355=>600, 8356=>600, 8362=>600, 8466=>600, 8470=>600, 8486=>600, 8487=>600, 8490=>600, + 8491=>600, 8531=>600, 8532=>600, 8533=>600, 8534=>600, 8535=>600, 8536=>600, 8537=>600, 8538=>600, 8539=>600, 8540=>600, 8541=>600, 8542=>600, 8543=>600, 8592=>600, 8593=>600, + 8594=>600, 8595=>600, 8706=>600, 8709=>600, 8710=>600, 8711=>600, 8721=>600, 8722=>600, 8725=>600, 8730=>600, 8733=>600, 8734=>600, 8735=>600, 8800=>600, 8801=>600, 8804=>600, + 8805=>600, 8976=>600, 9472=>600, 9473=>600, 9474=>600, 9475=>600, 9476=>600, 9477=>600, 9478=>600, 9479=>600, 9480=>600, 9481=>600, 9482=>600, 9483=>600, 9484=>600, 9485=>600, + 9486=>600, 9487=>600, 9488=>600, 9489=>600, 9490=>600, 9491=>600, 9492=>600, 9493=>600, 9494=>600, 9495=>600, 9496=>600, 9497=>600, 9498=>600, 9499=>600, 9500=>600, 9501=>600, + 9502=>600, 9503=>600, 9504=>600, 9505=>600, 9506=>600, 9507=>600, 9508=>600, 9509=>600, 9510=>600, 9511=>600, 9512=>600, 9513=>600, 9514=>600, 9515=>600, 9516=>600, 9517=>600, + 9518=>600, 9519=>600, 9520=>600, 9521=>600, 9522=>600, 9523=>600, 9524=>600, 9525=>600, 9526=>600, 9527=>600, 9528=>600, 9529=>600, 9530=>600, 9531=>600, 9532=>600, 9533=>600, + 9534=>600, 9535=>600, 9536=>600, 9537=>600, 9538=>600, 9539=>600, 9540=>600, 9541=>600, 9542=>600, 9543=>600, 9544=>600, 9545=>600, 9546=>600, 9547=>600, 9548=>600, 9549=>600, + 9550=>600, 9551=>600, 9552=>600, 9553=>600, 9554=>600, 9555=>600, 9556=>600, 9557=>600, 9558=>600, 9559=>600, 9560=>600, 9561=>600, 9562=>600, 9563=>600, 9564=>600, 9565=>600, + 9566=>600, 9567=>600, 9568=>600, 9569=>600, 9570=>600, 9571=>600, 9572=>600, 9573=>600, 9574=>600, 9575=>600, 9576=>600, 9577=>600, 9578=>600, 9579=>600, 9580=>600, 9581=>600, + 9582=>600, 9583=>600, 9584=>600, 9585=>600, 9586=>600, 9587=>600, 9588=>600, 9589=>600, 9590=>600, 9591=>600, 9592=>600, 9593=>600, 9594=>600, 9595=>600, 9596=>600, 9597=>600, + 9598=>600, 9599=>600, 9600=>600, 9601=>600, 9602=>600, 9603=>600, 9604=>600, 9605=>600, 9606=>600, 9607=>600, 9608=>600, 9609=>600, 9610=>600, 9611=>600, 9612=>600, 9613=>600, + 9614=>600, 9615=>600, 9616=>600, 9617=>600, 9618=>600, 9619=>600, 9620=>600, 9621=>600, 9632=>600, 9633=>600, 9635=>600, 9636=>600, 9637=>600, 9638=>600, 9639=>600, 9640=>600, + 9641=>600, 9642=>600, 9643=>600, 9644=>600, 9645=>600, 9646=>600, 9647=>600, 9648=>600, 9649=>600, 9650=>600, 9651=>600, 9652=>600, 9653=>600, 9654=>600, 9655=>600, 9656=>600, + 9657=>600, 9658=>600, 9660=>600, 9661=>600, 9662=>600, 9663=>600, 9664=>600, 9665=>600, 9666=>600, 9667=>600, 9668=>600, 9669=>600, 9670=>600, 9671=>600, 9673=>600, 9674=>600, + 9675=>600, 9677=>600, 9679=>600, 9680=>600, 9681=>600, 9682=>600, 9683=>600, 9684=>600, 9685=>600, 9686=>600, 9687=>600, 9688=>600, 9689=>600, 9698=>600, 9699=>600, 9700=>600, + 9701=>600, 9702=>600, 9703=>600, 9704=>600, 9705=>600, 9706=>600, 9707=>600, 9708=>600, 9709=>600, 9710=>600, 9712=>600, 9713=>600, 9714=>600, 9715=>600, 9716=>600, 9717=>600, + 9718=>600, 9719=>600, 9735=>600, 9736=>600, 9737=>600, 9776=>600, 9777=>600, 9778=>600, 9779=>600, 9780=>600, 9781=>600, 9782=>600, 9783=>600, 9785=>600, 9786=>600, 9787=>600, + 9833=>600, 9834=>600, 9835=>600, 9836=>600, 63166=>600, 63171=>600, 64256=>600, 64257=>600, 64258=>600); +$enc=''; +$diff=''; +$file='FreeMonoBold.z'; +$ctg='FreeMonoBold.ctg.z'; +$originalsize=175016; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freemonobi.php b/htdocs/includes/fpdf/tcpdf/fonts/freemonobi.php new file mode 100644 index 00000000000..63f888f254f --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freemonobi.php @@ -0,0 +1,62 @@ +1111,'Descent'=>-278,'CapHeight'=>1111,'Flags'=>96,'FontBBox'=>'[-513 -278 840 1111]','ItalicAngle'=>-12,'StemV'=>120,'MissingWidth'=>600); +$up=-100; +$ut=50; +$cw=array( + 13=>333, 32=>600, 33=>600, 34=>600, 35=>600, 36=>600, 37=>600, 38=>600, 39=>600, 40=>600, 41=>600, 42=>600, 43=>600, 44=>600, 45=>600, 46=>600, + 47=>600, 48=>600, 49=>600, 50=>600, 51=>600, 52=>600, 53=>600, 54=>600, 55=>600, 56=>600, 57=>600, 58=>600, 59=>600, 60=>600, 61=>600, 62=>600, + 63=>600, 64=>600, 65=>600, 66=>600, 67=>600, 68=>600, 69=>600, 70=>600, 71=>600, 72=>600, 73=>600, 74=>600, 75=>600, 76=>600, 77=>600, 78=>600, + 79=>600, 80=>600, 81=>600, 82=>600, 83=>600, 84=>600, 85=>600, 86=>600, 87=>600, 88=>600, 89=>600, 90=>600, 91=>600, 92=>600, 93=>600, 94=>600, + 95=>600, 96=>600, 97=>600, 98=>600, 99=>600, 100=>600, 101=>600, 102=>600, 103=>600, 104=>600, 105=>600, 106=>600, 107=>600, 108=>600, 109=>600, 110=>600, + 111=>600, 112=>600, 113=>600, 114=>600, 115=>600, 116=>600, 117=>600, 118=>600, 119=>600, 120=>600, 121=>600, 122=>600, 123=>600, 124=>600, 125=>600, 126=>600, + 8364=>600, 1027=>600, 8218=>600, 402=>600, 8222=>600, 8230=>600, 8224=>600, 8225=>600, 710=>600, 8240=>600, 352=>600, 8249=>600, 338=>600, 1036=>600, 381=>600, 1039=>600, + 8216=>600, 8217=>600, 8220=>600, 8221=>600, 8226=>600, 8211=>600, 8212=>600, 732=>600, 8482=>600, 353=>600, 8250=>600, 339=>600, 1116=>600, 382=>600, 376=>600, 160=>600, + 161=>600, 162=>600, 163=>600, 164=>600, 165=>600, 166=>600, 167=>600, 168=>600, 169=>600, 170=>600, 171=>600, 172=>600, 173=>600, 174=>600, 175=>600, 176=>600, + 177=>600, 178=>600, 179=>600, 180=>600, 181=>600, 182=>600, 183=>600, 184=>600, 185=>600, 186=>600, 187=>600, 188=>600, 189=>600, 190=>600, 191=>600, 192=>600, + 193=>600, 194=>600, 195=>600, 196=>600, 197=>600, 198=>600, 199=>600, 200=>600, 201=>600, 202=>600, 203=>600, 204=>600, 205=>600, 206=>600, 207=>600, 208=>600, + 209=>600, 210=>600, 211=>600, 212=>600, 213=>600, 214=>600, 215=>600, 216=>600, 217=>600, 218=>600, 219=>600, 220=>600, 221=>600, 222=>600, 223=>600, 224=>600, + 225=>600, 226=>600, 227=>600, 228=>600, 229=>600, 230=>600, 231=>600, 232=>600, 233=>600, 234=>600, 235=>600, 236=>600, 237=>600, 238=>600, 239=>600, 240=>600, + 241=>600, 242=>600, 243=>600, 244=>600, 245=>600, 246=>600, 247=>600, 248=>600, 249=>600, 250=>600, 251=>600, 252=>600, 253=>600, 254=>600, 255=>600, 256=>600, + 257=>600, 258=>600, 259=>600, 260=>600, 261=>600, 262=>600, 263=>600, 264=>600, 265=>600, 266=>600, 267=>600, 268=>600, 269=>600, 270=>600, 271=>600, 272=>600, + 273=>600, 274=>600, 275=>600, 276=>600, 277=>600, 278=>600, 279=>600, 280=>600, 281=>600, 282=>600, 283=>600, 284=>600, 285=>600, 286=>600, 287=>600, 288=>600, + 289=>600, 290=>600, 291=>600, 292=>600, 293=>600, 294=>600, 295=>600, 296=>600, 297=>600, 298=>600, 299=>600, 300=>600, 301=>600, 302=>600, 303=>600, 304=>600, + 305=>600, 306=>600, 307=>600, 308=>600, 309=>600, 310=>600, 311=>600, 312=>600, 313=>600, 314=>600, 315=>600, 316=>600, 317=>600, 318=>600, 319=>600, 320=>600, + 321=>600, 322=>600, 323=>600, 324=>600, 325=>600, 326=>600, 327=>600, 328=>600, 329=>600, 330=>600, 331=>600, 332=>600, 333=>600, 334=>600, 335=>600, 336=>600, + 337=>600, 340=>600, 341=>600, 342=>600, 343=>600, 344=>600, 345=>600, 346=>600, 347=>600, 348=>600, 349=>600, 350=>600, 351=>600, 354=>600, 355=>600, 356=>600, + 357=>600, 358=>600, 359=>600, 360=>600, 361=>600, 362=>600, 363=>600, 364=>600, 365=>600, 366=>600, 367=>600, 368=>600, 369=>600, 370=>600, 371=>600, 372=>600, + 373=>600, 374=>600, 375=>600, 377=>600, 378=>600, 379=>600, 380=>600, 383=>600, 425=>600, 461=>600, 462=>600, 463=>600, 464=>600, 465=>600, 466=>600, 467=>600, + 468=>600, 469=>600, 470=>600, 471=>600, 472=>600, 473=>600, 474=>600, 475=>600, 476=>600, 477=>600, 478=>600, 479=>600, 482=>600, 483=>600, 486=>600, 487=>600, + 488=>600, 489=>600, 490=>600, 491=>600, 492=>600, 493=>600, 496=>600, 500=>600, 501=>600, 504=>600, 505=>600, 506=>600, 507=>600, 508=>600, 509=>600, 510=>600, + 511=>600, 512=>600, 513=>600, 514=>600, 515=>600, 516=>600, 517=>600, 518=>600, 519=>600, 520=>600, 521=>600, 522=>600, 523=>600, 524=>600, 525=>600, 526=>600, + 527=>600, 528=>600, 529=>600, 530=>600, 531=>600, 532=>600, 533=>600, 534=>600, 535=>600, 536=>600, 537=>600, 538=>600, 539=>600, 593=>600, 617=>600, 711=>600, + 728=>600, 729=>0, 730=>600, 731=>600, 733=>600, 768=>0, 769=>0, 770=>0, 771=>0, 772=>0, 774=>0, 775=>0, 776=>0, 778=>0, 779=>0, 780=>0, + 783=>0, 784=>0, 785=>0, 900=>600, 901=>600, 902=>600, 904=>600, 912=>600, 913=>600, 914=>600, 915=>600, 916=>600, 917=>600, 918=>600, 919=>600, 920=>600, + 921=>600, 922=>600, 923=>600, 924=>600, 925=>600, 926=>600, 927=>600, 928=>600, 929=>600, 931=>600, 932=>600, 933=>600, 934=>600, 935=>600, 936=>600, 937=>600, + 938=>600, 939=>600, 945=>600, 946=>600, 947=>600, 950=>600, 951=>600, 952=>600, 953=>600, 954=>600, 955=>600, 956=>600, 957=>600, 959=>600, 970=>600, 1024=>600, + 1025=>600, 1026=>600, 1028=>600, 1029=>600, 1030=>600, 1031=>600, 1032=>600, 1033=>600, 1034=>600, 1035=>600, 1037=>600, 1038=>600, 1040=>600, 1041=>600, 1042=>600, 1043=>600, + 1044=>600, 1045=>600, 1046=>600, 1047=>600, 1048=>600, 1049=>600, 1050=>600, 1051=>600, 1052=>600, 1053=>600, 1054=>600, 1055=>600, 1056=>600, 1057=>600, 1058=>600, 1059=>600, + 1060=>600, 1061=>600, 1062=>600, 1063=>600, 1064=>600, 1065=>600, 1066=>600, 1067=>600, 1068=>600, 1069=>600, 1070=>600, 1071=>600, 1072=>600, 1073=>600, 1074=>600, 1075=>600, + 1076=>600, 1077=>600, 1078=>600, 1079=>600, 1080=>600, 1081=>600, 1082=>600, 1083=>600, 1084=>600, 1085=>600, 1086=>600, 1087=>600, 1088=>600, 1089=>600, 1090=>600, 1091=>600, + 1092=>600, 1093=>600, 1094=>600, 1095=>600, 1096=>600, 1097=>600, 1098=>600, 1099=>600, 1100=>600, 1101=>600, 1102=>600, 1103=>600, 1104=>600, 1105=>600, 1106=>600, 1107=>600, + 1108=>600, 1109=>600, 1110=>600, 1111=>600, 1112=>600, 1113=>600, 1114=>600, 1115=>600, 1117=>600, 1118=>600, 1119=>600, 1164=>600, 1165=>600, 1166=>600, 1167=>600, 1168=>600, + 1169=>600, 1170=>600, 1171=>600, 1172=>600, 1173=>600, 1174=>600, 1175=>600, 1176=>600, 1177=>600, 1178=>600, 1179=>600, 1180=>600, 1181=>600, 1182=>600, 1183=>600, 1184=>600, + 1185=>600, 1186=>600, 1187=>600, 1188=>600, 1189=>600, 1190=>600, 1191=>600, 1192=>600, 1193=>600, 1194=>600, 1195=>600, 1196=>600, 1197=>600, 1198=>600, 1199=>600, 1200=>600, + 1201=>600, 1202=>600, 1203=>600, 1204=>600, 1205=>600, 1206=>600, 1207=>600, 1208=>600, 1209=>600, 1210=>600, 1211=>600, 1212=>600, 1213=>600, 1214=>600, 1215=>600, 1216=>600, + 1217=>600, 1218=>600, 1219=>600, 1220=>600, 1223=>600, 1224=>600, 1227=>600, 1228=>600, 1232=>600, 1233=>600, 1234=>600, 1235=>600, 1236=>600, 1237=>600, 1238=>600, 1239=>600, + 1240=>600, 1241=>600, 1242=>600, 1243=>600, 1244=>600, 1245=>600, 1246=>600, 1247=>600, 1248=>600, 1249=>600, 1250=>600, 1251=>600, 1252=>600, 1253=>600, 1254=>600, 1255=>600, + 1256=>600, 1257=>600, 1258=>600, 1259=>600, 1260=>600, 1261=>600, 1262=>600, 1263=>600, 1264=>600, 1265=>600, 1266=>600, 1267=>600, 1268=>600, 1269=>600, 1272=>600, 1273=>600, + 1456=>600, 1457=>600, 1458=>600, 1459=>600, 1460=>600, 1461=>600, 1462=>600, 1463=>600, 1464=>600, 1465=>600, 1467=>600, 1468=>600, 1469=>600, 1470=>600, 1471=>600, 1472=>600, + 1473=>600, 1474=>600, 1475=>600, 1476=>600, 1488=>600, 1489=>600, 1490=>600, 1491=>600, 1492=>600, 1493=>600, 1494=>600, 1495=>600, 1496=>600, 1497=>600, 1498=>600, 1499=>600, + 1500=>600, 1501=>600, 1502=>600, 1503=>600, 1504=>600, 1505=>600, 1506=>600, 1507=>600, 1508=>600, 1509=>600, 1510=>600, 1511=>600, 1512=>600, 1513=>600, 1514=>600, 1520=>600, + 1521=>600, 1522=>600, 1523=>600, 1524=>600, 8213=>600, 8260=>600, 8304=>600, 8305=>600, 8306=>600, 8307=>600, 8308=>600, 8309=>600, 8310=>600, 8311=>600, 8312=>600, 8313=>600, + 8320=>600, 8321=>600, 8322=>600, 8323=>600, 8324=>600, 8325=>600, 8326=>600, 8327=>600, 8328=>600, 8329=>600, 8362=>600, 8470=>600, 8486=>600, 8531=>600, 8532=>600, 8533=>600, + 8534=>600, 8535=>600, 8536=>600, 8537=>600, 8538=>600, 8539=>600, 8540=>600, 8541=>600, 8542=>600, 8543=>600, 8592=>600, 8593=>600, 8594=>600, 8595=>600, 8706=>600, 8710=>600, + 8721=>600, 8722=>600, 8730=>600, 8734=>600, 8800=>600, 8804=>600, 8805=>600, 9674=>600, 9833=>600, 9834=>600, 9835=>600, 9836=>600, 63166=>600, 63171=>600, 64257=>600, 64258=>600); +$enc=''; +$diff=''; +$file='FreeMonoBoldOblique.z'; +$ctg='FreeMonoBoldOblique.ctg.z'; +$originalsize=128384; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freemonoi.php b/htdocs/includes/fpdf/tcpdf/fonts/freemonoi.php new file mode 100644 index 00000000000..3edf6f96c69 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freemonoi.php @@ -0,0 +1,89 @@ +1000,'Descent'=>-273,'CapHeight'=>1000,'Flags'=>96,'FontBBox'=>'[-577 -273 779 1000]','ItalicAngle'=>-12,'StemV'=>70,'MissingWidth'=>600); +$up=-100; +$ut=50; +$cw=array( + 13=>333, 32=>600, 33=>600, 34=>600, 35=>600, 36=>600, 37=>600, 38=>600, 39=>600, 40=>600, 41=>600, 42=>600, 43=>600, 44=>600, 45=>600, 46=>600, + 47=>600, 48=>600, 49=>600, 50=>600, 51=>600, 52=>600, 53=>600, 54=>600, 55=>600, 56=>600, 57=>600, 58=>600, 59=>600, 60=>600, 61=>600, 62=>600, + 63=>600, 64=>600, 65=>600, 66=>600, 67=>600, 68=>600, 69=>600, 70=>600, 71=>600, 72=>600, 73=>600, 74=>600, 75=>600, 76=>600, 77=>600, 78=>600, + 79=>600, 80=>600, 81=>600, 82=>600, 83=>600, 84=>600, 85=>600, 86=>600, 87=>600, 88=>600, 89=>600, 90=>600, 91=>600, 92=>600, 93=>600, 94=>600, + 95=>600, 96=>600, 97=>600, 98=>600, 99=>600, 100=>600, 101=>600, 102=>600, 103=>600, 104=>600, 105=>600, 106=>600, 107=>600, 108=>600, 109=>600, 110=>600, + 111=>600, 112=>600, 113=>600, 114=>600, 115=>600, 116=>600, 117=>600, 118=>600, 119=>600, 120=>600, 121=>600, 122=>600, 123=>600, 124=>600, 125=>600, 126=>600, + 8364=>600, 1027=>600, 8218=>600, 402=>600, 8222=>600, 8230=>600, 8224=>600, 8225=>600, 710=>600, 8240=>600, 352=>600, 8249=>600, 338=>600, 1036=>600, 381=>600, 1039=>600, + 8216=>600, 8217=>600, 8220=>600, 8221=>600, 8226=>600, 8211=>600, 8212=>600, 732=>600, 8482=>600, 353=>600, 8250=>600, 339=>600, 1116=>600, 382=>600, 376=>600, 160=>600, + 161=>600, 162=>600, 163=>600, 164=>600, 165=>600, 166=>600, 167=>600, 168=>600, 169=>600, 170=>600, 171=>600, 172=>600, 173=>600, 174=>600, 175=>600, 176=>600, + 177=>600, 178=>600, 179=>600, 180=>600, 181=>600, 182=>600, 183=>600, 184=>600, 185=>600, 186=>600, 187=>600, 188=>600, 189=>600, 190=>600, 191=>600, 192=>600, + 193=>600, 194=>600, 195=>600, 196=>600, 197=>600, 198=>600, 199=>600, 200=>600, 201=>600, 202=>600, 203=>600, 204=>600, 205=>600, 206=>600, 207=>600, 208=>600, + 209=>600, 210=>600, 211=>600, 212=>600, 213=>600, 214=>600, 215=>600, 216=>600, 217=>600, 218=>600, 219=>600, 220=>600, 221=>600, 222=>600, 223=>600, 224=>600, + 225=>600, 226=>600, 227=>600, 228=>600, 229=>600, 230=>600, 231=>600, 232=>600, 233=>600, 234=>600, 235=>600, 236=>600, 237=>600, 238=>600, 239=>600, 240=>600, + 241=>600, 242=>600, 243=>600, 244=>600, 245=>600, 246=>600, 247=>600, 248=>600, 249=>600, 250=>600, 251=>600, 252=>600, 253=>600, 254=>600, 255=>600, 256=>600, + 257=>600, 258=>600, 259=>600, 260=>600, 261=>600, 262=>600, 263=>600, 264=>600, 265=>600, 266=>600, 267=>600, 268=>600, 269=>600, 270=>600, 271=>600, 272=>600, + 273=>600, 274=>600, 275=>600, 276=>600, 277=>600, 278=>600, 279=>600, 280=>600, 281=>600, 282=>600, 283=>600, 284=>600, 285=>600, 286=>600, 287=>600, 288=>600, + 289=>600, 290=>600, 291=>600, 292=>600, 293=>600, 294=>600, 295=>600, 296=>600, 297=>600, 298=>600, 299=>600, 300=>600, 301=>600, 302=>600, 303=>600, 304=>600, + 305=>600, 306=>600, 307=>600, 308=>600, 309=>600, 310=>600, 311=>600, 312=>600, 313=>600, 314=>600, 315=>600, 316=>600, 317=>600, 318=>600, 319=>600, 320=>600, + 321=>600, 322=>600, 323=>600, 324=>600, 325=>600, 326=>600, 327=>600, 328=>600, 329=>600, 330=>600, 331=>600, 332=>600, 333=>600, 334=>600, 335=>600, 336=>600, + 337=>600, 340=>600, 341=>600, 342=>600, 343=>600, 344=>600, 345=>600, 346=>600, 347=>600, 348=>600, 349=>600, 350=>600, 351=>600, 354=>600, 355=>600, 356=>600, + 357=>600, 358=>600, 359=>600, 360=>600, 361=>600, 362=>600, 363=>600, 364=>600, 365=>600, 366=>600, 367=>600, 368=>600, 369=>600, 370=>600, 371=>600, 372=>600, + 373=>600, 374=>600, 375=>600, 377=>600, 378=>600, 379=>600, 380=>600, 383=>600, 384=>600, 385=>600, 386=>600, 387=>600, 388=>600, 389=>600, 390=>600, 391=>600, + 392=>600, 393=>600, 394=>600, 395=>600, 396=>600, 397=>600, 398=>600, 399=>600, 400=>600, 401=>600, 403=>600, 404=>600, 405=>600, 406=>600, 407=>600, 408=>600, + 409=>600, 410=>600, 411=>600, 412=>600, 413=>600, 414=>600, 415=>600, 416=>600, 417=>600, 418=>600, 419=>600, 420=>600, 421=>600, 422=>600, 423=>600, 424=>600, + 425=>600, 426=>600, 427=>600, 428=>600, 429=>600, 430=>600, 431=>600, 432=>600, 433=>600, 434=>600, 435=>600, 436=>600, 437=>600, 438=>600, 439=>600, 440=>600, + 441=>600, 442=>600, 443=>600, 444=>600, 445=>600, 446=>600, 448=>600, 449=>600, 450=>600, 451=>600, 452=>600, 453=>600, 454=>600, 455=>600, 456=>600, 457=>600, + 458=>600, 459=>600, 460=>600, 461=>600, 462=>600, 463=>600, 464=>600, 465=>600, 466=>600, 467=>600, 468=>600, 469=>600, 470=>600, 471=>600, 472=>600, 473=>600, + 474=>600, 475=>600, 476=>600, 477=>600, 478=>600, 479=>600, 480=>600, 481=>600, 482=>600, 483=>600, 484=>600, 485=>600, 486=>600, 487=>600, 488=>600, 489=>600, + 490=>600, 491=>600, 492=>600, 493=>600, 494=>600, 495=>600, 496=>600, 497=>600, 498=>600, 499=>600, 500=>600, 501=>600, 502=>600, 504=>600, 505=>600, 506=>600, + 507=>600, 508=>600, 509=>600, 510=>600, 511=>600, 512=>600, 513=>600, 514=>600, 515=>600, 516=>600, 517=>600, 518=>600, 519=>600, 520=>600, 521=>600, 522=>600, + 523=>600, 524=>600, 525=>600, 526=>600, 527=>600, 528=>600, 529=>600, 530=>600, 531=>600, 532=>600, 533=>600, 534=>600, 535=>600, 536=>600, 537=>600, 538=>600, + 539=>600, 542=>600, 543=>600, 548=>600, 549=>600, 550=>600, 551=>600, 552=>600, 553=>600, 554=>600, 555=>600, 556=>600, 557=>600, 558=>600, 559=>600, 560=>600, + 561=>600, 562=>600, 563=>600, 592=>600, 593=>600, 594=>600, 595=>600, 596=>600, 597=>600, 598=>600, 599=>600, 600=>600, 601=>600, 602=>600, 603=>600, 604=>600, + 605=>600, 606=>600, 607=>600, 608=>600, 609=>600, 610=>600, 611=>600, 612=>600, 613=>600, 614=>600, 615=>600, 616=>600, 617=>600, 618=>600, 619=>600, 620=>600, + 621=>600, 622=>600, 623=>600, 624=>600, 625=>600, 626=>600, 627=>600, 628=>600, 629=>600, 630=>600, 631=>600, 632=>600, 633=>600, 634=>600, 635=>600, 636=>600, + 637=>600, 638=>600, 639=>600, 640=>600, 641=>600, 642=>600, 643=>600, 644=>600, 645=>600, 646=>600, 647=>600, 648=>600, 649=>600, 650=>600, 651=>600, 652=>600, + 653=>600, 654=>600, 655=>600, 656=>600, 657=>600, 658=>600, 659=>600, 660=>600, 661=>600, 662=>600, 663=>600, 664=>600, 665=>600, 666=>600, 667=>600, 668=>600, + 669=>600, 670=>600, 671=>600, 672=>600, 673=>600, 674=>600, 711=>600, 712=>600, 713=>600, 714=>600, 715=>600, 728=>600, 729=>600, 730=>600, 731=>600, 733=>600, + 768=>0, 769=>0, 770=>0, 771=>0, 772=>0, 773=>0, 774=>0, 775=>0, 776=>0, 777=>0, 778=>0, 779=>0, 780=>0, 781=>0, 782=>0, 783=>0, + 807=>0, 808=>0, 821=>0, 822=>0, 823=>0, 824=>0, 901=>600, 902=>600, 904=>600, 905=>600, 906=>600, 908=>600, 910=>600, 911=>600, 912=>600, 913=>600, + 914=>600, 915=>600, 916=>600, 917=>600, 918=>600, 919=>600, 920=>600, 921=>600, 922=>600, 923=>600, 924=>600, 925=>600, 926=>600, 927=>600, 928=>600, 929=>600, + 931=>600, 932=>600, 933=>600, 934=>600, 935=>600, 936=>600, 937=>600, 938=>600, 939=>600, 940=>600, 941=>600, 942=>600, 943=>600, 944=>600, 945=>600, 946=>600, + 947=>600, 948=>600, 949=>600, 950=>600, 951=>600, 952=>600, 953=>600, 954=>600, 955=>600, 956=>600, 957=>600, 958=>600, 959=>600, 960=>600, 961=>600, 962=>600, + 963=>600, 964=>600, 965=>600, 966=>600, 967=>600, 968=>600, 969=>600, 970=>600, 971=>600, 972=>600, 973=>600, 974=>600, 1024=>600, 1025=>600, 1026=>600, 1028=>600, + 1029=>600, 1030=>600, 1031=>600, 1032=>600, 1033=>600, 1034=>600, 1035=>600, 1037=>600, 1038=>600, 1040=>600, 1041=>600, 1042=>600, 1043=>600, 1044=>600, 1045=>600, 1046=>600, + 1047=>600, 1048=>600, 1049=>600, 1050=>600, 1051=>600, 1052=>600, 1053=>600, 1054=>600, 1055=>600, 1056=>600, 1057=>600, 1058=>600, 1059=>600, 1060=>600, 1061=>600, 1062=>600, + 1063=>600, 1064=>600, 1065=>600, 1066=>600, 1067=>600, 1068=>600, 1069=>600, 1070=>600, 1071=>600, 1072=>600, 1073=>600, 1074=>600, 1075=>600, 1076=>600, 1077=>600, 1078=>600, + 1079=>600, 1080=>600, 1081=>600, 1082=>600, 1083=>600, 1084=>600, 1085=>600, 1086=>600, 1087=>600, 1088=>600, 1089=>600, 1090=>600, 1091=>600, 1092=>600, 1093=>600, 1094=>600, + 1095=>600, 1096=>600, 1097=>600, 1098=>600, 1099=>600, 1100=>600, 1101=>600, 1102=>600, 1103=>600, 1104=>600, 1105=>600, 1106=>600, 1107=>600, 1108=>600, 1109=>600, 1110=>600, + 1111=>600, 1112=>600, 1113=>600, 1114=>600, 1115=>600, 1117=>600, 1118=>600, 1119=>600, 1164=>600, 1165=>600, 1166=>600, 1167=>600, 1168=>600, 1169=>600, 1170=>600, 1171=>600, + 1172=>600, 1173=>600, 1174=>600, 1175=>600, 1176=>600, 1177=>600, 1178=>600, 1179=>600, 1180=>600, 1181=>600, 1182=>600, 1183=>600, 1184=>600, 1185=>600, 1186=>600, 1187=>600, + 1188=>600, 1189=>600, 1190=>600, 1191=>600, 1192=>600, 1193=>600, 1194=>600, 1195=>600, 1196=>600, 1197=>600, 1198=>600, 1199=>600, 1200=>600, 1201=>600, 1202=>600, 1203=>600, + 1204=>600, 1205=>600, 1206=>600, 1207=>600, 1208=>600, 1209=>600, 1210=>600, 1211=>600, 1212=>600, 1213=>600, 1214=>600, 1215=>600, 1216=>600, 1217=>600, 1218=>600, 1219=>600, + 1220=>600, 1223=>600, 1224=>600, 1227=>600, 1228=>600, 1232=>600, 1233=>600, 1234=>600, 1235=>600, 1236=>600, 1237=>600, 1238=>600, 1239=>600, 1240=>600, 1241=>600, 1242=>600, + 1243=>600, 1244=>600, 1245=>600, 1246=>600, 1247=>600, 1248=>600, 1249=>600, 1250=>600, 1251=>600, 1252=>600, 1253=>600, 1254=>600, 1255=>600, 1256=>600, 1257=>600, 1258=>600, + 1259=>600, 1260=>600, 1261=>600, 1262=>600, 1263=>600, 1264=>600, 1265=>600, 1266=>600, 1267=>600, 1268=>600, 1269=>600, 1272=>600, 1273=>600, 1328=>600, 1329=>600, 1330=>600, + 1331=>600, 1332=>600, 1333=>600, 1334=>600, 1335=>600, 1336=>600, 1337=>600, 1338=>600, 1339=>600, 1340=>600, 1341=>600, 1342=>600, 1343=>600, 1344=>600, 1345=>600, 1346=>600, + 1347=>600, 1348=>600, 1349=>600, 1350=>600, 1351=>600, 1352=>600, 1353=>600, 1354=>600, 1355=>600, 1356=>600, 1357=>600, 1358=>600, 1359=>600, 1360=>600, 1361=>600, 1362=>600, + 1363=>600, 1364=>600, 1365=>600, 1366=>600, 1367=>600, 1368=>600, 1369=>600, 1370=>600, 1371=>600, 1372=>600, 1373=>600, 1374=>600, 1375=>600, 1376=>600, 1377=>600, 1378=>600, + 1379=>600, 1380=>600, 1381=>600, 1382=>600, 1383=>600, 1384=>600, 1385=>600, 1386=>600, 1387=>600, 1388=>600, 1389=>600, 1390=>600, 1391=>600, 1392=>600, 1393=>600, 1394=>600, + 1395=>600, 1396=>600, 1397=>600, 1398=>600, 1399=>600, 1400=>600, 1401=>600, 1402=>600, 1403=>600, 1404=>600, 1405=>600, 1406=>600, 1407=>600, 1408=>600, 1409=>600, 1410=>600, + 1411=>600, 1412=>600, 1413=>600, 1414=>600, 1415=>600, 1416=>600, 1417=>600, 1418=>600, 1456=>600, 1457=>600, 1458=>600, 1459=>600, 1460=>600, 1461=>600, 1462=>600, 1463=>600, + 1464=>600, 1465=>600, 1467=>600, 1468=>600, 1469=>600, 1470=>600, 1471=>600, 1472=>600, 1473=>600, 1474=>600, 1475=>600, 1476=>600, 1488=>600, 1489=>600, 1490=>600, 1491=>600, + 1492=>600, 1493=>600, 1494=>600, 1495=>600, 1496=>600, 1497=>600, 1498=>600, 1499=>600, 1500=>600, 1501=>600, 1502=>600, 1503=>600, 1504=>600, 1505=>600, 1506=>600, 1507=>600, + 1508=>600, 1509=>600, 1510=>600, 1511=>600, 1512=>600, 1513=>600, 1514=>600, 1520=>600, 1521=>600, 1522=>600, 1523=>600, 1524=>600, 8213=>600, 8241=>600, 8242=>600, 8243=>600, + 8244=>600, 8245=>600, 8246=>600, 8247=>600, 8252=>600, 8253=>600, 8260=>600, 8261=>600, 8262=>600, 8263=>600, 8264=>600, 8265=>600, 8304=>600, 8305=>600, 8306=>600, 8307=>600, + 8308=>600, 8309=>600, 8310=>600, 8311=>600, 8312=>600, 8313=>600, 8314=>600, 8315=>600, 8316=>600, 8317=>600, 8318=>600, 8319=>600, 8320=>600, 8321=>600, 8322=>600, 8323=>600, + 8324=>600, 8325=>600, 8326=>600, 8327=>600, 8328=>600, 8329=>600, 8356=>600, 8362=>600, 8448=>600, 8449=>600, 8450=>600, 8451=>600, 8452=>600, 8453=>600, 8454=>600, 8455=>600, + 8456=>600, 8457=>600, 8458=>600, 8459=>600, 8460=>600, 8461=>600, 8462=>600, 8463=>600, 8464=>600, 8465=>600, 8466=>600, 8467=>600, 8468=>600, 8469=>600, 8470=>600, 8471=>600, + 8472=>600, 8473=>600, 8474=>600, 8475=>600, 8476=>600, 8477=>600, 8478=>600, 8479=>600, 8484=>600, 8486=>600, 8487=>600, 8490=>600, 8491=>600, 8531=>600, 8532=>600, 8533=>600, + 8534=>600, 8535=>600, 8536=>600, 8537=>600, 8538=>600, 8539=>600, 8540=>600, 8541=>600, 8542=>600, 8543=>600, 8592=>600, 8593=>600, 8594=>600, 8595=>600, 8596=>600, 8597=>600, + 8598=>600, 8599=>600, 8600=>600, 8601=>600, 8616=>600, 8706=>600, 8710=>600, 8721=>600, 8722=>600, 8730=>600, 8734=>600, 8800=>600, 8804=>600, 8805=>600, 9674=>600, 9833=>600, + 9834=>600, 9835=>600, 9836=>600, 9837=>600, 9838=>600, 9839=>600, 63171=>600, 64257=>600, 64258=>600, 64285=>600, 64286=>600, 64287=>600, 64288=>600, 64289=>600, 64290=>600, 64291=>600, + 64292=>600, 64293=>600, 64294=>600, 64295=>600, 64296=>600, 64297=>600, 64298=>600, 64299=>600, 64300=>600, 64301=>600, 64302=>600, 64303=>600, 64304=>600, 64305=>600, 64306=>600, 64307=>600, + 64308=>600, 64309=>600, 64310=>600, 64312=>600, 64313=>600, 64314=>600, 64315=>600, 64316=>600, 64318=>600, 64320=>600, 64321=>600, 64323=>600, 64324=>600, 64326=>600, 64327=>600, 64328=>600, + 64329=>600, 64330=>600, 64331=>600, 64332=>600, 64333=>600, 64334=>600, 64335=>600); +$enc=''; +$diff=''; +$file='FreeMonoOblique.z'; +$ctg='FreeMonoOblique.ctg.z'; +$originalsize=175484; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freesans.php b/htdocs/includes/fpdf/tcpdf/fonts/freesans.php new file mode 100644 index 00000000000..5e25282c1e3 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freesans.php @@ -0,0 +1,149 @@ +1141,'Descent'=>-459,'CapHeight'=>1141,'Flags'=>32,'FontBBox'=>'[-797 -459 1632 1141]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>600); +$up=-151; +$ut=50; +$cw=array( + 13=>333, 32=>278, 33=>278, 34=>355, 35=>556, 36=>556, 37=>889, 38=>667, 39=>191, 40=>333, 41=>333, 42=>389, 43=>584, 44=>278, 45=>333, 46=>278, + 47=>278, 48=>556, 49=>556, 50=>556, 51=>556, 52=>556, 53=>556, 54=>556, 55=>556, 56=>556, 57=>556, 58=>278, 59=>278, 60=>584, 61=>584, 62=>584, + 63=>556, 64=>1015, 65=>667, 66=>667, 67=>722, 68=>722, 69=>667, 70=>611, 71=>778, 72=>722, 73=>278, 74=>500, 75=>667, 76=>556, 77=>833, 78=>722, + 79=>778, 80=>667, 81=>778, 82=>722, 83=>667, 84=>611, 85=>722, 86=>667, 87=>944, 88=>667, 89=>667, 90=>611, 91=>278, 92=>278, 93=>278, 94=>469, + 95=>556, 96=>333, 97=>556, 98=>556, 99=>500, 100=>556, 101=>556, 102=>278, 103=>556, 104=>556, 105=>222, 106=>222, 107=>500, 108=>222, 109=>833, 110=>556, + 111=>556, 112=>556, 113=>556, 114=>333, 115=>500, 116=>278, 117=>556, 118=>500, 119=>722, 120=>500, 121=>500, 122=>500, 123=>334, 124=>260, 125=>334, 126=>584, + 8364=>556, 1027=>611, 8218=>222, 402=>556, 8222=>333, 8230=>1000, 8224=>556, 8225=>556, 710=>333, 8240=>1000, 352=>667, 8249=>333, 338=>1000, 1036=>667, 381=>611, 1039=>722, + 8216=>222, 8217=>221, 8220=>333, 8221=>333, 8226=>350, 8211=>556, 8212=>1000, 732=>333, 8482=>1000, 353=>500, 8250=>333, 339=>944, 1116=>500, 382=>500, 376=>667, 160=>278, + 161=>333, 162=>556, 163=>556, 164=>556, 165=>556, 166=>260, 167=>556, 168=>333, 169=>737, 170=>370, 171=>556, 172=>584, 173=>333, 174=>737, 175=>333, 176=>606, + 177=>584, 178=>351, 179=>351, 180=>333, 181=>556, 182=>537, 183=>278, 184=>333, 185=>351, 186=>365, 187=>556, 188=>869, 189=>869, 190=>869, 191=>611, 192=>667, + 193=>667, 194=>667, 195=>667, 196=>667, 197=>667, 198=>1000, 199=>722, 200=>667, 201=>667, 202=>667, 203=>667, 204=>278, 205=>278, 206=>278, 207=>278, 208=>722, + 209=>722, 210=>778, 211=>778, 212=>778, 213=>778, 214=>778, 215=>584, 216=>778, 217=>722, 218=>722, 219=>722, 220=>722, 221=>666, 222=>666, 223=>611, 224=>556, + 225=>556, 226=>556, 227=>556, 228=>556, 229=>556, 230=>889, 231=>500, 232=>556, 233=>556, 234=>556, 235=>556, 236=>278, 237=>278, 238=>278, 239=>278, 240=>556, + 241=>556, 242=>556, 243=>556, 244=>556, 245=>556, 246=>556, 247=>584, 248=>611, 249=>556, 250=>556, 251=>556, 252=>556, 253=>500, 254=>555, 255=>500, 256=>667, + 257=>556, 258=>667, 259=>556, 260=>667, 261=>556, 262=>722, 263=>500, 264=>722, 265=>500, 266=>722, 267=>500, 268=>722, 269=>500, 270=>722, 271=>635, 272=>722, + 273=>556, 274=>667, 275=>556, 276=>667, 277=>556, 278=>667, 279=>556, 280=>667, 281=>556, 282=>667, 283=>556, 284=>778, 285=>556, 286=>778, 287=>556, 288=>778, + 289=>556, 290=>778, 291=>556, 292=>722, 293=>556, 294=>722, 295=>556, 296=>278, 297=>278, 298=>278, 299=>222, 300=>278, 301=>278, 302=>278, 303=>222, 304=>278, + 305=>278, 306=>700, 307=>374, 308=>500, 309=>222, 310=>667, 311=>500, 312=>500, 313=>556, 314=>222, 315=>556, 316=>222, 317=>556, 318=>292, 319=>556, 320=>500, + 321=>556, 322=>222, 323=>722, 324=>556, 325=>722, 326=>556, 327=>722, 328=>556, 329=>556, 330=>722, 331=>556, 332=>778, 333=>556, 334=>778, 335=>556, 336=>778, + 337=>556, 340=>722, 341=>333, 342=>722, 343=>333, 344=>722, 345=>333, 346=>667, 347=>500, 348=>667, 349=>500, 350=>667, 351=>500, 354=>611, 355=>278, 356=>611, + 357=>308, 358=>611, 359=>278, 360=>722, 361=>556, 362=>722, 363=>556, 364=>722, 365=>556, 366=>722, 367=>556, 368=>722, 369=>556, 370=>722, 371=>556, 372=>944, + 373=>722, 374=>667, 375=>500, 377=>611, 378=>500, 379=>611, 380=>500, 383=>278, 384=>556, 386=>667, 387=>556, 388=>667, 389=>556, 390=>722, 391=>722, 392=>500, + 393=>722, 395=>667, 396=>556, 398=>667, 399=>778, 400=>667, 401=>611, 403=>778, 409=>500, 413=>722, 414=>556, 415=>778, 421=>556, 423=>667, 424=>500, 425=>611, + 427=>278, 429=>278, 430=>611, 452=>1311, 453=>1208, 454=>1056, 455=>1056, 456=>778, 457=>444, 458=>1158, 459=>944, 460=>778, 461=>667, 462=>556, 463=>278, 464=>278, + 465=>778, 466=>556, 467=>722, 468=>556, 469=>722, 470=>556, 471=>722, 472=>556, 473=>722, 474=>556, 475=>722, 476=>556, 477=>556, 478=>667, 479=>556, 480=>667, + 481=>556, 482=>1000, 483=>889, 486=>778, 487=>556, 488=>667, 489=>500, 490=>778, 491=>556, 492=>778, 493=>556, 496=>222, 497=>1333, 498=>1222, 499=>1056, 500=>778, + 501=>556, 504=>722, 505=>556, 506=>667, 507=>556, 508=>1000, 509=>889, 510=>778, 511=>611, 512=>667, 513=>556, 514=>667, 515=>556, 516=>667, 517=>556, 518=>667, + 519=>556, 520=>278, 521=>278, 522=>278, 523=>278, 524=>778, 525=>556, 526=>778, 527=>556, 528=>722, 529=>333, 530=>722, 531=>333, 532=>722, 533=>556, 534=>722, + 535=>556, 536=>667, 537=>500, 538=>611, 539=>278, 542=>722, 543=>556, 550=>667, 551=>556, 552=>667, 553=>556, 554=>778, 555=>556, 556=>778, 557=>556, 558=>778, + 559=>556, 560=>778, 561=>556, 562=>667, 563=>500, 592=>556, 593=>556, 594=>556, 595=>556, 596=>500, 598=>556, 599=>556, 600=>556, 601=>556, 603=>500, 604=>500, + 608=>556, 609=>556, 613=>556, 614=>556, 615=>556, 616=>222, 617=>222, 618=>278, 621=>222, 623=>833, 624=>833, 625=>833, 626=>556, 627=>556, 629=>556, 633=>333, + 634=>333, 635=>333, 636=>333, 637=>333, 638=>278, 639=>278, 642=>500, 643=>278, 644=>278, 645=>278, 647=>278, 648=>278, 649=>556, 652=>500, 653=>722, 654=>500, + 656=>500, 668=>500, 670=>500, 672=>556, 711=>333, 714=>333, 715=>333, 728=>333, 729=>333, 730=>333, 731=>333, 733=>333, 768=>0, 769=>0, 770=>0, 771=>0, + 772=>0, 774=>0, 775=>0, 776=>0, 778=>0, 779=>0, 780=>0, 783=>0, 785=>0, 786=>0, 787=>0, 788=>0, 806=>0, 807=>0, 808=>0, 884=>199, + 885=>199, 890=>332, 894=>278, 900=>414, 901=>747, 902=>730, 903=>278, 904=>664, 905=>681, 906=>230, 908=>792, 910=>710, 911=>758, 912=>286, 913=>684, 914=>628, + 915=>582, 916=>684, 917=>650, 918=>628, 919=>683, 920=>750, 921=>236, 922=>684, 923=>684, 924=>800, 925=>654, 926=>630, 927=>750, 928=>721, 929=>638, 931=>628, + 932=>628, 933=>684, 934=>717, 935=>723, 936=>745, 937=>720, 938=>236, 939=>684, 940=>608, 941=>528, 942=>547, 943=>307, 944=>515, 945=>596, 946=>516, 947=>531, + 948=>560, 949=>510, 950=>462, 951=>526, 952=>526, 953=>286, 954=>516, 955=>560, 956=>574, 957=>504, 958=>470, 959=>550, 960=>661, 961=>566, 962=>535, 963=>616, + 964=>532, 965=>515, 966=>741, 967=>572, 968=>662, 969=>740, 970=>286, 971=>515, 972=>553, 973=>518, 974=>740, 1024=>667, 1025=>667, 1026=>766, 1028=>722, 1029=>667, + 1030=>278, 1031=>278, 1032=>500, 1033=>1080, 1034=>1014, 1035=>766, 1037=>722, 1038=>650, 1040=>667, 1041=>667, 1042=>667, 1043=>611, 1044=>812, 1045=>667, 1046=>1023, 1047=>667, + 1048=>728, 1049=>728, 1050=>667, 1051=>673, 1052=>844, 1053=>719, 1054=>778, 1055=>719, 1056=>667, 1057=>722, 1058=>611, 1059=>650, 1060=>936, 1061=>667, 1062=>741, 1063=>648, + 1064=>828, 1065=>850, 1066=>897, 1067=>872, 1068=>667, 1069=>722, 1070=>1032, 1071=>702, 1072=>556, 1073=>556, 1074=>522, 1075=>430, 1076=>602, 1077=>556, 1078=>837, 1079=>500, + 1080=>567, 1081=>567, 1082=>510, 1083=>557, 1084=>618, 1085=>558, 1086=>556, 1087=>557, 1088=>576, 1089=>500, 1090=>496, 1091=>500, 1092=>912, 1093=>500, 1094=>578, 1095=>520, + 1096=>692, 1097=>712, 1098=>734, 1099=>690, 1100=>552, 1101=>500, 1102=>758, 1103=>543, 1104=>556, 1105=>556, 1106=>568, 1107=>430, 1108=>500, 1109=>500, 1110=>222, 1111=>278, + 1112=>222, 1113=>840, 1114=>850, 1115=>568, 1117=>556, 1118=>500, 1119=>556, 1164=>667, 1165=>552, 1166=>667, 1167=>556, 1168=>611, 1169=>430, 1170=>611, 1171=>430, 1172=>611, + 1173=>430, 1174=>1023, 1175=>837, 1176=>667, 1177=>500, 1178=>667, 1179=>500, 1180=>667, 1181=>500, 1182=>667, 1183=>500, 1184=>667, 1185=>500, 1186=>722, 1187=>556, 1188=>1060, + 1189=>764, 1190=>722, 1191=>556, 1192=>722, 1193=>500, 1194=>722, 1195=>500, 1196=>611, 1197=>496, 1198=>667, 1199=>500, 1200=>667, 1201=>500, 1202=>667, 1203=>500, 1204=>774, + 1205=>608, 1206=>642, 1207=>508, 1208=>642, 1209=>508, 1210=>642, 1211=>508, 1212=>778, 1213=>556, 1214=>688, 1215=>556, 1216=>278, 1217=>1023, 1218=>837, 1219=>667, 1220=>500, + 1223=>722, 1224=>556, 1227=>642, 1228=>508, 1232=>667, 1233=>556, 1234=>667, 1235=>556, 1236=>1000, 1237=>889, 1238=>667, 1239=>556, 1240=>778, 1241=>556, 1242=>778, 1243=>556, + 1244=>1023, 1245=>837, 1246=>667, 1247=>500, 1248=>667, 1249=>500, 1250=>728, 1251=>567, 1252=>728, 1253=>567, 1254=>778, 1255=>556, 1256=>778, 1257=>556, 1258=>778, 1259=>556, + 1260=>722, 1261=>500, 1262=>650, 1263=>500, 1264=>650, 1265=>500, 1266=>650, 1267=>500, 1268=>648, 1269=>520, 1272=>872, 1273=>690, 1329=>722, 1330=>705, 1331=>774, 1332=>754, + 1333=>722, 1334=>751, 1335=>485, 1336=>722, 1337=>782, 1338=>655, 1339=>699, 1340=>417, 1341=>853, 1342=>791, 1343=>711, 1344=>588, 1345=>663, 1346=>665, 1347=>665, 1348=>756, + 1349=>623, 1350=>773, 1351=>603, 1352=>722, 1353=>648, 1354=>722, 1355=>751, 1356=>750, 1357=>722, 1358=>748, 1359=>667, 1360=>699, 1361=>623, 1362=>417, 1363=>785, 1364=>638, + 1365=>778, 1366=>716, 1370=>222, 1371=>133, 1372=>325, 1373=>333, 1374=>344, 1377=>833, 1378=>556, 1379=>572, 1380=>581, 1381=>550, 1382=>588, 1383=>448, 1384=>556, 1385=>568, + 1386=>582, 1387=>545, 1388=>301, 1389=>799, 1390=>556, 1391=>554, 1392=>533, 1393=>548, 1394=>552, 1395=>552, 1396=>544, 1397=>222, 1398=>544, 1399=>456, 1400=>556, 1401=>390, + 1402=>833, 1403=>509, 1404=>547, 1405=>533, 1406=>610, 1407=>887, 1408=>556, 1409=>545, 1410=>352, 1411=>853, 1412=>588, 1413=>579, 1414=>690, 1415=>545, 1417=>278, 1418=>367, + 1456=>70, 1457=>335, 1458=>329, 1459=>329, 1460=>70, 1461=>200, 1462=>200, 1463=>188, 1464=>188, 1465=>70, 1467=>329, 1468=>70, 1469=>70, 1470=>488, 1471=>200, 1472=>212, + 1473=>0, 1474=>0, 1475=>278, 1476=>70, 1488=>640, 1489=>591, 1490=>466, 1491=>598, 1492=>622, 1493=>212, 1494=>351, 1495=>623, 1496=>608, 1497=>200, 1498=>526, 1499=>550, + 1500=>600, 1501=>623, 1502=>621, 1503=>212, 1504=>378, 1505=>607, 1506=>587, 1507=>575, 1508=>568, 1509=>540, 1510=>590, 1511=>606, 1512=>547, 1513=>776, 1514=>687, 1792=>600, + 1793=>201, 1794=>201, 1795=>201, 1796=>201, 1797=>500, 1798=>500, 1799=>500, 1800=>370, 1801=>370, 1802=>574, 1803=>574, 1804=>645, 1805=>574, 1808=>452, 1809=>452, 1810=>574, + 1811=>645, 1812=>645, 1813=>509, 1814=>509, 1815=>682, 1816=>585, 1817=>404, 1818=>627, 1819=>718, 1820=>718, 1821=>484, 1822=>682, 1823=>600, 1824=>660, 1825=>682, 1826=>538, + 1827=>718, 1828=>718, 1829=>718, 1830=>574, 1831=>574, 1832=>638, 1833=>585, 1834=>509, 1835=>682, 1836=>682, 1840=>1, 1841=>1, 1842=>1, 1843=>1, 1844=>1, 1845=>1, + 1846=>1, 1847=>1, 1848=>1, 1849=>1, 1850=>1, 1851=>1, 1852=>1, 1853=>1, 1854=>1, 1855=>1, 1856=>1, 1857=>1, 1858=>1, 1859=>1, 1860=>1, 1861=>1, + 1862=>1, 1863=>1, 1864=>1, 1865=>1, 1866=>1, 2305=>6, 2306=>6, 2309=>644, 2310=>816, 2311=>392, 2312=>392, 2313=>459, 2314=>661, 2315=>641, 2317=>423, 2320=>423, + 2321=>816, 2323=>816, 2324=>816, 2325=>393, 2326=>622, 2327=>424, 2328=>472, 2329=>508, 2330=>517, 2331=>583, 2332=>549, 2333=>503, 2334=>538, 2335=>444, 2336=>480, 2337=>519, + 2338=>479, 2339=>504, 2340=>439, 2341=>542, 2342=>427, 2343=>520, 2344=>415, 2345=>415, 2346=>401, 2347=>401, 2348=>442, 2349=>520, 2350=>463, 2351=>451, 2352=>319, 2353=>319, + 2354=>549, 2355=>641, 2357=>442, 2358=>589, 2359=>398, 2360=>506, 2361=>430, 2364=>6, 2365=>438, 2366=>172, 2367=>172, 2368=>172, 2369=>6, 2370=>6, 2371=>6, 2373=>6, + 2375=>6, 2376=>6, 2377=>172, 2379=>172, 2380=>172, 2381=>6, 2384=>898, 2385=>6, 2406=>584, 2407=>584, 2408=>584, 2409=>584, 2410=>584, 2411=>584, 2412=>584, 2413=>584, + 2414=>584, 2415=>584, 2416=>898, 2433=>300, 2434=>400, 2435=>300, 2437=>640, 2438=>780, 2439=>520, 2440=>520, 2441=>530, 2442=>550, 2443=>620, 2444=>420, 2447=>480, 2448=>620, + 2451=>620, 2452=>720, 2453=>652, 2454=>500, 2455=>490, 2456=>466, 2457=>540, 2458=>490, 2459=>540, 2460=>630, 2461=>590, 2462=>680, 2463=>510, 2464=>490, 2465=>520, 2466=>520, + 2467=>470, 2468=>540, 2469=>490, 2470=>470, 2471=>490, 2472=>452, 2474=>560, 2475=>650, 2476=>480, 2477=>588, 2478=>480, 2479=>470, 2480=>480, 2482=>472, 2486=>512, 2487=>470, + 2488=>470, 2489=>520, 2492=>160, 2494=>180, 2495=>180, 2496=>180, 2497=>320, 2498=>329, 2499=>195, 2500=>260, 2503=>340, 2504=>340, 2507=>740, 2508=>740, 2509=>400, 2519=>180, + 2524=>540, 2525=>520, 2527=>470, 2528=>612, 2529=>420, 2530=>234, 2531=>360, 2534=>460, 2535=>420, 2536=>520, 2537=>540, 2538=>400, 2539=>400, 2540=>560, 2541=>390, 2542=>480, + 2543=>420, 2544=>480, 2545=>470, 2546=>400, 2547=>470, 2548=>400, 2549=>400, 2550=>400, 2551=>120, 2552=>440, 2553=>420, 2554=>420, 2565=>744, 2566=>914, 2567=>690, 2568=>670, + 2569=>596, 2570=>596, 2575=>498, 2576=>744, 2579=>596, 2580=>744, 2581=>550, 2582=>534, 2583=>618, 2584=>690, 2585=>546, 2586=>518, 2587=>592, 2588=>492, 2589=>574, 2590=>514, + 2591=>526, 2592=>556, 2593=>524, 2594=>528, 2595=>574, 2596=>484, 2597=>534, 2598=>504, 2599=>534, 2600=>538, 2602=>534, 2603=>506, 2604=>562, 2605=>516, 2606=>546, 2607=>670, + 2608=>538, 2610=>726, 2611=>726, 2613=>514, 2614=>546, 2616=>546, 2617=>517, 2620=>286, 2622=>172, 2623=>190, 2624=>190, 2625=>1, 2626=>1, 2631=>1, 2632=>1, 2635=>1, + 2636=>1, 2637=>1, 2649=>534, 2650=>618, 2651=>492, 2652=>484, 2654=>506, 2662=>616, 2663=>480, 2664=>560, 2665=>480, 2666=>468, 2667=>492, 2668=>514, 2669=>538, 2670=>572, + 2671=>560, 2672=>1, 2674=>498, 2675=>596, 2676=>900, 2689=>33, 2690=>33, 2693=>767, 2694=>961, 2695=>500, 2696=>495, 2697=>528, 2698=>702, 2699=>885, 2709=>501, 2710=>612, + 2711=>619, 2712=>569, 2713=>532, 2714=>358, 2715=>620, 2716=>606, 2717=>602, 2718=>631, 2719=>495, 2720=>528, 2721=>531, 2722=>511, 2723=>614, 2724=>294, 2725=>344, 2726=>425, + 2727=>345, 2728=>611, 2730=>512, 2731=>578, 2732=>428, 2733=>423, 2734=>231, 2735=>582, 2736=>344, 2738=>558, 2739=>670, 2741=>537, 2742=>592, 2743=>568, 2744=>600, 2745=>544, + 2749=>531, 2750=>232, 2751=>232, 2752=>232, 2753=>33, 2754=>33, 2755=>33, 2759=>33, 2760=>33, 2763=>232, 2764=>232, 2768=>903, 2790=>479, 2791=>416, 2792=>465, 2793=>469, + 2794=>498, 2795=>463, 2796=>451, 2797=>510, 2798=>455, 2799=>488, 2818=>131, 2819=>302, 2821=>560, 2822=>644, 2823=>632, 2825=>630, 2827=>553, 2831=>604, 2835=>520, 2837=>572, + 2838=>570, 2839=>580, 2840=>565, 2842=>580, 2844=>564, 2845=>575, 2847=>565, 2848=>565, 2849=>524, 2858=>572, 2859=>700, 2863=>655, 2864=>620, 2866=>652, 2867=>560, 2870=>565, + 2871=>565, 2872=>545, 2873=>524, 2878=>128, 2879=>1, 2880=>190, 2881=>1, 2882=>1, 2883=>1, 2887=>396, 2912=>563, 2918=>508, 2919=>424, 2920=>440, 2921=>600, 2922=>600, + 2923=>600, 2924=>600, 2925=>600, 2926=>511, 2927=>483, 2946=>479, 2947=>893, 2949=>1018, 2950=>1170, 2951=>916, 2952=>676, 2953=>836, 2954=>1225, 2958=>744, 2959=>744, 2960=>848, + 2962=>813, 2963=>813, 2964=>813, 2965=>688, 2969=>744, 2970=>676, 2972=>848, 2974=>984, 2975=>777, 2979=>1338, 2980=>664, 2984=>561, 2985=>1029, 2986=>607, 2990=>697, 2991=>697, + 2992=>434, 2993=>617, 2994=>869, 2995=>859, 2996=>697, 2997=>869, 2999=>1145, 3000=>1064, 3001=>1316, 3006=>424, 3007=>125, 3008=>596, 3009=>539, 3014=>596, 3015=>650, 3016=>973, + 3018=>1286, 3019=>1286, 3020=>1706, 3021=>333, 3031=>859, 3034=>778, 3035=>881, 3036=>876, 3037=>648, 3041=>744, 3203=>342, 3205=>620, 3206=>591, 3207=>600, 3208=>776, 3209=>1138, + 3210=>1464, 3214=>574, 3215=>570, 3216=>580, 3218=>589, 3219=>597, 3220=>625, 3221=>256, 3222=>565, 3223=>326, 3224=>604, 3225=>651, 3226=>408, 3228=>611, 3230=>843, 3231=>610, + 3232=>258, 3233=>317, 3234=>328, 3235=>803, 3236=>317, 3237=>328, 3238=>352, 3239=>352, 3240=>317, 3248=>248, 3249=>621, 3250=>620, 3251=>620, 3302=>649, 3303=>550, 3304=>573, + 3305=>567, 3306=>562, 3307=>557, 3308=>562, 3309=>567, 3310=>557, 3311=>557, 3458=>468, 3459=>318, 3461=>660, 3465=>778, 3466=>807, 3467=>830, 3473=>838, 3476=>860, 3481=>1000, + 3482=>973, 3483=>860, 3484=>997, 3486=>740, 3488=>838, 3489=>886, 3490=>886, 3492=>1295, 3493=>1295, 3495=>838, 3496=>860, 3497=>860, 3498=>860, 3499=>1403, 3501=>973, 3502=>838, + 3503=>660, 3504=>860, 3505=>973, 3507=>660, 3508=>886, 3509=>838, 3510=>860, 3511=>973, 3512=>838, 3513=>860, 3514=>886, 3515=>807, 3517=>830, 3520=>838, 3521=>973, 3522=>886, + 3523=>886, 3524=>973, 3525=>830, 3526=>973, 3530=>0, 3535=>432, 3536=>380, 3537=>420, 3538=>0, 3539=>0, 3540=>0, 3542=>0, 3544=>501, 3545=>652, 3551=>648, 7936=>596, + 7937=>596, 7938=>596, 7939=>596, 7940=>596, 7941=>596, 7942=>596, 7943=>596, 7944=>684, 7945=>684, 7946=>684, 7947=>684, 7948=>684, 7949=>684, 7950=>684, 7951=>684, 7952=>510, + 7953=>510, 7954=>510, 7955=>510, 7956=>510, 7957=>510, 7960=>650, 7961=>650, 7962=>650, 7963=>650, 7964=>650, 7965=>650, 7968=>526, 7969=>526, 7970=>526, 7971=>526, 7972=>526, + 7973=>526, 7974=>526, 7975=>526, 7976=>683, 7977=>683, 7978=>683, 7979=>683, 7980=>683, 7981=>683, 7982=>683, 7983=>683, 7984=>286, 7985=>286, 7986=>286, 7987=>286, 7988=>286, + 7989=>286, 7990=>286, 7991=>286, 7992=>236, 7993=>236, 7994=>236, 7995=>236, 7996=>236, 7997=>236, 7998=>236, 7999=>236, 8000=>550, 8001=>550, 8002=>550, 8003=>550, 8004=>550, + 8005=>550, 8008=>750, 8009=>750, 8010=>750, 8011=>750, 8012=>750, 8013=>750, 8016=>515, 8017=>515, 8018=>515, 8019=>515, 8020=>515, 8021=>515, 8022=>515, 8023=>515, 8025=>684, + 8027=>684, 8029=>684, 8031=>684, 8032=>740, 8033=>740, 8034=>740, 8035=>740, 8036=>740, 8037=>740, 8038=>740, 8039=>740, 8040=>720, 8041=>720, 8042=>720, 8043=>720, 8044=>720, + 8045=>720, 8046=>720, 8047=>720, 8048=>596, 8049=>596, 8050=>510, 8051=>510, 8052=>526, 8053=>526, 8054=>286, 8055=>286, 8056=>550, 8057=>550, 8058=>515, 8059=>515, 8060=>740, + 8061=>740, 8064=>596, 8065=>596, 8066=>596, 8067=>596, 8068=>596, 8069=>596, 8070=>596, 8071=>596, 8072=>882, 8073=>882, 8074=>882, 8075=>882, 8076=>882, 8077=>882, 8078=>882, + 8079=>882, 8080=>526, 8081=>526, 8082=>526, 8083=>526, 8084=>526, 8085=>526, 8086=>526, 8087=>526, 8088=>857, 8089=>857, 8090=>857, 8091=>857, 8092=>857, 8093=>857, 8094=>857, + 8095=>857, 8096=>740, 8097=>740, 8098=>740, 8099=>740, 8100=>740, 8101=>740, 8102=>740, 8103=>740, 8104=>945, 8105=>945, 8106=>945, 8107=>945, 8108=>945, 8109=>945, 8110=>945, + 8111=>945, 8112=>596, 8113=>596, 8114=>596, 8115=>596, 8116=>596, 8118=>596, 8119=>596, 8120=>684, 8121=>684, 8122=>684, 8123=>684, 8124=>882, 8125=>278, 8126=>201, 8127=>333, + 8128=>278, 8129=>333, 8130=>526, 8131=>526, 8132=>536, 8134=>526, 8135=>526, 8136=>650, 8137=>650, 8138=>683, 8139=>683, 8140=>857, 8141=>582, 8142=>582, 8143=>333, 8144=>286, + 8145=>286, 8146=>286, 8147=>286, 8150=>286, 8151=>312, 8152=>236, 8153=>236, 8154=>236, 8155=>236, 8157=>582, 8158=>582, 8159=>333, 8160=>515, 8161=>515, 8162=>515, 8163=>515, + 8164=>566, 8165=>566, 8166=>515, 8167=>515, 8168=>684, 8169=>684, 8170=>684, 8171=>684, 8172=>638, 8173=>333, 8174=>393, 8175=>333, 8178=>740, 8179=>740, 8180=>740, 8182=>740, + 8183=>740, 8184=>750, 8185=>750, 8186=>720, 8187=>720, 8188=>939, 8189=>333, 8190=>333, 8208=>333, 8219=>221, 8223=>333, 8227=>350, 8241=>1360, 8242=>278, 8243=>469, 8244=>680, + 8245=>278, 8246=>469, 8247=>680, 8251=>622, 8252=>556, 8253=>556, 8260=>167, 8263=>1112, 8264=>834, 8265=>834, 8267=>537, 8304=>351, 8305=>351, 8308=>351, 8309=>351, 8310=>351, + 8311=>351, 8312=>351, 8313=>351, 8320=>351, 8321=>351, 8322=>351, 8323=>351, 8324=>351, 8325=>353, 8326=>351, 8327=>351, 8328=>351, 8329=>351, 8359=>1445, 8360=>1222, 8362=>869, + 8459=>969, 8460=>615, 8464=>809, 8465=>519, 8466=>874, 8470=>1008, 8475=>850, 8476=>644, 8486=>720, 8487=>720, 8488=>512, 8490=>667, 8491=>667, 8492=>908, 8493=>623, 8496=>562, + 8497=>611, 8498=>611, 8499=>1080, 8531=>869, 8532=>869, 8533=>869, 8534=>869, 8535=>869, 8536=>869, 8537=>869, 8538=>869, 8539=>869, 8540=>869, 8541=>869, 8542=>869, 8543=>869, + 8544=>278, 8545=>556, 8546=>834, 8547=>945, 8548=>667, 8549=>945, 8550=>1223, 8551=>1501, 8552=>945, 8553=>667, 8554=>945, 8555=>1223, 8556=>556, 8557=>722, 8558=>722, 8559=>833, + 8560=>222, 8561=>444, 8562=>666, 8563=>722, 8564=>500, 8565=>722, 8566=>944, 8567=>1166, 8568=>722, 8569=>500, 8570=>722, 8571=>944, 8572=>222, 8573=>500, 8574=>556, 8575=>833, + 8592=>987, 8593=>603, 8594=>987, 8595=>603, 8596=>1042, 8597=>1042, 8629=>658, 8656=>987, 8657=>603, 8658=>987, 8659=>603, 8660=>1042, 8704=>667, 8706=>556, 8707=>667, 8709=>556, + 8710=>711, 8711=>711, 8712=>713, 8713=>713, 8719=>823, 8720=>823, 8721=>804, 8722=>584, 8723=>584, 8727=>500, 8730=>542, 8733=>713, 8734=>713, 8736=>768, 8743=>603, 8744=>603, + 8745=>768, 8746=>768, 8747=>556, 8748=>796, 8749=>956, 8750=>556, 8756=>863, 8764=>549, 8766=>584, 8769=>584, 8770=>584, 8771=>584, 8777=>636, 8800=>548, 8804=>584, 8805=>584, + 8853=>768, 8854=>768, 8855=>768, 8869=>658, 8960=>823, 9674=>489, 9834=>555, 12289=>1000, 12290=>1000, 12291=>1000, 12293=>1000, 12295=>1000, 12296=>1000, 12297=>1000, 12298=>1000, 12299=>1000, + 12300=>1000, 12301=>1000, 12302=>1000, 12303=>1000, 12304=>1000, 12305=>1000, 12308=>1000, 12309=>1000, 12353=>1000, 12354=>1000, 12355=>1000, 12356=>1000, 12357=>1000, 12358=>1000, 12359=>1000, 12360=>1000, + 12361=>1000, 12362=>1000, 12363=>1000, 12364=>1000, 12365=>1000, 12366=>1000, 12367=>1000, 12368=>1000, 12369=>1000, 12370=>1000, 12371=>1000, 12372=>1000, 12373=>1000, 12374=>1000, 12375=>1000, 12376=>1000, + 12377=>1000, 12378=>1000, 12379=>1000, 12380=>1000, 12381=>1000, 12382=>1000, 12383=>1000, 12384=>1000, 12385=>1000, 12386=>1000, 12387=>1000, 12388=>1000, 12389=>1000, 12390=>1000, 12391=>1000, 12392=>1000, + 12393=>1000, 12394=>1000, 12395=>1000, 12396=>1000, 12397=>1000, 12398=>1000, 12399=>1000, 12400=>1000, 12401=>1000, 12402=>1000, 12403=>1000, 12404=>1000, 12405=>1000, 12406=>1000, 12407=>1000, 12408=>1000, + 12409=>1000, 12410=>1000, 12411=>1000, 12412=>1000, 12413=>1000, 12414=>1000, 12415=>1000, 12416=>1000, 12417=>1000, 12418=>1000, 12419=>1000, 12420=>1000, 12421=>1000, 12422=>1000, 12423=>1000, 12424=>1000, + 12425=>1000, 12426=>1000, 12427=>1000, 12428=>1000, 12429=>1000, 12430=>1000, 12431=>1000, 12432=>1000, 12433=>1000, 12434=>1000, 12435=>1000, 12441=>1000, 12443=>1000, 12449=>1000, 12450=>1000, 12451=>1000, + 12452=>1000, 12453=>1000, 12454=>1000, 12455=>1000, 12456=>1000, 12457=>1000, 12458=>1000, 12459=>1000, 12460=>1000, 12461=>1000, 12462=>1000, 12463=>1000, 12464=>1000, 12465=>1000, 12466=>1000, 12467=>1000, + 12468=>1000, 12469=>1000, 12470=>1000, 12471=>1000, 12472=>1000, 12473=>1000, 12474=>1000, 12475=>1000, 12476=>1000, 12477=>1000, 12478=>1000, 12479=>1000, 12480=>1000, 12481=>1000, 12482=>1000, 12483=>1000, + 12484=>1000, 12485=>1000, 12486=>1000, 12487=>1000, 12488=>1000, 12489=>1000, 12490=>1000, 12491=>1000, 12492=>1000, 12493=>1000, 12494=>1000, 12495=>1000, 12496=>1000, 12497=>1000, 12498=>1000, 12499=>1000, + 12500=>1000, 12501=>1000, 12502=>1000, 12503=>1000, 12504=>1000, 12505=>1000, 12506=>1000, 12507=>1000, 12508=>1000, 12509=>1000, 12510=>1000, 12511=>1000, 12512=>1000, 12513=>1000, 12514=>1000, 12515=>1000, + 12516=>1000, 12517=>1000, 12518=>1000, 12519=>1000, 12520=>1000, 12521=>1000, 12522=>1000, 12523=>1000, 12524=>1000, 12525=>1000, 12526=>1000, 12527=>1000, 12528=>1000, 12529=>1000, 12530=>1000, 12531=>1000, + 12532=>1000, 12533=>1000, 12534=>1000, 12535=>1000, 12536=>1000, 12537=>1000, 12538=>1000, 12539=>278, 12540=>1000, 12541=>1000, 12542=>1000, 63033=>556, 63034=>556, 63035=>556, 63036=>556, 63037=>556, + 63038=>556, 63039=>556, 63040=>556, 63041=>556, 63166=>222, 63171=>333, 63196=>556, 64256=>556, 64257=>500, 64258=>500, 64259=>778, 64260=>778, 64261=>556, 64262=>778, 64285=>200, 64286=>305, + 64287=>400, 64288=>587, 64289=>890, 64290=>848, 64291=>872, 64292=>800, 64293=>850, 64294=>873, 64295=>797, 64296=>937, 64297=>584, 64298=>776, 64299=>776, 64300=>776, 64301=>776, 64302=>640, + 64303=>640, 64304=>640, 64305=>591, 64306=>466, 64307=>598, 64308=>622, 64309=>262, 64310=>351, 64312=>608, 64313=>270, 64314=>526, 64315=>550, 64316=>600, 64318=>621, 64320=>378, 64321=>607, + 64323=>575, 64324=>568, 64326=>590, 64327=>606, 64328=>547, 64329=>776, 64330=>687, 64331=>212, 64332=>591, 64333=>550, 64334=>568, 64335=>640, 65533=>788); +$enc=''; +$diff=''; +$file='FreeSans.z'; +$ctg='FreeSans.ctg.z'; +$originalsize=264072; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freesansb.php b/htdocs/includes/fpdf/tcpdf/fonts/freesansb.php new file mode 100644 index 00000000000..b4b3d3ac614 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freesansb.php @@ -0,0 +1,79 @@ +1159,'Descent'=>-355,'CapHeight'=>1159,'Flags'=>32,'FontBBox'=>'[-459 -355 1300 1159]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>600); +$up=-155; +$ut=69; +$cw=array( + 13=>333, 32=>278, 33=>333, 34=>474, 35=>556, 36=>556, 37=>889, 38=>722, 39=>238, 40=>333, 41=>333, 42=>389, 43=>584, 44=>278, 45=>333, 46=>278, + 47=>278, 48=>556, 49=>556, 50=>556, 51=>556, 52=>556, 53=>556, 54=>556, 55=>556, 56=>556, 57=>556, 58=>333, 59=>333, 60=>584, 61=>584, 62=>584, + 63=>611, 64=>975, 65=>722, 66=>722, 67=>722, 68=>722, 69=>667, 70=>611, 71=>778, 72=>722, 73=>278, 74=>556, 75=>722, 76=>611, 77=>833, 78=>722, + 79=>778, 80=>667, 81=>778, 82=>722, 83=>667, 84=>611, 85=>722, 86=>667, 87=>944, 88=>667, 89=>667, 90=>611, 91=>333, 92=>278, 93=>333, 94=>584, + 95=>556, 96=>333, 97=>556, 98=>611, 99=>556, 100=>611, 101=>556, 102=>333, 103=>611, 104=>611, 105=>278, 106=>278, 107=>556, 108=>278, 109=>889, 110=>611, + 111=>611, 112=>611, 113=>611, 114=>389, 115=>556, 116=>333, 117=>611, 118=>556, 119=>778, 120=>556, 121=>556, 122=>500, 123=>389, 124=>280, 125=>389, 126=>584, + 8364=>556, 1027=>611, 8218=>278, 402=>556, 8222=>500, 8230=>1000, 8224=>556, 8225=>556, 710=>333, 8240=>1000, 352=>667, 8249=>333, 338=>1000, 1036=>722, 381=>611, 1039=>722, + 8216=>278, 8217=>278, 8220=>500, 8221=>500, 8226=>350, 8211=>556, 8212=>1000, 732=>333, 8482=>1000, 353=>556, 8250=>333, 339=>944, 1116=>573, 382=>500, 376=>667, 161=>333, + 162=>556, 163=>556, 164=>556, 165=>556, 166=>280, 167=>556, 168=>333, 169=>737, 170=>370, 171=>556, 172=>584, 174=>737, 175=>333, 176=>606, 177=>584, 178=>351, + 179=>351, 180=>333, 181=>611, 182=>556, 183=>278, 184=>333, 185=>351, 186=>365, 187=>556, 188=>869, 189=>869, 190=>869, 191=>611, 192=>722, 193=>722, 194=>722, + 195=>722, 196=>722, 197=>722, 198=>1000, 199=>722, 200=>667, 201=>667, 202=>667, 203=>667, 204=>278, 205=>278, 206=>278, 207=>278, 208=>722, 209=>722, 210=>778, + 211=>778, 212=>778, 213=>778, 214=>778, 215=>584, 216=>778, 217=>722, 218=>722, 219=>722, 220=>722, 221=>667, 222=>667, 223=>611, 224=>556, 225=>556, 226=>556, + 227=>556, 228=>556, 229=>556, 230=>889, 231=>556, 232=>556, 233=>556, 234=>556, 235=>556, 236=>278, 237=>278, 238=>278, 239=>278, 240=>611, 241=>611, 242=>611, + 243=>611, 244=>611, 245=>611, 246=>611, 247=>584, 248=>611, 249=>611, 250=>611, 251=>611, 252=>611, 253=>556, 254=>611, 255=>556, 256=>722, 257=>556, 258=>722, + 259=>556, 260=>722, 261=>556, 262=>722, 263=>556, 264=>722, 265=>556, 266=>722, 267=>556, 268=>722, 269=>556, 270=>722, 271=>611, 272=>722, 273=>611, 274=>667, + 275=>556, 276=>667, 277=>556, 278=>667, 279=>556, 280=>667, 281=>556, 282=>667, 283=>556, 284=>778, 285=>611, 286=>778, 287=>611, 288=>778, 289=>611, 290=>778, + 291=>611, 292=>722, 293=>611, 294=>722, 295=>611, 296=>278, 297=>278, 298=>278, 299=>278, 300=>278, 301=>278, 302=>278, 303=>278, 304=>278, 305=>278, 306=>808, + 307=>492, 308=>556, 309=>278, 310=>722, 311=>556, 312=>573, 313=>611, 314=>278, 315=>611, 316=>278, 317=>611, 318=>278, 319=>611, 320=>556, 321=>611, 322=>278, + 323=>722, 324=>611, 325=>722, 326=>611, 327=>722, 328=>611, 329=>611, 330=>722, 331=>611, 332=>778, 333=>611, 334=>778, 335=>611, 336=>778, 337=>611, 340=>722, + 341=>389, 342=>722, 343=>389, 344=>722, 345=>389, 346=>667, 347=>556, 348=>667, 349=>556, 350=>667, 351=>556, 354=>611, 355=>333, 356=>611, 357=>333, 358=>611, + 359=>333, 360=>722, 361=>611, 362=>722, 363=>611, 364=>722, 365=>611, 366=>722, 367=>611, 368=>722, 369=>611, 370=>722, 371=>611, 372=>944, 373=>778, 374=>667, + 375=>556, 377=>611, 378=>500, 379=>611, 380=>500, 383=>333, 452=>1333, 453=>1222, 454=>1111, 455=>1167, 456=>889, 457=>556, 458=>1278, 459=>1000, 460=>889, 461=>722, + 462=>556, 463=>278, 464=>278, 465=>778, 466=>611, 467=>722, 468=>611, 469=>722, 470=>611, 471=>722, 472=>611, 473=>722, 474=>611, 475=>722, 476=>611, 478=>722, + 479=>556, 482=>1000, 483=>889, 486=>778, 487=>611, 488=>722, 489=>556, 490=>778, 491=>611, 492=>778, 493=>611, 497=>1333, 498=>1222, 499=>1111, 504=>722, 505=>611, + 506=>722, 507=>556, 508=>1000, 509=>889, 510=>778, 511=>611, 514=>722, 515=>556, 518=>667, 519=>556, 522=>278, 523=>278, 526=>778, 527=>611, 530=>722, 531=>389, + 534=>722, 535=>611, 536=>667, 537=>556, 538=>611, 539=>333, 711=>333, 728=>333, 729=>333, 730=>333, 731=>333, 733=>333, 884=>379, 885=>379, 890=>332, 894=>333, + 900=>325, 901=>658, 902=>761, 903=>474, 904=>706, 905=>733, 906=>285, 908=>785, 910=>823, 911=>819, 913=>722, 914=>722, 915=>642, 916=>726, 917=>667, 918=>611, + 919=>722, 920=>810, 921=>278, 922=>722, 923=>744, 924=>860, 925=>714, 926=>690, 927=>822, 928=>781, 929=>698, 931=>688, 932=>688, 933=>804, 934=>777, 935=>783, + 936=>805, 937=>780, 938=>278, 939=>804, 940=>660, 941=>559, 942=>560, 943=>356, 944=>575, 945=>656, 946=>576, 947=>591, 948=>620, 949=>570, 950=>522, 951=>586, + 952=>586, 953=>346, 954=>576, 955=>620, 956=>667, 957=>564, 958=>530, 959=>610, 960=>721, 961=>626, 962=>595, 963=>676, 964=>592, 965=>575, 966=>801, 967=>632, + 968=>722, 969=>800, 970=>346, 971=>575, 972=>599, 973=>567, 974=>1125, 1024=>667, 1025=>709, 1026=>790, 1028=>722, 1029=>667, 1030=>278, 1031=>278, 1032=>556, 1033=>1110, + 1034=>1113, 1035=>790, 1037=>726, 1038=>718, 1040=>722, 1041=>722, 1042=>722, 1043=>611, 1044=>900, 1045=>709, 1046=>1093, 1047=>672, 1048=>757, 1049=>757, 1050=>750, 1051=>729, + 1052=>874, 1053=>753, 1054=>778, 1055=>753, 1056=>671, 1057=>722, 1058=>611, 1059=>718, 1060=>892, 1061=>667, 1062=>816, 1063=>685, 1064=>1057, 1065=>1183, 1066=>928, 1067=>949, + 1068=>687, 1069=>722, 1070=>1109, 1071=>698, 1072=>556, 1073=>606, 1074=>572, 1075=>454, 1076=>685, 1077=>556, 1078=>809, 1079=>546, 1080=>615, 1081=>615, 1082=>573, 1083=>577, + 1084=>666, 1085=>603, 1086=>611, 1087=>603, 1088=>611, 1089=>556, 1090=>454, 1091=>556, 1092=>957, 1093=>556, 1094=>652, 1095=>578, 1096=>886, 1097=>968, 1098=>693, 1099=>811, + 1100=>562, 1101=>564, 1102=>908, 1103=>596, 1104=>556, 1105=>556, 1106=>606, 1107=>454, 1108=>556, 1109=>556, 1110=>278, 1111=>278, 1112=>278, 1113=>900, 1114=>611, 1115=>606, + 1117=>608, 1118=>556, 1119=>608, 1164=>687, 1165=>562, 1166=>667, 1167=>611, 1168=>611, 1169=>454, 1170=>611, 1171=>454, 1172=>611, 1173=>454, 1174=>1093, 1175=>809, 1176=>672, + 1177=>546, 1178=>722, 1179=>573, 1180=>722, 1181=>573, 1182=>722, 1183=>573, 1184=>722, 1185=>573, 1186=>722, 1187=>608, 1188=>722, 1189=>608, 1190=>722, 1191=>608, 1192=>722, + 1193=>556, 1194=>722, 1195=>556, 1196=>611, 1197=>454, 1198=>667, 1199=>556, 1200=>667, 1201=>556, 1202=>667, 1203=>556, 1204=>814, 1205=>685, 1206=>675, 1207=>580, 1208=>675, + 1209=>580, 1210=>675, 1211=>580, 1212=>722, 1213=>556, 1214=>722, 1215=>556, 1216=>278, 1217=>1093, 1218=>809, 1219=>722, 1220=>573, 1223=>722, 1224=>608, 1227=>675, 1228=>580, + 1232=>722, 1233=>556, 1234=>722, 1235=>556, 1236=>1000, 1237=>889, 1238=>709, 1239=>556, 1240=>722, 1241=>556, 1242=>722, 1243=>556, 1244=>1093, 1245=>809, 1246=>672, 1247=>546, + 1248=>672, 1249=>546, 1250=>757, 1251=>615, 1252=>757, 1253=>615, 1254=>778, 1255=>611, 1256=>778, 1257=>611, 1258=>778, 1259=>611, 1260=>722, 1261=>564, 1262=>718, 1263=>556, + 1264=>718, 1265=>556, 1266=>718, 1267=>556, 1268=>685, 1269=>578, 1272=>949, 1273=>811, 1456=>82, 1457=>347, 1458=>341, 1459=>341, 1460=>82, 1461=>211, 1462=>211, 1463=>200, + 1464=>200, 1465=>82, 1467=>341, 1468=>82, 1469=>82, 1470=>516, 1471=>200, 1472=>297, 1473=>1038, 1474=>1038, 1475=>333, 1476=>82, 1488=>714, 1489=>651, 1490=>557, 1491=>638, + 1492=>682, 1493=>297, 1494=>443, 1495=>682, 1496=>670, 1497=>284, 1498=>590, 1499=>595, 1500=>667, 1501=>683, 1502=>704, 1503=>297, 1504=>429, 1505=>670, 1506=>653, 1507=>661, + 1508=>660, 1509=>616, 1510=>671, 1511=>672, 1512=>600, 1513=>840, 1514=>756, 1520=>554, 1521=>550, 1522=>542, 1523=>238, 1524=>474, 1559=>556, 1560=>778, 1561=>944, 1562=>611, + 1563=>278, 1564=>889, 1569=>844, 1576=>923, 1578=>922, 1579=>922, 1581=>649, 1582=>704, 1587=>1221, 7936=>656, 7937=>656, 7938=>656, 7939=>656, 7940=>656, 7941=>656, 7942=>656, + 7943=>656, 7944=>722, 7945=>722, 7946=>722, 7947=>722, 7948=>722, 7949=>722, 7950=>722, 7951=>722, 7952=>570, 7953=>570, 7954=>570, 7955=>570, 7956=>570, 7957=>570, 7960=>667, + 7961=>667, 7962=>667, 7963=>667, 7964=>667, 7965=>667, 7968=>586, 7969=>586, 7970=>586, 7971=>586, 7972=>586, 7973=>586, 7974=>586, 7975=>586, 7976=>722, 7977=>722, 7978=>722, + 7979=>722, 7980=>722, 7981=>722, 7982=>722, 7983=>722, 7984=>346, 7985=>346, 7986=>346, 7987=>346, 7988=>346, 7989=>346, 7990=>346, 7991=>346, 7992=>278, 7993=>278, 7994=>278, + 7995=>278, 7996=>278, 7997=>278, 7998=>278, 7999=>278, 8000=>610, 8001=>610, 8002=>610, 8003=>610, 8004=>610, 8005=>610, 8008=>822, 8009=>822, 8010=>822, 8011=>822, 8012=>822, + 8013=>822, 8016=>575, 8017=>575, 8018=>575, 8019=>575, 8020=>575, 8021=>575, 8022=>575, 8023=>575, 8025=>804, 8027=>804, 8029=>804, 8031=>804, 8032=>800, 8033=>800, 8034=>800, + 8035=>800, 8036=>800, 8037=>800, 8038=>800, 8039=>800, 8040=>780, 8041=>780, 8042=>780, 8043=>780, 8044=>780, 8045=>780, 8046=>780, 8047=>780, 8048=>656, 8049=>656, 8050=>570, + 8051=>570, 8052=>586, 8053=>586, 8054=>346, 8055=>346, 8056=>610, 8057=>610, 8058=>575, 8059=>575, 8060=>800, 8061=>800, 8064=>656, 8065=>656, 8066=>656, 8067=>656, 8068=>656, + 8069=>656, 8070=>656, 8071=>656, 8072=>968, 8073=>968, 8074=>968, 8075=>968, 8076=>968, 8077=>968, 8078=>968, 8079=>968, 8080=>586, 8081=>586, 8082=>586, 8083=>586, 8084=>586, + 8085=>586, 8086=>586, 8087=>586, 8088=>968, 8089=>968, 8090=>968, 8091=>968, 8092=>968, 8093=>968, 8094=>968, 8095=>968, 8096=>800, 8097=>800, 8098=>800, 8099=>800, 8100=>800, + 8101=>800, 8102=>800, 8103=>800, 8104=>1026, 8105=>1026, 8106=>1026, 8107=>1026, 8108=>1026, 8109=>1026, 8110=>1026, 8111=>1026, 8112=>656, 8113=>656, 8114=>656, 8115=>656, 8116=>660, + 8118=>656, 8119=>656, 8120=>722, 8121=>722, 8122=>722, 8123=>722, 8124=>968, 8125=>278, 8126=>346, 8127=>278, 8128=>278, 8129=>333, 8130=>586, 8131=>586, 8132=>560, 8134=>586, + 8135=>586, 8136=>667, 8137=>667, 8138=>722, 8139=>722, 8140=>968, 8141=>492, 8142=>489, 8143=>394, 8144=>346, 8145=>346, 8146=>346, 8147=>346, 8150=>346, 8151=>346, 8152=>278, + 8153=>278, 8154=>278, 8155=>278, 8157=>481, 8158=>589, 8159=>333, 8160=>575, 8161=>575, 8162=>575, 8163=>575, 8164=>626, 8165=>626, 8166=>575, 8167=>575, 8168=>804, 8169=>804, + 8170=>804, 8171=>804, 8172=>698, 8173=>333, 8174=>333, 8175=>333, 8178=>800, 8179=>800, 8180=>1125, 8182=>800, 8183=>800, 8184=>822, 8185=>822, 8186=>780, 8187=>780, 8188=>1111, + 8189=>333, 8190=>278, 8260=>167, 8308=>351, 8321=>351, 8322=>351, 8323=>351, 8324=>351, 8362=>1049, 8543=>869, 8706=>490, 8710=>729, 8721=>711, 8722=>584, 8730=>542, 8800=>548, + 8804=>584, 8805=>584, 9674=>489, 63033=>556, 63034=>556, 63035=>556, 63036=>556, 63037=>556, 63038=>556, 63039=>556, 63040=>556, 63041=>556, 63171=>333, 63196=>556, 64257=>611, 64258=>611, + 64285=>284, 64286=>305, 64287=>542, 64288=>653, 64289=>964, 64290=>888, 64291=>932, 64292=>845, 64293=>917, 64294=>933, 64295=>850, 64296=>1006, 64297=>584, 64298=>840, 64299=>840, 64300=>840, + 64301=>840, 64302=>714, 64303=>714, 64304=>714, 64305=>651, 64306=>557, 64307=>638, 64308=>682, 64309=>367, 64310=>443, 64312=>670, 64313=>354, 64314=>590, 64315=>595, 64316=>667, 64318=>704, + 64320=>429, 64321=>670, 64323=>661, 64324=>660, 64326=>671, 64327=>672, 64328=>600, 64329=>840, 64330=>756, 64331=>297, 64332=>651, 64333=>595, 64334=>660, 64335=>714, 65182=>636); +$enc=''; +$diff=''; +$file='FreeSansBold.z'; +$ctg='FreeSansBold.ctg.z'; +$originalsize=91432; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freesansbi.php b/htdocs/includes/fpdf/tcpdf/fonts/freesansbi.php new file mode 100644 index 00000000000..b02a1fcd635 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freesansbi.php @@ -0,0 +1,76 @@ +979,'Descent'=>-309,'CapHeight'=>979,'Flags'=>96,'FontBBox'=>'[-379 -309 1283 979]','ItalicAngle'=>-12,'StemV'=>120,'MissingWidth'=>600); +$up=-111; +$ut=69; +$cw=array( + 13=>333, 32=>278, 33=>333, 34=>474, 35=>556, 36=>556, 37=>889, 38=>722, 39=>238, 40=>333, 41=>333, 42=>389, 43=>584, 44=>278, 45=>333, 46=>278, + 47=>278, 48=>556, 49=>556, 50=>556, 51=>556, 52=>556, 53=>556, 54=>556, 55=>556, 56=>556, 57=>556, 58=>333, 59=>333, 60=>584, 61=>584, 62=>584, + 63=>611, 64=>975, 65=>722, 66=>722, 67=>722, 68=>722, 69=>667, 70=>611, 71=>778, 72=>722, 73=>278, 74=>556, 75=>722, 76=>611, 77=>833, 78=>722, + 79=>778, 80=>667, 81=>778, 82=>722, 83=>667, 84=>611, 85=>722, 86=>667, 87=>944, 88=>667, 89=>667, 90=>611, 91=>333, 92=>278, 93=>333, 94=>584, + 95=>556, 96=>333, 97=>556, 98=>611, 99=>556, 100=>611, 101=>556, 102=>333, 103=>611, 104=>611, 105=>278, 106=>278, 107=>556, 108=>278, 109=>889, 110=>611, + 111=>611, 112=>611, 113=>611, 114=>389, 115=>556, 116=>333, 117=>611, 118=>556, 119=>778, 120=>556, 121=>556, 122=>500, 123=>389, 124=>280, 125=>389, 126=>584, + 8364=>556, 1027=>611, 8218=>278, 402=>556, 8222=>500, 8230=>1000, 8224=>556, 8225=>556, 710=>333, 8240=>1000, 352=>667, 8249=>333, 338=>1000, 1036=>722, 381=>611, 1039=>722, + 8216=>278, 8217=>278, 8220=>500, 8221=>500, 8226=>350, 8211=>556, 8212=>1000, 732=>333, 8482=>1000, 353=>556, 8250=>333, 339=>944, 1116=>556, 382=>500, 376=>667, 161=>333, + 162=>556, 163=>556, 164=>556, 165=>556, 166=>280, 167=>556, 168=>333, 169=>737, 170=>370, 171=>556, 172=>584, 174=>737, 175=>333, 176=>606, 177=>584, 178=>444, + 179=>444, 180=>333, 181=>611, 182=>556, 183=>278, 184=>333, 185=>444, 186=>365, 187=>556, 188=>1055, 189=>1055, 190=>1055, 191=>611, 192=>722, 193=>722, 194=>722, + 195=>722, 196=>722, 197=>722, 198=>1000, 199=>722, 200=>667, 201=>667, 202=>667, 203=>667, 204=>278, 205=>278, 206=>278, 207=>278, 208=>722, 209=>722, 210=>778, + 211=>778, 212=>778, 213=>778, 214=>778, 215=>584, 216=>778, 217=>722, 218=>722, 219=>722, 220=>722, 221=>667, 222=>667, 223=>611, 224=>556, 225=>556, 226=>556, + 227=>556, 228=>556, 229=>556, 230=>889, 231=>556, 232=>556, 233=>556, 234=>556, 235=>556, 236=>278, 237=>278, 238=>278, 239=>278, 240=>611, 241=>611, 242=>611, + 243=>611, 244=>611, 245=>611, 246=>611, 247=>584, 248=>611, 249=>611, 250=>611, 251=>611, 252=>611, 253=>556, 254=>611, 255=>556, 256=>722, 257=>556, 258=>722, + 259=>556, 260=>722, 261=>556, 262=>722, 263=>556, 264=>722, 265=>556, 266=>722, 267=>556, 268=>722, 269=>556, 270=>722, 271=>722, 272=>722, 273=>611, 274=>667, + 275=>556, 276=>667, 277=>556, 278=>667, 279=>556, 280=>667, 281=>556, 282=>667, 283=>556, 284=>778, 285=>611, 286=>778, 287=>611, 288=>778, 289=>611, 290=>778, + 291=>611, 292=>722, 293=>611, 294=>722, 295=>611, 296=>278, 297=>278, 298=>278, 299=>278, 300=>278, 301=>278, 302=>278, 303=>268, 304=>278, 305=>278, 306=>278, + 307=>278, 308=>556, 309=>278, 310=>722, 311=>556, 312=>529, 313=>611, 314=>278, 315=>611, 316=>278, 317=>611, 318=>384, 319=>611, 320=>556, 321=>611, 322=>278, + 323=>722, 324=>611, 325=>722, 326=>611, 327=>722, 328=>611, 329=>611, 330=>722, 331=>611, 332=>778, 333=>611, 334=>778, 335=>611, 336=>778, 337=>611, 340=>722, + 341=>389, 342=>722, 343=>389, 344=>722, 345=>389, 346=>667, 347=>556, 348=>667, 349=>556, 350=>667, 351=>556, 354=>611, 355=>333, 356=>611, 357=>404, 358=>611, + 359=>333, 360=>722, 361=>611, 362=>722, 363=>611, 364=>722, 365=>611, 366=>722, 367=>611, 368=>722, 369=>611, 370=>722, 371=>611, 372=>944, 373=>778, 374=>667, + 375=>556, 377=>611, 378=>500, 379=>611, 380=>500, 383=>333, 536=>667, 537=>556, 538=>611, 539=>333, 711=>333, 728=>333, 729=>333, 730=>333, 731=>333, 733=>333, + 768=>0, 769=>0, 770=>0, 771=>0, 772=>0, 774=>0, 775=>0, 776=>0, 778=>0, 779=>0, 780=>0, 783=>0, 785=>0, 787=>0, 788=>0, 884=>208, + 885=>247, 890=>364, 894=>333, 900=>308, 901=>446, 902=>688, 903=>418, 904=>642, 905=>743, 906=>228, 908=>754, 910=>736, 911=>743, 912=>346, 913=>764, 914=>688, + 915=>642, 916=>744, 917=>710, 918=>688, 919=>743, 920=>810, 921=>296, 922=>744, 923=>744, 924=>860, 925=>714, 926=>690, 927=>822, 928=>781, 929=>698, 931=>688, + 932=>688, 933=>744, 934=>777, 935=>783, 936=>805, 937=>780, 938=>296, 939=>744, 940=>640, 941=>530, 942=>597, 943=>339, 944=>575, 945=>656, 946=>576, 947=>591, + 948=>620, 949=>570, 950=>522, 951=>586, 952=>586, 953=>346, 954=>576, 955=>620, 956=>667, 957=>564, 958=>530, 959=>610, 960=>721, 961=>626, 962=>595, 963=>676, + 964=>592, 965=>575, 966=>801, 967=>632, 968=>722, 969=>800, 970=>346, 971=>575, 972=>609, 973=>604, 974=>769, 1024=>666, 1025=>666, 1026=>790, 1028=>722, 1029=>667, + 1030=>278, 1031=>278, 1032=>556, 1033=>1110, 1034=>1088, 1035=>790, 1037=>722, 1038=>718, 1040=>722, 1041=>722, 1042=>723, 1043=>611, 1044=>918, 1045=>666, 1046=>1054, 1047=>659, + 1048=>722, 1049=>722, 1050=>720, 1051=>722, 1052=>843, 1053=>722, 1054=>778, 1055=>722, 1056=>649, 1057=>837, 1058=>611, 1059=>698, 1060=>902, 1061=>664, 1062=>730, 1063=>671, + 1064=>1101, 1065=>1179, 1066=>816, 1067=>939, 1068=>639, 1069=>737, 1070=>1080, 1071=>690, 1072=>554, 1073=>611, 1074=>621, 1075=>475, 1076=>804, 1077=>552, 1078=>775, 1079=>556, + 1080=>636, 1081=>636, 1082=>529, 1083=>608, 1084=>697, 1085=>636, 1086=>611, 1087=>636, 1088=>611, 1089=>554, 1090=>454, 1091=>552, 1092=>989, 1093=>554, 1094=>690, 1095=>606, + 1096=>934, 1097=>987, 1098=>741, 1099=>839, 1100=>619, 1101=>575, 1102=>908, 1103=>636, 1104=>552, 1105=>552, 1106=>606, 1107=>454, 1108=>556, 1109=>556, 1110=>278, 1111=>278, + 1112=>278, 1113=>900, 1114=>611, 1115=>606, 1117=>636, 1118=>556, 1119=>636, 1164=>639, 1165=>619, 1166=>649, 1167=>611, 1168=>611, 1169=>454, 1170=>611, 1171=>475, 1172=>611, + 1173=>475, 1174=>1054, 1175=>775, 1176=>659, 1177=>556, 1178=>720, 1179=>529, 1180=>720, 1181=>529, 1182=>720, 1183=>529, 1184=>720, 1185=>529, 1186=>722, 1187=>636, 1188=>722, + 1189=>636, 1190=>722, 1191=>636, 1192=>837, 1193=>554, 1194=>837, 1195=>554, 1196=>611, 1197=>454, 1198=>667, 1199=>556, 1200=>667, 1201=>556, 1202=>664, 1203=>554, 1204=>730, + 1205=>690, 1206=>671, 1207=>606, 1208=>671, 1209=>606, 1210=>671, 1211=>606, 1212=>837, 1213=>554, 1214=>837, 1215=>554, 1216=>278, 1217=>1054, 1218=>775, 1219=>720, 1220=>529, + 1223=>722, 1224=>636, 1227=>671, 1228=>606, 1232=>722, 1233=>554, 1234=>722, 1235=>554, 1236=>1000, 1237=>889, 1238=>666, 1239=>552, 1240=>837, 1241=>554, 1242=>837, 1243=>554, + 1244=>1054, 1245=>775, 1246=>659, 1247=>556, 1248=>659, 1249=>556, 1250=>722, 1251=>636, 1252=>722, 1253=>636, 1254=>778, 1255=>611, 1256=>778, 1257=>611, 1258=>778, 1259=>611, + 1260=>737, 1261=>575, 1262=>698, 1263=>552, 1264=>698, 1265=>552, 1266=>698, 1267=>552, 1268=>671, 1269=>606, 1272=>939, 1273=>839, 1456=>82, 1457=>347, 1458=>341, 1459=>341, + 1460=>82, 1461=>211, 1462=>211, 1463=>200, 1464=>200, 1465=>82, 1467=>341, 1468=>82, 1469=>82, 1470=>516, 1471=>200, 1472=>297, 1473=>1038, 1474=>1038, 1475=>333, 1476=>82, + 1488=>714, 1489=>651, 1490=>557, 1491=>638, 1492=>682, 1493=>297, 1494=>443, 1495=>682, 1496=>670, 1497=>284, 1498=>590, 1499=>595, 1500=>667, 1501=>683, 1502=>704, 1503=>297, + 1504=>429, 1505=>670, 1506=>653, 1507=>661, 1508=>660, 1509=>616, 1510=>671, 1511=>672, 1512=>600, 1513=>840, 1514=>756, 1520=>554, 1521=>550, 1522=>542, 1523=>238, 1524=>474, + 7936=>656, 7937=>656, 7938=>656, 7939=>656, 7940=>656, 7941=>656, 7942=>656, 7943=>656, 7944=>764, 7945=>764, 7946=>764, 7947=>764, 7948=>764, 7949=>764, 7950=>764, 7951=>764, + 7952=>570, 7953=>570, 7954=>570, 7955=>570, 7956=>570, 7957=>570, 7960=>710, 7961=>710, 7962=>710, 7963=>710, 7964=>710, 7965=>710, 7968=>586, 7969=>586, 7970=>586, 7971=>586, + 7972=>586, 7973=>586, 7974=>586, 7975=>586, 7976=>743, 7977=>743, 7978=>743, 7979=>743, 7980=>743, 7981=>743, 7982=>743, 7983=>743, 7984=>346, 7985=>346, 7986=>346, 7987=>346, + 7988=>346, 7989=>346, 7990=>346, 7991=>346, 7992=>296, 7993=>296, 7994=>296, 7995=>296, 7996=>296, 7997=>296, 7998=>296, 7999=>296, 8000=>610, 8001=>610, 8002=>610, 8003=>610, + 8004=>610, 8005=>610, 8008=>822, 8009=>822, 8010=>822, 8011=>822, 8012=>822, 8013=>822, 8016=>575, 8017=>575, 8018=>575, 8019=>575, 8020=>575, 8021=>575, 8022=>575, 8023=>575, + 8025=>744, 8027=>744, 8029=>744, 8031=>744, 8032=>800, 8033=>800, 8034=>800, 8035=>800, 8036=>800, 8037=>800, 8038=>800, 8039=>800, 8040=>780, 8041=>780, 8042=>780, 8043=>780, + 8044=>780, 8045=>780, 8046=>780, 8047=>780, 8048=>656, 8049=>656, 8050=>570, 8051=>570, 8052=>586, 8053=>586, 8054=>346, 8055=>346, 8056=>610, 8057=>610, 8058=>575, 8059=>575, + 8060=>800, 8061=>800, 8064=>656, 8065=>656, 8066=>656, 8067=>656, 8068=>656, 8069=>656, 8070=>656, 8071=>656, 8072=>1007, 8073=>1007, 8074=>1007, 8075=>1007, 8076=>1007, 8077=>1007, + 8078=>1007, 8079=>1007, 8080=>586, 8081=>586, 8082=>586, 8083=>586, 8084=>586, 8085=>586, 8086=>586, 8087=>586, 8088=>986, 8089=>986, 8090=>986, 8091=>986, 8092=>986, 8093=>986, + 8094=>986, 8095=>986, 8096=>800, 8097=>800, 8098=>800, 8099=>800, 8100=>800, 8101=>800, 8102=>800, 8103=>800, 8104=>1023, 8105=>1023, 8106=>1023, 8107=>1023, 8108=>1023, 8109=>1023, + 8110=>1023, 8111=>1023, 8112=>656, 8113=>656, 8114=>656, 8115=>656, 8116=>640, 8118=>656, 8119=>656, 8120=>764, 8121=>764, 8122=>764, 8123=>764, 8124=>1007, 8125=>278, 8126=>201, + 8127=>147, 8128=>278, 8129=>333, 8130=>586, 8131=>586, 8132=>597, 8134=>586, 8135=>586, 8136=>710, 8137=>710, 8138=>743, 8139=>743, 8140=>986, 8141=>402, 8142=>403, 8143=>147, + 8144=>346, 8145=>346, 8146=>346, 8147=>346, 8150=>346, 8151=>346, 8152=>296, 8153=>296, 8154=>296, 8155=>296, 8157=>434, 8158=>433, 8159=>333, 8160=>575, 8161=>575, 8162=>575, + 8163=>575, 8164=>626, 8165=>626, 8166=>575, 8167=>575, 8168=>744, 8169=>744, 8173=>333, 8174=>351, 8175=>303, 8182=>800, 8183=>800, 8184=>822, 8185=>822, 8186=>780, 8187=>780, + 8188=>1023, 8189=>333, 8190=>159, 8260=>167, 8263=>1222, 8264=>944, 8265=>944, 8362=>1049, 8706=>490, 8710=>729, 8721=>711, 8722=>584, 8730=>542, 8800=>584, 8804=>584, 8805=>584, + 9674=>489, 63033=>556, 63034=>556, 63035=>556, 63036=>556, 63037=>556, 63038=>556, 63039=>556, 63040=>556, 63041=>556, 63166=>278, 63171=>333, 63196=>556, 64256=>666, 64257=>611, 64258=>611, + 64259=>944, 64260=>944, 64261=>666, 64262=>889, 64285=>284, 64286=>305, 64287=>542, 64288=>653, 64289=>964, 64290=>888, 64291=>932, 64292=>845, 64293=>917, 64294=>933, 64295=>850, 64296=>1006, + 64297=>584, 64298=>840, 64299=>840, 64300=>840, 64301=>840, 64302=>714, 64303=>714, 64304=>714, 64305=>651, 64306=>557, 64307=>638, 64308=>682, 64309=>367, 64310=>443, 64312=>670, 64313=>354, + 64314=>590, 64315=>595, 64316=>667, 64318=>704, 64320=>429, 64321=>670, 64323=>661, 64324=>660, 64326=>671, 64327=>672, 64328=>600, 64329=>840, 64330=>756, 64331=>297, 64332=>651, 64333=>595, + 64334=>660, 64335=>714); +$enc=''; +$diff=''; +$file='FreeSansBoldOblique.z'; +$ctg='FreeSansBoldOblique.ctg.z'; +$originalsize=95508; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freesansi.php b/htdocs/includes/fpdf/tcpdf/fonts/freesansi.php new file mode 100644 index 00000000000..b3d50c6288f --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freesansi.php @@ -0,0 +1,85 @@ +1141,'Descent'=>-419,'CapHeight'=>1141,'Flags'=>96,'FontBBox'=>'[-313 -419 1129 1141]','ItalicAngle'=>-12,'StemV'=>70,'MissingWidth'=>600); +$up=-151; +$ut=50; +$cw=array( + 13=>333, 32=>278, 33=>278, 34=>355, 35=>556, 36=>556, 37=>889, 38=>667, 39=>191, 40=>333, 41=>333, 42=>389, 43=>584, 44=>278, 45=>333, 46=>278, + 47=>278, 48=>556, 49=>556, 50=>556, 51=>556, 52=>556, 53=>556, 54=>556, 55=>556, 56=>556, 57=>556, 58=>278, 59=>278, 60=>584, 61=>584, 62=>584, + 63=>556, 64=>1015, 65=>667, 66=>667, 67=>722, 68=>722, 69=>667, 70=>611, 71=>778, 72=>722, 73=>278, 74=>500, 75=>667, 76=>556, 77=>833, 78=>722, + 79=>778, 80=>667, 81=>778, 82=>722, 83=>667, 84=>611, 85=>722, 86=>667, 87=>944, 88=>667, 89=>667, 90=>611, 91=>278, 92=>278, 93=>278, 94=>469, + 95=>556, 96=>333, 97=>556, 98=>556, 99=>500, 100=>556, 101=>556, 102=>278, 103=>556, 104=>556, 105=>222, 106=>222, 107=>500, 108=>222, 109=>833, 110=>556, + 111=>556, 112=>556, 113=>556, 114=>333, 115=>500, 116=>278, 117=>556, 118=>500, 119=>722, 120=>500, 121=>500, 122=>500, 123=>334, 124=>260, 125=>334, 126=>584, + 8364=>556, 1027=>611, 8218=>222, 402=>556, 8222=>333, 8230=>1000, 8224=>556, 8225=>556, 710=>333, 8240=>1000, 352=>667, 8249=>333, 338=>1000, 1036=>667, 381=>611, 1039=>722, + 8216=>222, 8217=>222, 8220=>333, 8221=>333, 8226=>350, 8211=>556, 8212=>1000, 732=>333, 8482=>1000, 353=>500, 8250=>333, 339=>944, 1116=>500, 382=>500, 376=>667, 161=>333, + 162=>556, 163=>556, 164=>556, 165=>556, 166=>260, 167=>556, 168=>333, 169=>737, 170=>370, 171=>556, 172=>584, 173=>333, 174=>737, 175=>333, 176=>606, 177=>584, + 178=>390, 179=>390, 180=>333, 181=>556, 182=>537, 183=>278, 184=>333, 185=>390, 186=>365, 187=>556, 188=>947, 189=>947, 190=>947, 191=>611, 192=>667, 193=>667, + 194=>667, 195=>667, 196=>667, 197=>667, 198=>1000, 199=>722, 200=>667, 201=>667, 202=>667, 203=>667, 204=>278, 205=>278, 206=>278, 207=>278, 208=>722, 209=>722, + 210=>778, 211=>778, 212=>778, 213=>778, 214=>778, 215=>584, 216=>778, 217=>722, 218=>722, 219=>722, 220=>722, 221=>667, 222=>667, 223=>611, 224=>556, 225=>556, + 226=>556, 227=>556, 228=>556, 229=>556, 230=>889, 231=>500, 232=>556, 233=>556, 234=>556, 235=>556, 236=>278, 237=>278, 238=>278, 239=>278, 240=>556, 241=>556, + 242=>556, 243=>556, 244=>556, 245=>556, 246=>556, 247=>584, 248=>611, 249=>556, 250=>556, 251=>556, 252=>556, 253=>500, 254=>556, 255=>500, 256=>667, 257=>556, + 258=>667, 259=>556, 260=>667, 261=>556, 262=>722, 263=>500, 264=>722, 265=>500, 266=>722, 267=>500, 268=>722, 269=>500, 270=>722, 271=>650, 272=>722, 273=>556, + 274=>667, 275=>556, 276=>667, 277=>556, 278=>667, 279=>556, 280=>667, 281=>556, 282=>667, 283=>556, 284=>778, 285=>556, 286=>778, 287=>556, 288=>778, 289=>556, + 290=>778, 291=>527, 292=>722, 293=>556, 294=>722, 295=>556, 296=>278, 297=>278, 298=>278, 299=>222, 300=>278, 301=>278, 302=>278, 303=>222, 304=>278, 305=>278, + 306=>742, 307=>362, 308=>500, 309=>222, 310=>667, 311=>500, 312=>510, 313=>556, 314=>222, 315=>556, 316=>222, 317=>556, 318=>307, 319=>556, 320=>500, 321=>556, + 322=>222, 323=>722, 324=>556, 325=>722, 326=>556, 327=>722, 328=>556, 329=>556, 330=>722, 331=>556, 332=>778, 333=>556, 334=>778, 335=>556, 336=>778, 337=>556, + 340=>722, 341=>333, 342=>722, 343=>333, 344=>722, 345=>333, 346=>667, 347=>500, 348=>667, 349=>500, 350=>667, 351=>500, 354=>611, 355=>278, 356=>611, 357=>319, + 358=>611, 359=>278, 360=>722, 361=>556, 362=>722, 363=>556, 364=>722, 365=>556, 366=>722, 367=>556, 368=>722, 369=>556, 370=>722, 371=>556, 372=>944, 373=>722, + 374=>667, 375=>500, 377=>611, 378=>500, 379=>611, 380=>500, 383=>278, 461=>667, 462=>556, 463=>278, 464=>278, 465=>778, 466=>556, 467=>722, 468=>556, 469=>722, + 470=>556, 471=>722, 472=>556, 473=>722, 474=>556, 475=>722, 476=>556, 478=>667, 479=>556, 482=>1000, 483=>889, 486=>778, 487=>556, 488=>667, 489=>500, 490=>778, + 491=>556, 492=>778, 493=>556, 496=>222, 500=>778, 501=>556, 504=>722, 505=>556, 506=>667, 507=>556, 508=>1000, 509=>889, 510=>778, 511=>611, 512=>667, 513=>556, + 514=>667, 515=>556, 516=>667, 517=>556, 518=>667, 519=>556, 520=>278, 521=>278, 522=>278, 523=>278, 524=>778, 525=>556, 526=>778, 527=>556, 528=>722, 529=>333, + 530=>722, 531=>333, 532=>722, 533=>556, 534=>722, 535=>556, 536=>667, 537=>500, 538=>611, 539=>278, 711=>333, 728=>333, 729=>333, 730=>333, 731=>333, 733=>333, + 768=>0, 769=>0, 770=>0, 771=>0, 772=>0, 774=>0, 775=>0, 776=>0, 778=>0, 779=>0, 783=>0, 785=>0, 787=>0, 788=>0, 884=>199, 885=>199, + 890=>332, 894=>278, 900=>291, 901=>624, 902=>659, 903=>358, 904=>657, 905=>678, 906=>183, 908=>729, 910=>699, 911=>747, 912=>286, 913=>684, 914=>628, 915=>582, + 916=>684, 917=>650, 918=>628, 919=>683, 920=>750, 921=>236, 922=>684, 923=>684, 924=>800, 925=>654, 926=>630, 927=>750, 928=>721, 929=>638, 931=>628, 932=>628, + 933=>684, 934=>717, 935=>723, 936=>745, 937=>720, 938=>236, 939=>684, 940=>593, 941=>519, 942=>595, 943=>271, 944=>515, 945=>596, 946=>516, 947=>531, 948=>560, + 949=>510, 950=>462, 951=>526, 952=>526, 953=>286, 954=>516, 955=>560, 956=>607, 957=>504, 958=>470, 959=>550, 960=>661, 961=>566, 962=>535, 963=>616, 964=>532, + 965=>515, 966=>741, 967=>572, 968=>662, 969=>740, 970=>286, 971=>515, 972=>535, 973=>503, 974=>725, 1024=>667, 1025=>667, 1026=>766, 1028=>722, 1029=>667, 1030=>278, + 1031=>278, 1032=>500, 1033=>968, 1034=>1173, 1035=>766, 1037=>731, 1038=>650, 1040=>667, 1041=>639, 1042=>667, 1043=>611, 1044=>816, 1045=>667, 1046=>897, 1047=>652, 1048=>731, + 1049=>731, 1050=>664, 1051=>646, 1052=>833, 1053=>722, 1054=>778, 1055=>722, 1056=>667, 1057=>722, 1058=>611, 1059=>530, 1060=>891, 1061=>667, 1062=>722, 1063=>642, 1064=>836, + 1065=>837, 1066=>866, 1067=>886, 1068=>698, 1069=>717, 1070=>1079, 1071=>691, 1072=>556, 1073=>556, 1074=>538, 1075=>430, 1076=>640, 1077=>556, 1078=>818, 1079=>495, 1080=>560, + 1081=>560, 1082=>510, 1083=>556, 1084=>621, 1085=>561, 1086=>556, 1087=>560, 1088=>556, 1089=>500, 1090=>400, 1091=>500, 1092=>916, 1093=>500, 1094=>560, 1095=>497, 1096=>695, + 1097=>695, 1098=>640, 1099=>734, 1100=>523, 1101=>534, 1102=>788, 1103=>564, 1104=>556, 1105=>556, 1106=>568, 1107=>430, 1108=>500, 1109=>500, 1110=>222, 1111=>278, 1112=>222, + 1113=>840, 1114=>850, 1115=>568, 1117=>560, 1118=>500, 1119=>560, 1164=>698, 1165=>523, 1166=>667, 1167=>556, 1168=>611, 1169=>430, 1170=>611, 1171=>430, 1172=>611, 1173=>430, + 1174=>897, 1175=>818, 1176=>652, 1177=>495, 1178=>664, 1179=>510, 1180=>664, 1181=>510, 1182=>664, 1183=>510, 1184=>664, 1185=>510, 1186=>722, 1187=>561, 1188=>722, 1189=>561, + 1190=>722, 1191=>560, 1192=>722, 1193=>495, 1194=>722, 1195=>495, 1196=>611, 1197=>400, 1198=>667, 1199=>500, 1200=>667, 1201=>500, 1202=>665, 1203=>496, 1204=>722, 1205=>560, + 1206=>642, 1207=>497, 1208=>642, 1209=>497, 1210=>642, 1211=>497, 1212=>722, 1213=>495, 1214=>722, 1215=>495, 1216=>278, 1217=>897, 1218=>818, 1219=>664, 1220=>510, 1223=>722, + 1224=>561, 1227=>642, 1228=>497, 1232=>667, 1233=>556, 1234=>667, 1235=>556, 1236=>1000, 1237=>889, 1238=>667, 1239=>556, 1240=>722, 1241=>495, 1242=>722, 1243=>495, 1244=>897, + 1245=>818, 1246=>652, 1247=>495, 1248=>652, 1249=>495, 1250=>731, 1251=>560, 1252=>731, 1253=>560, 1254=>778, 1255=>556, 1256=>780, 1257=>554, 1258=>780, 1259=>554, 1260=>717, + 1261=>534, 1262=>530, 1263=>500, 1264=>530, 1265=>500, 1266=>530, 1267=>500, 1268=>642, 1269=>497, 1272=>886, 1273=>734, 1329=>722, 1330=>705, 1331=>774, 1332=>754, 1333=>722, + 1334=>751, 1335=>485, 1336=>722, 1337=>782, 1338=>655, 1339=>699, 1340=>417, 1341=>853, 1342=>791, 1343=>711, 1344=>588, 1345=>663, 1346=>665, 1347=>665, 1348=>756, 1349=>623, + 1350=>773, 1351=>603, 1352=>722, 1353=>648, 1354=>722, 1355=>751, 1356=>750, 1357=>722, 1358=>748, 1359=>667, 1360=>699, 1361=>623, 1362=>417, 1363=>785, 1364=>638, 1365=>778, + 1366=>716, 1370=>222, 1371=>133, 1372=>325, 1373=>333, 1374=>344, 1377=>833, 1378=>556, 1379=>572, 1380=>581, 1381=>550, 1382=>588, 1383=>448, 1384=>556, 1385=>568, 1386=>582, + 1387=>545, 1388=>301, 1389=>799, 1390=>556, 1391=>554, 1392=>533, 1393=>548, 1394=>552, 1395=>552, 1396=>544, 1397=>222, 1398=>544, 1399=>456, 1400=>556, 1401=>390, 1402=>833, + 1403=>509, 1404=>547, 1405=>533, 1406=>610, 1407=>887, 1408=>556, 1409=>545, 1410=>352, 1411=>853, 1412=>588, 1413=>579, 1414=>690, 1415=>545, 1417=>278, 1418=>367, 1456=>70, + 1457=>335, 1458=>329, 1459=>329, 1460=>70, 1461=>200, 1462=>200, 1463=>188, 1464=>188, 1465=>70, 1467=>329, 1468=>70, 1469=>70, 1470=>488, 1471=>200, 1472=>212, 1473=>0, + 1474=>0, 1475=>278, 1476=>70, 1488=>640, 1489=>591, 1490=>466, 1491=>598, 1492=>622, 1493=>212, 1494=>351, 1495=>623, 1496=>608, 1497=>200, 1498=>526, 1499=>550, 1500=>600, + 1501=>623, 1502=>621, 1503=>212, 1504=>378, 1505=>607, 1506=>587, 1507=>575, 1508=>568, 1509=>540, 1510=>590, 1511=>606, 1512=>547, 1513=>776, 1514=>687, 1520=>424, 1521=>412, + 1522=>400, 1523=>184, 1524=>344, 7936=>596, 7937=>596, 7938=>596, 7939=>596, 7940=>596, 7941=>596, 7942=>596, 7943=>596, 7944=>684, 7945=>684, 7946=>684, 7947=>684, 7948=>684, + 7949=>684, 7950=>684, 7951=>684, 7952=>510, 7953=>510, 7954=>510, 7955=>510, 7956=>510, 7957=>510, 7960=>650, 7961=>650, 7962=>650, 7963=>650, 7964=>650, 7965=>650, 7968=>526, + 7969=>526, 7970=>526, 7971=>526, 7972=>526, 7973=>526, 7974=>526, 7975=>526, 7976=>683, 7977=>683, 7978=>683, 7979=>683, 7980=>683, 7981=>683, 7982=>683, 7983=>683, 7984=>286, + 7985=>286, 7986=>286, 7987=>286, 7988=>286, 7989=>286, 7990=>286, 7991=>286, 7992=>236, 7993=>236, 7994=>236, 7995=>236, 7996=>236, 7997=>236, 7998=>236, 7999=>236, 8000=>550, + 8001=>550, 8002=>550, 8003=>550, 8004=>550, 8005=>550, 8008=>750, 8009=>750, 8010=>750, 8011=>750, 8012=>750, 8013=>750, 8016=>515, 8017=>515, 8018=>515, 8019=>515, 8020=>515, + 8021=>515, 8022=>515, 8023=>515, 8025=>684, 8027=>684, 8029=>684, 8031=>684, 8032=>740, 8033=>740, 8034=>740, 8035=>740, 8036=>740, 8037=>740, 8038=>740, 8039=>740, 8040=>720, + 8041=>720, 8042=>720, 8043=>720, 8044=>720, 8045=>720, 8046=>720, 8047=>720, 8048=>596, 8049=>596, 8050=>510, 8051=>510, 8052=>526, 8053=>526, 8054=>286, 8055=>286, 8056=>550, + 8057=>550, 8058=>515, 8059=>515, 8060=>740, 8061=>740, 8064=>596, 8065=>596, 8066=>596, 8067=>596, 8068=>596, 8069=>596, 8070=>596, 8071=>596, 8072=>900, 8073=>900, 8074=>900, + 8075=>900, 8076=>900, 8077=>900, 8078=>900, 8079=>900, 8080=>526, 8081=>526, 8082=>526, 8083=>526, 8084=>526, 8085=>526, 8086=>526, 8087=>526, 8088=>899, 8089=>899, 8090=>899, + 8091=>899, 8092=>899, 8093=>899, 8094=>899, 8095=>899, 8096=>740, 8097=>740, 8098=>740, 8099=>740, 8100=>740, 8101=>740, 8102=>740, 8103=>740, 8104=>936, 8105=>936, 8106=>936, + 8107=>936, 8108=>936, 8109=>936, 8110=>936, 8111=>936, 8112=>596, 8113=>596, 8114=>596, 8115=>596, 8116=>593, 8118=>596, 8119=>596, 8120=>684, 8121=>684, 8122=>684, 8123=>684, + 8124=>900, 8125=>278, 8126=>201, 8127=>147, 8128=>278, 8129=>333, 8130=>526, 8131=>526, 8132=>595, 8134=>526, 8135=>526, 8136=>650, 8137=>650, 8138=>683, 8139=>683, 8140=>899, + 8141=>602, 8142=>601, 8143=>333, 8144=>286, 8145=>286, 8146=>286, 8147=>286, 8150=>286, 8151=>286, 8152=>236, 8153=>236, 8154=>236, 8155=>236, 8157=>434, 8158=>433, 8159=>333, + 8160=>515, 8161=>515, 8162=>515, 8163=>515, 8164=>566, 8165=>566, 8166=>515, 8167=>515, 8168=>684, 8169=>684, 8170=>684, 8171=>684, 8172=>638, 8173=>333, 8174=>624, 8175=>303, + 8178=>740, 8179=>740, 8180=>725, 8182=>740, 8183=>740, 8184=>750, 8185=>750, 8186=>720, 8187=>720, 8188=>936, 8189=>333, 8190=>159, 8260=>167, 8362=>869, 8706=>490, 8710=>712, + 8721=>711, 8722=>584, 8730=>542, 8800=>584, 8804=>584, 8805=>584, 9674=>489, 63033=>556, 63034=>556, 63035=>556, 63036=>556, 63037=>556, 63038=>556, 63039=>556, 63040=>556, 63041=>556, + 63166=>222, 63171=>333, 63196=>556, 64256=>556, 64257=>500, 64258=>500, 64259=>778, 64260=>778, 64261=>556, 64262=>778, 64285=>200, 64286=>305, 64287=>400, 64288=>587, 64289=>890, 64290=>848, + 64291=>872, 64292=>800, 64293=>850, 64294=>873, 64295=>797, 64296=>937, 64297=>584, 64298=>776, 64299=>776, 64300=>776, 64301=>776, 64302=>640, 64303=>640, 64304=>640, 64305=>591, 64306=>466, + 64307=>598, 64308=>622, 64309=>262, 64310=>351, 64312=>608, 64313=>270, 64314=>526, 64315=>550, 64316=>600, 64318=>621, 64320=>378, 64321=>607, 64323=>575, 64324=>568, 64326=>590, 64327=>606, + 64328=>547, 64329=>776, 64330=>687, 64331=>212, 64332=>591, 64333=>550, 64334=>568, 64335=>640); +$enc=''; +$diff=''; +$file='FreeSansOblique.z'; +$ctg='FreeSansOblique.ctg.z'; +$originalsize=110740; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freeserif.php b/htdocs/includes/fpdf/tcpdf/fonts/freeserif.php new file mode 100644 index 00000000000..396795860c2 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freeserif.php @@ -0,0 +1,233 @@ +1166,'Descent'=>-446,'CapHeight'=>1166,'Flags'=>32,'FontBBox'=>'[-672 -446 1588 1166]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>600); +$up=-100; +$ut=50; +$cw=array( + 13=>333, 32=>250, 33=>333, 34=>408, 35=>500, 36=>500, 37=>833, 38=>778, 39=>180, 40=>333, 41=>333, 42=>500, 43=>564, 44=>250, 45=>333, 46=>250, + 47=>278, 48=>500, 49=>500, 50=>500, 51=>500, 52=>500, 53=>500, 54=>500, 55=>500, 56=>500, 57=>500, 58=>278, 59=>278, 60=>564, 61=>564, 62=>564, + 63=>444, 64=>921, 65=>722, 66=>667, 67=>667, 68=>722, 69=>611, 70=>556, 71=>722, 72=>722, 73=>333, 74=>389, 75=>722, 76=>611, 77=>889, 78=>722, + 79=>722, 80=>556, 81=>722, 82=>667, 83=>556, 84=>611, 85=>722, 86=>722, 87=>944, 88=>722, 89=>722, 90=>611, 91=>333, 92=>278, 93=>333, 94=>469, + 95=>500, 96=>333, 97=>444, 98=>500, 99=>444, 100=>500, 101=>444, 102=>333, 103=>500, 104=>500, 105=>278, 106=>278, 107=>500, 108=>278, 109=>778, 110=>500, + 111=>500, 112=>500, 113=>500, 114=>333, 115=>389, 116=>278, 117=>500, 118=>500, 119=>722, 120=>500, 121=>500, 122=>444, 123=>480, 124=>200, 125=>480, 126=>541, + 8364=>500, 1027=>556, 8218=>333, 1107=>418, 8222=>444, 8230=>1000, 8224=>500, 8225=>500, 710=>333, 8240=>1000, 352=>556, 8249=>333, 338=>889, 1036=>722, 381=>611, 1039=>722, + 8216=>333, 8217=>333, 8220=>444, 8221=>444, 8226=>350, 8211=>500, 8212=>1000, 732=>333, 8482=>980, 353=>389, 8250=>333, 339=>722, 1116=>500, 382=>444, 376=>722, 161=>333, + 162=>500, 163=>500, 164=>500, 165=>500, 166=>200, 167=>500, 168=>333, 169=>760, 170=>276, 171=>500, 172=>564, 174=>760, 175=>333, 176=>400, 177=>564, 178=>300, + 179=>300, 180=>333, 181=>500, 182=>453, 183=>250, 184=>333, 185=>300, 186=>310, 187=>500, 188=>750, 189=>750, 190=>750, 191=>444, 192=>722, 193=>722, 194=>722, + 195=>722, 196=>722, 197=>722, 198=>889, 199=>667, 200=>611, 201=>611, 202=>611, 203=>611, 204=>333, 205=>333, 206=>333, 207=>333, 208=>722, 209=>722, 210=>722, + 211=>722, 212=>722, 213=>722, 214=>722, 215=>564, 216=>722, 217=>722, 218=>722, 219=>722, 220=>722, 221=>722, 222=>556, 223=>500, 224=>444, 225=>444, 226=>444, + 227=>444, 228=>444, 229=>444, 230=>667, 231=>444, 232=>444, 233=>444, 234=>444, 235=>444, 236=>278, 237=>278, 238=>278, 239=>278, 240=>500, 241=>500, 242=>500, + 243=>500, 244=>500, 245=>500, 246=>500, 247=>564, 248=>500, 249=>500, 250=>500, 251=>500, 252=>500, 253=>500, 254=>500, 255=>500, 256=>722, 257=>444, 258=>722, + 259=>444, 260=>722, 261=>444, 262=>667, 263=>444, 264=>667, 265=>444, 266=>667, 267=>444, 268=>667, 269=>444, 270=>722, 271=>600, 272=>722, 273=>500, 274=>611, + 275=>444, 276=>611, 277=>444, 278=>611, 279=>444, 280=>611, 281=>444, 282=>611, 283=>444, 284=>722, 285=>500, 286=>722, 287=>500, 288=>722, 289=>500, 290=>722, + 291=>500, 292=>722, 293=>500, 294=>722, 295=>548, 296=>333, 297=>278, 298=>333, 299=>278, 300=>333, 301=>278, 302=>333, 303=>278, 304=>333, 305=>278, 306=>728, + 307=>480, 308=>389, 309=>278, 310=>722, 311=>500, 312=>500, 313=>611, 314=>278, 315=>611, 316=>278, 317=>611, 318=>348, 319=>832, 320=>444, 321=>611, 322=>278, + 323=>722, 324=>500, 325=>722, 326=>500, 327=>722, 328=>500, 329=>556, 330=>722, 331=>500, 332=>722, 333=>500, 334=>722, 335=>500, 336=>722, 337=>500, 340=>667, + 341=>333, 342=>667, 343=>333, 344=>667, 345=>333, 346=>556, 347=>389, 348=>556, 349=>389, 350=>556, 351=>389, 354=>611, 355=>278, 356=>611, 357=>278, 358=>611, + 359=>278, 360=>722, 361=>500, 362=>722, 363=>500, 364=>722, 365=>500, 366=>722, 367=>500, 368=>722, 369=>500, 370=>722, 371=>500, 372=>944, 373=>722, 374=>722, + 375=>500, 377=>611, 378=>444, 379=>611, 380=>444, 383=>333, 439=>1000, 450=>600, 452=>1333, 453=>1166, 454=>944, 455=>1000, 456=>889, 457=>556, 458=>1120, 459=>990, + 460=>778, 461=>722, 462=>444, 463=>333, 464=>278, 465=>722, 466=>500, 467=>722, 468=>500, 469=>722, 470=>500, 471=>722, 472=>500, 473=>722, 474=>500, 475=>722, + 476=>500, 477=>444, 478=>722, 479=>444, 480=>722, 481=>444, 482=>889, 483=>667, 484=>722, 485=>500, 486=>722, 487=>500, 488=>722, 489=>500, 490=>722, 491=>500, + 492=>722, 493=>500, 494=>615, 495=>456, 496=>278, 497=>1333, 498=>1166, 499=>944, 500=>722, 501=>500, 504=>722, 505=>500, 506=>722, 507=>444, 508=>889, 509=>667, + 510=>722, 511=>500, 512=>722, 513=>444, 514=>722, 515=>444, 516=>611, 517=>444, 518=>611, 519=>444, 520=>333, 521=>278, 522=>333, 523=>278, 524=>722, 525=>500, + 526=>722, 527=>500, 528=>667, 529=>333, 530=>667, 531=>333, 532=>722, 533=>500, 534=>722, 535=>500, 536=>556, 537=>389, 538=>611, 539=>278, 542=>722, 543=>500, + 550=>722, 551=>444, 552=>611, 553=>444, 554=>722, 555=>500, 556=>722, 557=>500, 558=>722, 559=>500, 560=>722, 561=>500, 562=>722, 563=>500, 601=>1000, 658=>1000, + 699=>333, 700=>500, 701=>500, 702=>333, 703=>333, 711=>333, 713=>333, 714=>333, 715=>333, 718=>333, 719=>333, 724=>333, 725=>333, 726=>333, 727=>333, 728=>333, + 729=>333, 730=>333, 731=>333, 733=>333, 768=>0, 769=>0, 770=>0, 771=>0, 772=>0, 773=>0, 774=>0, 775=>0, 776=>0, 777=>0, 778=>0, 779=>0, + 780=>0, 781=>0, 782=>0, 783=>0, 784=>0, 785=>0, 786=>0, 787=>0, 788=>0, 789=>0, 790=>0, 791=>0, 792=>0, 793=>0, 794=>0, 795=>0, + 796=>0, 797=>0, 798=>0, 799=>0, 800=>0, 801=>0, 802=>0, 803=>0, 804=>0, 805=>0, 806=>0, 807=>0, 808=>0, 809=>0, 810=>0, 811=>0, + 812=>0, 813=>0, 814=>0, 815=>0, 816=>0, 817=>0, 818=>0, 819=>0, 820=>0, 821=>0, 822=>0, 823=>0, 824=>0, 825=>0, 826=>0, 827=>0, + 828=>0, 829=>0, 830=>0, 831=>0, 832=>0, 833=>0, 834=>0, 835=>0, 836=>0, 837=>0, 864=>0, 865=>0, 884=>199, 885=>199, 890=>332, 894=>278, + 900=>186, 901=>332, 902=>722, 903=>250, 904=>611, 905=>722, 906=>333, 908=>722, 910=>696, 911=>757, 912=>267, 913=>722, 914=>667, 915=>586, 916=>660, 917=>611, + 918=>611, 919=>722, 920=>726, 921=>333, 922=>722, 923=>722, 924=>889, 925=>722, 926=>628, 927=>722, 928=>722, 929=>556, 931=>627, 932=>611, 933=>696, 934=>742, + 935=>722, 936=>863, 937=>757, 938=>333, 939=>656, 940=>587, 941=>426, 942=>534, 943=>267, 944=>534, 945=>587, 946=>534, 947=>480, 948=>534, 949=>426, 950=>480, + 951=>534, 952=>534, 953=>267, 954=>527, 955=>480, 956=>534, 957=>480, 958=>480, 959=>534, 960=>587, 961=>534, 962=>439, 963=>534, 964=>426, 965=>534, 966=>640, + 967=>480, 968=>693, 969=>693, 970=>267, 971=>534, 972=>534, 973=>534, 974=>693, 976=>534, 977=>534, 978=>696, 979=>696, 980=>696, 981=>640, 982=>587, 986=>510, + 987=>426, 988=>611, 989=>470, 990=>613, 991=>613, 992=>627, 993=>526, 1024=>611, 1025=>667, 1026=>768, 1028=>667, 1029=>556, 1030=>333, 1031=>333, 1032=>389, 1033=>969, + 1034=>980, 1035=>698, 1037=>722, 1038=>746, 1040=>771, 1041=>646, 1042=>667, 1043=>626, 1044=>747, 1045=>667, 1046=>997, 1047=>532, 1048=>824, 1049=>715, 1050=>750, 1051=>750, + 1052=>990, 1053=>823, 1054=>771, 1055=>818, 1056=>604, 1057=>719, 1058=>667, 1059=>731, 1060=>869, 1061=>771, 1062=>823, 1063=>747, 1064=>1122, 1065=>1122, 1066=>757, 1067=>981, + 1068=>646, 1069=>698, 1070=>1104, 1071=>749, 1072=>500, 1073=>552, 1074=>500, 1075=>443, 1076=>531, 1077=>438, 1078=>716, 1079=>417, 1080=>527, 1081=>527, 1082=>525, 1083=>530, + 1084=>666, 1085=>565, 1086=>552, 1087=>565, 1088=>552, 1089=>438, 1090=>476, 1091=>500, 1092=>667, 1093=>500, 1094=>497, 1095=>531, 1096=>810, 1097=>810, 1098=>556, 1099=>719, + 1100=>491, 1101=>445, 1102=>783, 1103=>487, 1104=>444, 1105=>438, 1106=>548, 1108=>444, 1109=>389, 1110=>278, 1111=>278, 1112=>278, 1113=>714, 1114=>706, 1115=>548, 1117=>500, + 1118=>500, 1119=>500, 1120=>1056, 1121=>693, 1122=>654, 1123=>567, 1124=>969, 1125=>686, 1126=>730, 1127=>502, 1128=>1059, 1129=>765, 1130=>997, 1131=>716, 1132=>1295, 1133=>963, + 1134=>532, 1135=>473, 1136=>863, 1137=>693, 1138=>726, 1139=>500, 1140=>801, 1141=>480, 1142=>801, 1143=>480, 1144=>1356, 1145=>969, 1146=>771, 1147=>500, 1148=>1056, 1149=>693, + 1150=>1056, 1151=>693, 1152=>754, 1153=>497, 1154=>424, 1155=>369, 1156=>689, 1157=>445, 1158=>445, 1160=>1080, 1161=>1076, 1162=>824, 1163=>565, 1164=>556, 1165=>504, 1166=>556, + 1167=>500, 1168=>556, 1169=>418, 1170=>556, 1171=>418, 1172=>573, 1173=>468, 1174=>1053, 1175=>766, 1176=>556, 1177=>389, 1178=>722, 1179=>500, 1180=>722, 1181=>500, 1182=>722, + 1183=>500, 1184=>852, 1185=>671, 1186=>722, 1187=>500, 1188=>984, 1189=>660, 1190=>1014, 1191=>714, 1192=>722, 1193=>542, 1194=>667, 1195=>444, 1196=>611, 1197=>484, 1198=>722, + 1199=>500, 1200=>722, 1201=>500, 1202=>722, 1203=>500, 1204=>967, 1205=>723, 1206=>722, 1207=>500, 1208=>722, 1209=>500, 1210=>722, 1211=>500, 1212=>866, 1213=>561, 1214=>866, + 1215=>561, 1216=>333, 1217=>1053, 1218=>766, 1219=>722, 1220=>500, 1221=>750, 1222=>530, 1223=>722, 1224=>500, 1225=>823, 1226=>565, 1227=>722, 1228=>500, 1229=>990, 1230=>666, + 1231=>500, 1232=>722, 1233=>444, 1234=>722, 1235=>444, 1236=>889, 1237=>667, 1238=>611, 1239=>444, 1240=>722, 1241=>444, 1242=>716, 1243=>444, 1244=>1053, 1245=>766, 1246=>556, + 1247=>389, 1248=>556, 1249=>389, 1250=>722, 1251=>500, 1252=>722, 1253=>500, 1254=>722, 1255=>500, 1256=>722, 1257=>500, 1258=>722, 1259=>500, 1260=>667, 1261=>444, 1262=>746, + 1263=>500, 1264=>746, 1265=>500, 1266=>746, 1267=>500, 1268=>722, 1269=>500, 1272=>940, 1273=>710, 1280=>556, 1281=>500, 1282=>900, 1283=>819, 1284=>605, 1285=>515, 1286=>841, + 1287=>566, 1288=>974, 1289=>530, 1290=>1035, 1291=>565, 1292=>722, 1293=>444, 1294=>611, 1295=>476, 1457=>0, 1458=>0, 1460=>0, 1461=>0, 1462=>0, 1463=>0, 1464=>0, + 1465=>0, 1467=>0, 1468=>0, 1472=>126, 1475=>418, 1488=>537, 1489=>537, 1490=>350, 1491=>537, 1492=>537, 1493=>350, 1494=>350, 1495=>537, 1496=>537, 1497=>350, 1498=>537, + 1499=>537, 1500=>537, 1501=>537, 1502=>537, 1503=>350, 1504=>350, 1505=>537, 1506=>537, 1507=>537, 1508=>537, 1509=>537, 1510=>537, 1511=>537, 1512=>537, 1513=>537, 1514=>537, + 1520=>537, 1521=>537, 1522=>537, 1523=>396, 1524=>396, 1548=>226, 1563=>250, 1567=>473, 1569=>350, 1570=>321, 1571=>249, 1572=>399, 1573=>249, 1574=>776, 1575=>249, 1576=>950, + 1577=>424, 1578=>925, 1579=>924, 1580=>750, 1581=>748, 1582=>701, 1583=>397, 1584=>399, 1585=>328, 1586=>331, 1587=>951, 1588=>949, 1589=>949, 1590=>949, 1591=>557, 1592=>550, + 1593=>625, 1594=>602, 1601=>801, 1602=>696, 1603=>757, 1604=>655, 1605=>549, 1606=>651, 1607=>424, 1608=>399, 1609=>776, 1610=>776, 1611=>300, 1613=>300, 1614=>300, 1615=>300, + 1616=>300, 1617=>300, 1632=>297, 1633=>254, 1634=>427, 1635=>497, 1636=>440, 1637=>465, 1638=>466, 1639=>421, 1640=>459, 1641=>424, 1643=>212, 1652=>300, 1662=>926, 1670=>750, + 1688=>338, 1711=>874, 1740=>776, 1748=>176, 1920=>395, 1921=>440, 1922=>511, 1923=>478, 1924=>424, 1925=>380, 1926=>394, 1927=>406, 1928=>416, 1929=>414, 1930=>412, 1931=>472, + 1932=>439, 1933=>452, 1934=>414, 1935=>503, 1936=>773, 1937=>387, 1938=>419, 1939=>522, 1940=>412, 1941=>394, 1942=>388, 1943=>456, 1944=>504, 1945=>404, 1946=>393, 1947=>436, + 1948=>475, 1949=>779, 1950=>775, 1951=>846, 1952=>490, 1953=>444, 1954=>414, 1955=>487, 1956=>404, 1957=>427, 1958=>32, 1959=>32, 1960=>39, 1961=>40, 1962=>39, 1963=>40, + 1964=>40, 1965=>40, 1966=>40, 1967=>40, 1968=>0, 2305=>415, 2306=>398, 2307=>398, 2309=>862, 2310=>1042, 2311=>553, 2312=>553, 2313=>597, 2314=>848, 2315=>967, 2316=>828, + 2317=>654, 2319=>654, 2321=>1042, 2323=>1042, 2324=>1042, 2325=>743, 2326=>798, 2327=>694, 2328=>694, 2329=>730, 2330=>734, 2331=>888, 2332=>814, 2333=>834, 2334=>734, 2335=>629, + 2336=>629, 2337=>653, 2338=>609, 2339=>694, 2340=>654, 2341=>694, 2342=>588, 2343=>694, 2344=>654, 2345=>654, 2346=>615, 2347=>788, 2348=>621, 2349=>694, 2350=>694, 2351=>694, + 2352=>575, 2353=>575, 2354=>787, 2355=>848, 2356=>848, 2357=>621, 2359=>615, 2360=>734, 2361=>609, 2364=>398, 2365=>569, 2366=>341, 2367=>341, 2368=>341, 2369=>0, 2370=>0, + 2371=>0, 2372=>0, 2373=>415, 2375=>615, 2376=>615, 2377=>341, 2379=>341, 2380=>341, 2381=>0, 2384=>1047, 2392=>743, 2393=>798, 2394=>694, 2395=>814, 2396=>653, 2397=>609, + 2398=>788, 2400=>967, 2401=>828, 2402=>0, 2403=>0, 2404=>398, 2405=>478, 2406=>455, 2407=>420, 2408=>569, 2409=>509, 2410=>702, 2411=>629, 2412=>569, 2413=>702, 2414=>609, + 2415=>609, 2416=>626, 2433=>300, 2434=>400, 2435=>300, 2437=>640, 2438=>780, 2439=>520, 2440=>520, 2441=>530, 2442=>550, 2443=>610, 2444=>420, 2447=>480, 2448=>620, 2451=>620, + 2452=>720, 2453=>652, 2454=>490, 2455=>490, 2456=>466, 2457=>540, 2458=>490, 2459=>540, 2460=>630, 2461=>590, 2462=>680, 2463=>510, 2464=>490, 2465=>520, 2466=>520, 2467=>470, + 2468=>540, 2469=>490, 2470=>470, 2471=>490, 2472=>452, 2474=>560, 2475=>650, 2476=>480, 2477=>588, 2478=>470, 2479=>470, 2480=>480, 2482=>472, 2486=>512, 2487=>470, 2488=>470, + 2489=>520, 2492=>160, 2494=>180, 2495=>180, 2496=>180, 2497=>320, 2498=>329, 2499=>195, 2500=>260, 2503=>340, 2504=>340, 2507=>740, 2508=>740, 2509=>400, 2519=>180, 2524=>540, + 2525=>520, 2527=>470, 2528=>612, 2529=>420, 2530=>234, 2531=>360, 2534=>460, 2535=>420, 2536=>520, 2537=>540, 2538=>400, 2539=>400, 2540=>560, 2541=>390, 2542=>480, 2543=>420, + 2544=>480, 2545=>470, 2546=>400, 2547=>470, 2548=>400, 2549=>400, 2550=>400, 2551=>120, 2552=>440, 2553=>420, 2554=>420, 2565=>744, 2566=>914, 2567=>690, 2568=>670, 2569=>596, + 2570=>596, 2575=>498, 2576=>744, 2579=>596, 2580=>744, 2581=>550, 2582=>534, 2583=>618, 2584=>690, 2585=>546, 2586=>518, 2587=>592, 2588=>492, 2589=>574, 2590=>514, 2591=>526, + 2592=>556, 2593=>524, 2594=>528, 2595=>574, 2596=>484, 2597=>534, 2598=>504, 2599=>534, 2600=>538, 2602=>534, 2603=>506, 2604=>562, 2605=>516, 2606=>546, 2607=>670, 2608=>538, + 2610=>726, 2611=>726, 2613=>514, 2614=>546, 2616=>546, 2617=>517, 2620=>286, 2622=>172, 2623=>190, 2624=>190, 2625=>1, 2626=>1, 2631=>1, 2632=>1, 2635=>1, 2636=>1, + 2637=>1, 2649=>534, 2650=>618, 2651=>492, 2652=>484, 2654=>506, 2662=>616, 2663=>480, 2664=>560, 2665=>480, 2666=>468, 2667=>492, 2668=>514, 2669=>538, 2670=>572, 2671=>560, + 2672=>1, 2674=>498, 2675=>596, 2676=>900, 2947=>806, 2949=>861, 2950=>1076, 2951=>861, 2952=>595, 2953=>861, 2954=>1206, 2958=>689, 2959=>689, 2960=>753, 2962=>689, 2963=>689, + 2965=>646, 2969=>646, 2970=>646, 2972=>753, 2974=>972, 2975=>753, 2979=>1261, 2980=>732, 2984=>646, 2985=>861, 2986=>658, 2990=>689, 2991=>646, 2992=>499, 2993=>560, 2994=>603, + 2995=>753, 2996=>689, 2997=>714, 2999=>947, 3000=>1033, 3001=>1292, 3006=>499, 3007=>418, 3014=>603, 3015=>603, 3016=>861, 3021=>278, 3074=>330, 3075=>225, 3077=>450, 3078=>457, + 3079=>397, 3080=>726, 3081=>439, 3082=>686, 3083=>824, 3084=>539, 3086=>395, 3087=>395, 3088=>423, 3090=>447, 3091=>442, 3092=>604, 3093=>370, 3094=>452, 3095=>398, 3096=>634, + 3097=>445, 3098=>433, 3099=>433, 3100=>445, 3101=>390, 3102=>592, 3103=>453, 3104=>388, 3105=>440, 3106=>439, 3107=>478, 3108=>420, 3109=>420, 3110=>421, 3111=>420, 3112=>413, + 3114=>424, 3115=>427, 3116=>415, 3117=>422, 3120=>396, 3122=>419, 3585=>581, 3586=>529, 3587=>596, 3588=>581, 3589=>594, 3590=>649, 3591=>494, 3592=>561, 3593=>690, 3594=>529, + 3595=>596, 3596=>792, 3597=>793, 3598=>632, 3599=>632, 3600=>562, 3601=>707, 3602=>795, 3603=>891, 3604=>580, 3605=>591, 3606=>581, 3607=>642, 3608=>555, 3609=>689, 3610=>615, + 3611=>615, 3612=>600, 3613=>600, 3614=>671, 3615=>671, 3616=>632, 3617=>591, 3618=>536, 3619=>511, 3620=>581, 3621=>561, 3622=>632, 3623=>559, 3624=>593, 3625=>701, 3626=>573, + 3627=>643, 3628=>773, 3629=>561, 3630=>561, 3631=>506, 3632=>501, 3633=>0, 3634=>466, 3635=>467, 3636=>0, 3637=>0, 3638=>0, 3639=>0, 3640=>0, 3641=>0, 3642=>0, + 3647=>667, 3648=>329, 3649=>582, 3650=>406, 3651=>406, 3652=>406, 3653=>267, 3654=>525, 3655=>0, 3656=>0, 3657=>0, 3658=>0, 3659=>0, 3660=>0, 3661=>0, 3662=>0, + 3663=>707, 3664=>568, 3665=>568, 3666=>615, 3667=>639, 3668=>679, 3669=>680, 3670=>515, 3671=>767, 3672=>643, 3673=>608, 3674=>683, 3675=>1485, 4608=>583, 4609=>770, 4610=>560, + 4611=>525, 4612=>525, 4613=>583, 4614=>758, 4616=>598, 4617=>787, 4618=>817, 4619=>583, 4620=>758, 4621=>612, 4622=>875, 4623=>817, 4624=>817, 4625=>1050, 4626=>1050, 4627=>817, + 4628=>1050, 4629=>817, 4630=>787, 4631=>1021, 4632=>933, 4633=>1137, 4634=>1067, 4635=>980, 4636=>1065, 4637=>962, 4638=>962, 4639=>1097, 4640=>831, 4641=>1021, 4642=>851, 4643=>735, + 4644=>875, 4645=>968, 4646=>817, 4647=>881, 4648=>583, 4649=>642, 4650=>583, 4651=>758, 4652=>700, 4653=>583, 4654=>700, 4655=>758, 4656=>583, 4657=>787, 4658=>787, 4659=>583, + 4660=>729, 4661=>583, 4662=>583, 4663=>817, 4664=>642, 4665=>817, 4666=>846, 4667=>642, 4668=>758, 4669=>744, 4670=>642, 4671=>817, 4672=>700, 4673=>700, 4674=>700, 4675=>758, + 4676=>700, 4677=>700, 4678=>729, 4680=>846, 4682=>1079, 4683=>700, 4684=>700, 4685=>1021, 4688=>700, 4689=>700, 4690=>700, 4691=>758, 4692=>700, 4693=>758, 4694=>729, 4696=>846, + 4698=>1079, 4699=>700, 4700=>700, 4701=>1021, 4704=>525, 4705=>758, 4706=>758, 4707=>525, 4708=>700, 4709=>773, 4710=>525, 4711=>787, 4712=>525, 4713=>758, 4714=>758, 4715=>525, + 4716=>700, 4717=>773, 4718=>525, 4719=>525, 4720=>729, 4721=>729, 4722=>729, 4723=>802, 4724=>729, 4725=>729, 4726=>758, 4727=>729, 4728=>758, 4729=>758, 4730=>758, 4731=>817, + 4732=>758, 4733=>817, 4734=>758, 4735=>758, 4736=>612, 4737=>817, 4738=>817, 4739=>612, 4740=>787, 4741=>583, 4742=>875, 4744=>962, 4746=>992, 4747=>700, 4748=>758, 4749=>904, + 4752=>408, 4753=>583, 4754=>525, 4755=>554, 4756=>481, 4757=>554, 4758=>642, 4759=>671, 4760=>700, 4761=>758, 4762=>729, 4763=>700, 4764=>671, 4765=>700, 4766=>758, 4767=>700, + 4768=>583, 4769=>735, 4770=>822, 4771=>583, 4772=>793, 4773=>583, 4774=>583, 4775=>694, 4776=>554, 4777=>729, 4778=>773, 4779=>554, 4780=>700, 4781=>554, 4782=>554, 4784=>992, + 4786=>1021, 4787=>671, 4788=>787, 4789=>904, 4792=>729, 4793=>904, 4794=>948, 4795=>729, 4796=>875, 4797=>729, 4798=>729, 4800=>1137, 4801=>1000, 4802=>1167, 4803=>758, 4804=>875, + 4805=>1108, 4808=>758, 4809=>875, 4810=>700, 4811=>700, 4812=>700, 4813=>992, 4814=>758, 4816=>554, 4817=>787, 4818=>758, 4819=>583, 4820=>758, 4821=>496, 4822=>612, 4824=>525, + 4825=>700, 4826=>700, 4827=>525, 4828=>685, 4829=>729, 4830=>510, 4831=>729, 4832=>962, 4833=>962, 4834=>962, 4835=>962, 4836=>962, 4837=>1021, 4838=>962, 4839=>962, 4840=>467, + 4841=>525, 4842=>671, 4843=>612, 4844=>612, 4845=>671, 4846=>671, 4848=>612, 4849=>875, 4850=>817, 4851=>642, 4852=>729, 4853=>729, 4854=>758, 4855=>817, 4856=>700, 4857=>758, + 4858=>715, 4859=>700, 4860=>700, 4861=>787, 4862=>758, 4863=>700, 4864=>700, 4865=>758, 4866=>715, 4867=>700, 4868=>700, 4869=>787, 4870=>758, 4871=>700, 4872=>467, 4873=>671, + 4874=>671, 4875=>612, 4876=>612, 4877=>583, 4878=>525, 4880=>846, 4882=>904, 4883=>554, 4884=>700, 4885=>817, 4888=>525, 4889=>729, 4890=>729, 4891=>612, 4892=>671, 4893=>583, + 4894=>525, 4896=>817, 4897=>1021, 4898=>1021, 4899=>817, 4900=>992, 4901=>758, 4902=>817, 4903=>1021, 4904=>1079, 4905=>1137, 4906=>1137, 4907=>1050, 4908=>1312, 4909=>1050, 4910=>1050, + 4911=>1123, 4912=>647, 4913=>793, 4914=>822, 4915=>647, 4916=>793, 4917=>764, 4918=>583, 4919=>647, 4920=>583, 4921=>793, 4922=>822, 4923=>583, 4924=>793, 4925=>764, 4926=>583, + 4927=>793, 4928=>540, 4929=>758, 4930=>583, 4931=>467, 4932=>583, 4933=>481, 4934=>612, 4936=>758, 4937=>700, 4938=>758, 4939=>700, 4940=>831, 4941=>671, 4942=>758, 4943=>700, + 4944=>758, 4945=>758, 4946=>758, 4947=>817, 4948=>758, 4949=>758, 4950=>817, 4951=>758, 4952=>642, 4953=>980, 4954=>758, 4961=>233, 4962=>583, 4963=>408, 4964=>408, 4965=>525, + 4966=>525, 4967=>233, 4968=>700, 4969=>671, 4970=>612, 4971=>642, 4972=>642, 4973=>642, 4974=>583, 4975=>700, 4976=>758, 4977=>642, 4978=>583, 4979=>700, 4980=>729, 4981=>720, + 4982=>583, 4983=>758, 4984=>700, 4985=>904, 4986=>612, 4987=>583, 4988=>875, 7680=>722, 7681=>444, 7682=>667, 7683=>500, 7684=>667, 7685=>500, 7686=>667, 7687=>500, 7688=>667, + 7689=>444, 7690=>722, 7691=>500, 7692=>722, 7693=>500, 7694=>722, 7695=>500, 7696=>722, 7697=>500, 7698=>722, 7699=>500, 7700=>611, 7701=>444, 7702=>611, 7703=>444, 7704=>611, + 7705=>444, 7706=>611, 7707=>444, 7708=>611, 7709=>444, 7710=>556, 7711=>333, 7712=>722, 7713=>500, 7714=>722, 7715=>500, 7716=>722, 7717=>500, 7718=>722, 7719=>500, 7720=>722, + 7721=>500, 7722=>722, 7723=>500, 7724=>333, 7725=>278, 7726=>333, 7727=>278, 7728=>722, 7729=>500, 7730=>722, 7731=>500, 7732=>722, 7733=>500, 7734=>611, 7735=>278, 7736=>611, + 7737=>278, 7738=>611, 7739=>278, 7740=>611, 7741=>278, 7742=>889, 7743=>778, 7744=>889, 7745=>778, 7746=>889, 7747=>778, 7748=>722, 7749=>500, 7750=>722, 7751=>500, 7752=>722, + 7753=>500, 7754=>722, 7755=>500, 7756=>722, 7757=>500, 7758=>722, 7759=>500, 7760=>722, 7761=>500, 7762=>722, 7763=>500, 7764=>556, 7765=>500, 7766=>556, 7767=>500, 7768=>667, + 7769=>333, 7770=>667, 7771=>333, 7772=>667, 7773=>333, 7774=>667, 7775=>333, 7776=>556, 7777=>389, 7778=>556, 7779=>389, 7780=>556, 7781=>389, 7782=>556, 7783=>389, 7784=>556, + 7785=>389, 7786=>611, 7787=>278, 7788=>611, 7789=>278, 7790=>611, 7791=>278, 7792=>611, 7793=>278, 7794=>722, 7795=>500, 7796=>722, 7797=>500, 7798=>722, 7799=>500, 7800=>722, + 7801=>500, 7802=>722, 7803=>500, 7804=>722, 7805=>500, 7806=>722, 7807=>500, 7808=>944, 7809=>722, 7810=>944, 7811=>722, 7812=>944, 7813=>722, 7814=>944, 7815=>722, 7816=>944, + 7817=>722, 7818=>722, 7819=>500, 7820=>722, 7821=>500, 7822=>722, 7823=>500, 7824=>611, 7825=>444, 7826=>611, 7827=>444, 7828=>611, 7829=>444, 7830=>500, 7831=>278, 7832=>722, + 7833=>500, 7835=>333, 7840=>722, 7841=>444, 7842=>722, 7843=>444, 7844=>722, 7845=>444, 7846=>722, 7847=>444, 7848=>722, 7849=>444, 7850=>722, 7851=>444, 7852=>722, 7853=>444, + 7854=>722, 7855=>444, 7856=>722, 7857=>444, 7858=>722, 7859=>444, 7860=>722, 7861=>444, 7862=>722, 7863=>444, 7864=>611, 7865=>444, 7866=>611, 7867=>444, 7868=>611, 7869=>444, + 7870=>611, 7871=>444, 7872=>611, 7873=>444, 7874=>611, 7875=>444, 7876=>611, 7877=>444, 7878=>611, 7879=>444, 7880=>333, 7881=>278, 7882=>333, 7883=>278, 7884=>722, 7885=>500, + 7886=>722, 7887=>500, 7888=>722, 7889=>500, 7890=>722, 7891=>500, 7892=>722, 7893=>500, 7894=>722, 7895=>500, 7896=>722, 7897=>500, 7908=>722, 7909=>500, 7910=>722, 7911=>500, + 7922=>722, 7923=>500, 7924=>722, 7925=>500, 7926=>722, 7927=>500, 7928=>722, 7929=>500, 7936=>587, 7937=>587, 7938=>587, 7939=>587, 7940=>587, 7941=>587, 7942=>587, 7943=>587, + 7944=>722, 7945=>722, 7946=>722, 7947=>722, 7948=>722, 7949=>722, 7950=>722, 7951=>722, 7952=>426, 7953=>426, 7954=>426, 7955=>426, 7956=>426, 7957=>426, 7960=>611, 7961=>611, + 7962=>611, 7963=>611, 7964=>611, 7965=>611, 7968=>534, 7969=>534, 7970=>534, 7971=>534, 7972=>534, 7973=>534, 7974=>534, 7975=>534, 7976=>722, 7977=>722, 7978=>722, 7979=>722, + 7980=>722, 7981=>722, 7982=>722, 7983=>722, 7984=>267, 7985=>267, 7986=>267, 7987=>267, 7988=>267, 7989=>267, 7990=>267, 7991=>267, 7992=>333, 7993=>333, 7994=>333, 7995=>333, + 7996=>333, 7997=>333, 7998=>333, 7999=>333, 8000=>534, 8001=>534, 8002=>534, 8003=>534, 8004=>534, 8005=>534, 8008=>722, 8009=>722, 8010=>722, 8011=>722, 8012=>722, 8013=>722, + 8016=>534, 8017=>534, 8018=>534, 8019=>534, 8020=>534, 8021=>534, 8022=>534, 8023=>534, 8025=>696, 8027=>696, 8029=>696, 8031=>696, 8032=>693, 8033=>693, 8034=>693, 8035=>693, + 8036=>693, 8037=>693, 8038=>693, 8039=>693, 8040=>757, 8041=>757, 8042=>757, 8043=>757, 8044=>757, 8045=>757, 8046=>757, 8047=>757, 8048=>587, 8049=>587, 8050=>426, 8051=>426, + 8052=>534, 8053=>534, 8054=>267, 8055=>267, 8056=>534, 8057=>534, 8058=>534, 8059=>534, 8060=>693, 8061=>693, 8064=>587, 8065=>587, 8066=>587, 8067=>587, 8068=>587, 8069=>587, + 8070=>587, 8071=>587, 8072=>722, 8073=>722, 8074=>722, 8075=>722, 8076=>722, 8077=>722, 8078=>722, 8079=>722, 8080=>534, 8081=>534, 8082=>534, 8083=>534, 8084=>534, 8085=>534, + 8086=>534, 8087=>534, 8088=>722, 8089=>722, 8090=>722, 8091=>722, 8092=>722, 8093=>722, 8094=>722, 8095=>722, 8096=>693, 8097=>693, 8098=>693, 8099=>693, 8100=>693, 8101=>693, + 8102=>693, 8103=>693, 8104=>757, 8105=>757, 8106=>757, 8107=>757, 8108=>757, 8109=>757, 8110=>757, 8111=>757, 8112=>587, 8113=>587, 8114=>587, 8115=>587, 8116=>587, 8118=>587, + 8119=>587, 8120=>722, 8121=>722, 8122=>722, 8123=>722, 8124=>722, 8125=>250, 8126=>332, 8127=>500, 8128=>500, 8129=>534, 8130=>534, 8131=>534, 8132=>534, 8134=>534, 8135=>534, + 8136=>611, 8137=>611, 8138=>722, 8139=>722, 8140=>722, 8141=>500, 8142=>500, 8143=>500, 8144=>267, 8145=>267, 8146=>267, 8147=>267, 8150=>267, 8151=>267, 8152=>333, 8153=>333, + 8154=>333, 8155=>333, 8157=>500, 8158=>500, 8159=>500, 8160=>534, 8161=>534, 8162=>534, 8163=>534, 8164=>534, 8165=>534, 8166=>534, 8167=>534, 8168=>696, 8169=>696, 8170=>696, + 8171=>696, 8172=>556, 8173=>534, 8174=>534, 8175=>500, 8178=>693, 8179=>693, 8180=>693, 8182=>693, 8183=>693, 8184=>722, 8185=>722, 8186=>757, 8187=>757, 8188=>757, 8189=>500, + 8190=>500, 8219=>333, 8223=>444, 8227=>350, 8241=>1363, 8242=>247, 8243=>411, 8244=>611, 8245=>220, 8248=>469, 8251=>629, 8253=>444, 8255=>953, 8256=>953, 8257=>314, 8258=>931, + 8259=>333, 8260=>167, 8261=>383, 8262=>383, 8267=>453, 8304=>300, 8305=>300, 8308=>300, 8309=>300, 8310=>300, 8311=>300, 8312=>300, 8313=>300, 8314=>1000, 8320=>300, 8321=>300, + 8322=>300, 8323=>300, 8324=>300, 8325=>300, 8326=>300, 8327=>300, 8328=>300, 8329=>300, 8352=>698, 8353=>667, 8354=>667, 8355=>556, 8356=>500, 8357=>778, 8358=>722, 8359=>630, + 8361=>944, 8413=>788, 8450=>667, 8451=>954, 8453=>1000, 8457=>822, 8458=>500, 8459=>969, 8460=>663, 8461=>822, 8462=>500, 8463=>500, 8464=>809, 8465=>686, 8466=>874, 8467=>417, + 8469=>822, 8470=>954, 8471=>760, 8472=>987, 8473=>656, 8474=>722, 8475=>850, 8476=>795, 8477=>767, 8479=>667, 8480=>879, 8483=>722, 8484=>731, 8486=>757, 8487=>757, 8488=>663, + 8490=>722, 8491=>722, 8492=>908, 8493=>614, 8494=>533, 8496=>562, 8497=>895, 8498=>556, 8499=>1080, 8501=>823, 8502=>642, 8503=>315, 8504=>532, 8505=>417, 8531=>750, 8532=>750, + 8533=>750, 8534=>750, 8535=>750, 8536=>750, 8537=>750, 8538=>750, 8539=>750, 8540=>750, 8541=>750, 8542=>750, 8543=>750, 8544=>333, 8545=>630, 8546=>927, 8547=>1019, 8548=>722, + 8549=>1019, 8550=>1316, 8551=>1629, 8552=>1019, 8553=>722, 8554=>1019, 8555=>1316, 8556=>611, 8557=>667, 8558=>722, 8559=>889, 8560=>278, 8561=>556, 8562=>834, 8563=>778, 8564=>500, + 8565=>778, 8566=>1056, 8567=>1334, 8568=>778, 8569=>500, 8570=>778, 8571=>1056, 8572=>278, 8573=>444, 8574=>500, 8575=>778, 8592=>964, 8593=>499, 8594=>964, 8595=>499, 8596=>964, + 8597=>499, 8598=>964, 8599=>964, 8600=>964, 8601=>964, 8602=>964, 8603=>964, 8604=>1009, 8605=>1009, 8606=>964, 8608=>964, 8610=>1093, 8611=>1093, 8612=>1093, 8614=>1093, 8619=>964, + 8620=>964, 8621=>1151, 8622=>964, 8624=>482, 8625=>482, 8626=>482, 8627=>482, 8628=>658, 8629=>658, 8630=>1069, 8631=>1069, 8634=>939, 8635=>939, 8636=>964, 8637=>964, 8638=>499, + 8639=>499, 8640=>964, 8641=>964, 8642=>499, 8643=>499, 8644=>964, 8645=>840, 8646=>964, 8647=>964, 8648=>840, 8649=>964, 8650=>840, 8651=>964, 8652=>964, 8653=>964, 8654=>964, + 8655=>964, 8656=>964, 8657=>550, 8658=>964, 8659=>550, 8660=>964, 8661=>550, 8662=>1047, 8663=>1047, 8664=>1047, 8665=>1047, 8666=>964, 8667=>964, 8668=>1092, 8669=>1092, 8672=>964, + 8674=>964, 8704=>587, 8705=>716, 8706=>494, 8707=>587, 8708=>587, 8709=>500, 8710=>612, 8711=>713, 8712=>536, 8713=>536, 8714=>439, 8715=>536, 8716=>536, 8717=>439, 8719=>823, + 8720=>823, 8721=>713, 8722=>636, 8723=>636, 8724=>636, 8727=>471, 8728=>497, 8729=>497, 8730=>549, 8731=>549, 8732=>549, 8733=>636, 8734=>853, 8735=>509, 8736=>509, 8737=>509, + 8738=>509, 8741=>320, 8742=>320, 8743=>654, 8744=>654, 8745=>654, 8746=>654, 8747=>416, 8748=>750, 8749=>1083, 8750=>722, 8751=>750, 8756=>629, 8757=>629, 8758=>250, 8759=>629, + 8760=>636, 8761=>847, 8762=>636, 8763=>636, 8764=>636, 8765=>636, 8768=>264, 8769=>636, 8770=>636, 8771=>636, 8772=>636, 8773=>636, 8774=>636, 8775=>636, 8776=>636, 8777=>636, + 8778=>636, 8779=>636, 8781=>636, 8782=>636, 8783=>636, 8784=>636, 8785=>636, 8786=>636, 8787=>636, 8788=>847, 8789=>847, 8790=>636, 8791=>636, 8796=>636, 8800=>636, 8801=>636, + 8802=>636, 8803=>636, 8804=>636, 8805=>636, 8806=>636, 8807=>636, 8808=>636, 8809=>636, 8810=>918, 8811=>918, 8812=>410, 8813=>636, 8814=>636, 8815=>636, 8816=>636, 8817=>636, + 8818=>636, 8819=>636, 8820=>636, 8821=>636, 8822=>636, 8823=>636, 8824=>636, 8825=>636, 8826=>636, 8827=>636, 8828=>636, 8829=>636, 8830=>636, 8831=>636, 8832=>636, 8833=>636, + 8834=>636, 8835=>636, 8836=>636, 8837=>636, 8838=>636, 8839=>636, 8840=>636, 8841=>636, 8842=>636, 8843=>636, 8844=>654, 8845=>654, 8846=>654, 8847=>636, 8848=>636, 8849=>636, + 8850=>636, 8851=>654, 8852=>654, 8853=>636, 8854=>636, 8855=>636, 8856=>636, 8857=>636, 8858=>636, 8859=>636, 8860=>636, 8861=>636, 8862=>636, 8863=>636, 8864=>636, 8865=>636, + 8866=>466, 8867=>466, 8868=>712, 8869=>712, 8871=>466, 8873=>588, 8874=>710, 8875=>588, 8876=>466, 8877=>466, 8878=>588, 8879=>588, 8882=>636, 8883=>636, 8884=>636, 8885=>636, + 8886=>1296, 8887=>1296, 8888=>966, 8891=>654, 8892=>654, 8893=>654, 8896=>654, 8897=>654, 8898=>654, 8899=>654, 8900=>512, 8901=>250, 8902=>471, 8903=>629, 8904=>722, 8907=>816, + 8908=>816, 8909=>636, 8910=>636, 8911=>636, 8912=>636, 8913=>636, 8914=>654, 8915=>654, 8916=>654, 8917=>636, 8918=>636, 8919=>636, 8920=>1215, 8921=>1215, 8922=>636, 8923=>636, + 8924=>636, 8925=>636, 8926=>636, 8927=>636, 8928=>636, 8929=>636, 8930=>636, 8931=>636, 8932=>636, 8933=>636, 8934=>636, 8935=>636, 8936=>636, 8937=>636, 8938=>636, 8939=>636, + 8940=>636, 8941=>636, 8942=>250, 8943=>1000, 8944=>1000, 8945=>1000, 8960=>780, 8961=>444, 8976=>564, 8986=>805, 8992=>686, 8993=>686, 9001=>329, 9002=>329, 9031=>777, 9032=>777, + 9040=>777, 9047=>777, 9054=>777, 9251=>500, 9312=>788, 9313=>788, 9314=>788, 9315=>788, 9316=>788, 9317=>788, 9318=>788, 9319=>788, 9320=>788, 9321=>788, 9472=>889, 9473=>889, + 9474=>889, 9475=>889, 9476=>889, 9477=>889, 9478=>889, 9479=>889, 9480=>889, 9481=>889, 9482=>889, 9483=>889, 9484=>889, 9485=>889, 9486=>889, 9487=>889, 9488=>889, 9489=>889, + 9490=>889, 9491=>889, 9492=>889, 9493=>889, 9494=>889, 9495=>889, 9496=>889, 9497=>889, 9498=>889, 9499=>889, 9500=>889, 9501=>889, 9502=>889, 9503=>889, 9504=>889, 9505=>889, + 9506=>889, 9507=>889, 9508=>889, 9509=>889, 9510=>889, 9511=>889, 9512=>889, 9513=>889, 9514=>889, 9515=>889, 9516=>889, 9517=>889, 9518=>889, 9519=>889, 9520=>889, 9521=>889, + 9522=>889, 9523=>889, 9524=>889, 9525=>889, 9526=>889, 9527=>889, 9528=>889, 9529=>889, 9530=>889, 9531=>889, 9532=>889, 9533=>889, 9534=>889, 9535=>889, 9536=>889, 9537=>889, + 9538=>889, 9539=>889, 9540=>889, 9541=>889, 9542=>889, 9543=>889, 9544=>889, 9545=>889, 9546=>889, 9547=>889, 9552=>889, 9553=>889, 9554=>889, 9555=>889, 9556=>889, 9557=>889, + 9558=>889, 9559=>889, 9560=>889, 9561=>889, 9562=>889, 9563=>889, 9564=>889, 9565=>889, 9566=>889, 9567=>889, 9568=>889, 9569=>889, 9570=>889, 9571=>889, 9572=>889, 9573=>889, + 9574=>889, 9575=>889, 9576=>889, 9577=>889, 9578=>889, 9579=>889, 9580=>889, 9581=>889, 9600=>761, 9601=>761, 9602=>761, 9603=>761, 9604=>761, 9605=>761, 9606=>761, 9607=>761, + 9608=>761, 9609=>761, 9610=>761, 9611=>761, 9612=>761, 9613=>761, 9614=>761, 9615=>761, 9616=>761, 9620=>761, 9621=>761, 9632=>761, 9633=>761, 9650=>892, 9654=>892, 9660=>892, + 9664=>892, 9670=>788, 9674=>494, 9675=>791, 9679=>791, 9680=>791, 9681=>791, 9682=>791, 9683=>791, 9684=>791, 9685=>791, 9686=>791, 9687=>791, 9698=>761, 9699=>761, 9700=>761, + 9701=>761, 9703=>761, 9704=>761, 9705=>761, 9706=>761, 9733=>816, 9734=>823, 9740=>799, 9741=>972, 9742=>719, 9744=>761, 9745=>761, 9746=>761, 9753=>760, 9754=>960, 9755=>960, + 9756=>939, 9757=>500, 9758=>939, 9759=>500, 9760=>500, 9762=>805, 9763=>805, 9766=>494, 9768=>494, 9770=>805, 9772=>640, 9774=>805, 9775=>805, 9776=>600, 9777=>600, 9778=>600, + 9779=>600, 9780=>600, 9781=>600, 9782=>600, 9783=>600, 9784=>805, 9785=>805, 9786=>805, 9787=>805, 9788=>805, 9789=>777, 9790=>777, 9791=>541, 9792=>541, 9793=>541, 9794=>799, + 9795=>700, 9796=>583, 9797=>541, 9798=>652, 9799=>583, 9800=>805, 9801=>805, 9802=>805, 9803=>1013, 9804=>833, 9805=>1152, 9806=>1152, 9807=>1152, 9808=>704, 9809=>805, 9810=>1152, + 9811=>805, 9812=>800, 9813=>800, 9814=>800, 9815=>800, 9816=>800, 9817=>800, 9818=>800, 9819=>800, 9820=>800, 9821=>800, 9822=>800, 9823=>800, 9824=>626, 9825=>694, 9826=>595, + 9827=>776, 9829=>694, 9830=>595, 9833=>333, 9834=>555, 9835=>722, 9836=>722, 9837=>415, 9838=>377, 9839=>402, 9840=>776, 9841=>776, 9985=>974, 9986=>961, 9987=>974, 9988=>980, + 9990=>789, 9991=>790, 9992=>791, 9993=>690, 9996=>549, 9997=>855, 9998=>911, 9999=>933, 10000=>911, 10001=>945, 10002=>974, 10003=>755, 10004=>846, 10005=>762, 10006=>761, 10007=>571, + 10008=>677, 10009=>763, 10010=>760, 10011=>759, 10012=>754, 10013=>494, 10014=>552, 10015=>537, 10016=>577, 10017=>692, 10018=>786, 10019=>788, 10020=>788, 10021=>790, 10022=>793, 10023=>794, + 10025=>823, 10026=>789, 10027=>841, 10028=>823, 10029=>833, 10030=>816, 10031=>831, 10032=>923, 10033=>744, 10034=>723, 10035=>749, 10036=>790, 10037=>792, 10038=>695, 10039=>776, 10040=>768, + 10041=>792, 10042=>759, 10043=>707, 10044=>708, 10045=>682, 10046=>701, 10047=>826, 10048=>815, 10049=>789, 10050=>789, 10051=>707, 10052=>687, 10053=>696, 10054=>689, 10055=>786, 10056=>787, + 10057=>713, 10058=>791, 10059=>785, 10061=>873, 10063=>762, 10064=>762, 10065=>759, 10066=>759, 10070=>784, 10072=>138, 10073=>277, 10074=>415, 10075=>392, 10076=>392, 10077=>668, 10078=>668, + 10081=>732, 10082=>544, 10083=>544, 10084=>910, 10085=>667, 10086=>760, 10087=>760, 10102=>788, 10103=>788, 10104=>788, 10105=>788, 10106=>788, 10107=>788, 10108=>788, 10109=>788, 10110=>788, + 10111=>788, 10112=>788, 10113=>788, 10114=>788, 10115=>788, 10116=>788, 10117=>788, 10118=>788, 10119=>788, 10120=>788, 10121=>788, 10122=>788, 10123=>788, 10124=>788, 10125=>788, 10126=>788, + 10127=>788, 10128=>788, 10129=>788, 10130=>788, 10131=>788, 10132=>894, 10136=>748, 10137=>924, 10138=>748, 10139=>918, 10140=>927, 10141=>928, 10142=>928, 10143=>834, 10144=>873, 10145=>828, + 10146=>924, 10147=>924, 10148=>917, 10149=>930, 10150=>931, 10151=>463, 10152=>883, 10153=>836, 10154=>836, 10155=>867, 10156=>867, 10157=>696, 10158=>696, 10159=>874, 10161=>874, 10162=>760, + 10163=>946, 10164=>771, 10165=>865, 10166=>771, 10167=>888, 10168=>967, 10169=>888, 10170=>831, 10171=>873, 10172=>927, 10173=>970, 10174=>918, 12289=>1000, 12290=>1000, 12291=>1000, 12293=>1000, + 12295=>1000, 12296=>1000, 12297=>1000, 12298=>1000, 12299=>1000, 12300=>1000, 12301=>1000, 12302=>1000, 12303=>1000, 12304=>1000, 12305=>1000, 12306=>1000, 12308=>1000, 12309=>1000, 12353=>1000, 12354=>1000, + 12355=>1000, 12356=>1000, 12357=>1000, 12358=>1000, 12359=>1000, 12360=>1000, 12361=>1000, 12362=>1000, 12363=>1000, 12364=>1000, 12365=>1000, 12366=>1000, 12367=>1000, 12368=>1000, 12369=>1000, 12370=>1000, + 12371=>1000, 12372=>1000, 12373=>1000, 12374=>1000, 12375=>1000, 12376=>1000, 12377=>1000, 12378=>1000, 12379=>1000, 12380=>1000, 12381=>1000, 12382=>1000, 12383=>1000, 12384=>1000, 12385=>1000, 12386=>1000, + 12387=>1000, 12388=>1000, 12389=>1000, 12390=>1000, 12391=>1000, 12392=>1000, 12393=>1000, 12394=>1000, 12395=>1000, 12396=>1000, 12397=>1000, 12398=>1000, 12399=>1000, 12400=>1000, 12401=>1000, 12402=>1000, + 12403=>1000, 12404=>1000, 12405=>1000, 12406=>1000, 12407=>1000, 12408=>1000, 12409=>1000, 12410=>1000, 12411=>1000, 12412=>1000, 12413=>1000, 12414=>1000, 12415=>1000, 12416=>1000, 12417=>1000, 12418=>1000, + 12419=>1000, 12420=>1000, 12421=>1000, 12422=>1000, 12423=>1000, 12424=>1000, 12425=>1000, 12426=>1000, 12427=>1000, 12428=>1000, 12429=>1000, 12430=>1000, 12431=>1000, 12432=>1000, 12433=>1000, 12434=>1000, + 12435=>1000, 12436=>1273, 12441=>1000, 12443=>1000, 12449=>1000, 12450=>1000, 12451=>1000, 12452=>1000, 12453=>1000, 12454=>1000, 12455=>1000, 12456=>1000, 12457=>1000, 12458=>1000, 12459=>1000, 12460=>1000, + 12461=>1000, 12462=>1000, 12463=>1000, 12464=>1000, 12465=>1000, 12466=>1000, 12467=>1000, 12468=>1000, 12469=>1000, 12470=>1000, 12471=>1000, 12472=>1000, 12473=>1000, 12474=>1000, 12475=>1000, 12476=>1000, + 12477=>1000, 12478=>1000, 12479=>1000, 12480=>1000, 12481=>1000, 12482=>1000, 12483=>1000, 12484=>1000, 12485=>1000, 12486=>1000, 12487=>1000, 12488=>1000, 12489=>1000, 12490=>1000, 12491=>1000, 12492=>1000, + 12493=>1000, 12494=>1000, 12495=>1000, 12496=>1000, 12497=>1000, 12498=>1000, 12499=>1000, 12500=>1000, 12501=>1000, 12502=>1000, 12503=>1000, 12504=>1000, 12505=>1000, 12506=>1000, 12507=>1000, 12508=>1000, + 12509=>1000, 12510=>1000, 12511=>1000, 12512=>1000, 12513=>1000, 12514=>1000, 12515=>1000, 12516=>1000, 12517=>1000, 12518=>1000, 12519=>1000, 12520=>1000, 12521=>1000, 12522=>1000, 12523=>1000, 12524=>1000, + 12525=>1000, 12526=>1000, 12527=>1000, 12528=>1000, 12529=>1000, 12530=>1000, 12531=>1000, 12532=>1000, 12533=>1000, 12534=>1000, 12535=>1273, 12536=>1273, 12537=>1273, 12538=>1273, 12539=>250, 12540=>1000, + 63033=>500, 63034=>500, 63035=>500, 63036=>500, 63037=>500, 63038=>500, 63039=>500, 63040=>500, 63041=>500, 63171=>333, 63193=>790, 63194=>790, 63195=>890, 63196=>500, 63718=>603, 63719=>1000, + 63720=>790, 63721=>790, 63722=>786, 63723=>384, 63724=>384, 63725=>384, 63726=>384, 63727=>384, 63728=>384, 63729=>494, 63730=>494, 63731=>494, 63732=>494, 63733=>686, 63734=>384, 63735=>384, + 63736=>384, 63737=>384, 63738=>384, 63739=>384, 63740=>494, 63741=>494, 63742=>494, 64256=>605, 64257=>556, 64258=>556, 64259=>824, 64260=>821, 64262=>677, 64298=>537, 64299=>537, 64300=>537, + 64301=>537, 64302=>537, 64303=>537, 64304=>537, 64305=>537, 64306=>350, 64307=>537, 64308=>537, 64309=>350, 64310=>350, 64312=>537, 64313=>350, 64314=>537, 64315=>537, 64316=>537, 64318=>537, + 64320=>350, 64321=>537, 64323=>537, 64324=>537, 64326=>537, 64327=>537, 64328=>537, 64329=>537, 64330=>537, 64331=>350, 64332=>537, 64333=>537, 64334=>537, 64342=>926, 64343=>926, 64344=>308, + 64345=>308, 64378=>750, 64379=>750, 64380=>580, 64381=>580, 64394=>338, 64395=>338, 64402=>874, 64403=>874, 64404=>329, 64405=>329, 64508=>776, 64509=>700, 64510=>304, 64511=>304, 65010=>640, + 65020=>837, 65136=>300, 65140=>300, 65142=>300, 65144=>300, 65146=>300, 65148=>300, 65153=>321, 65164=>301, 65165=>249, 65166=>275, 65167=>950, 65168=>950, 65169=>293, 65170=>293, 65173=>925, + 65174=>925, 65175=>308, 65176=>308, 65177=>924, 65178=>924, 65179=>298, 65180=>298, 65181=>750, 65182=>750, 65183=>574, 65184=>574, 65185=>748, 65186=>750, 65187=>600, 65188=>600, 65189=>701, + 65190=>775, 65191=>596, 65192=>596, 65193=>397, 65194=>397, 65195=>399, 65196=>399, 65197=>328, 65198=>328, 65199=>331, 65200=>331, 65201=>951, 65202=>951, 65203=>600, 65204=>600, 65205=>949, + 65206=>949, 65207=>649, 65208=>649, 65209=>949, 65210=>949, 65211=>823, 65212=>823, 65213=>949, 65214=>949, 65215=>805, 65216=>805, 65217=>557, 65221=>550, 65225=>625, 65226=>575, 65227=>674, + 65228=>550, 65229=>602, 65230=>577, 65231=>578, 65232=>577, 65233=>801, 65234=>801, 65235=>300, 65236=>300, 65237=>696, 65238=>696, 65239=>650, 65240=>650, 65241=>757, 65242=>757, 65243=>318, + 65244=>318, 65245=>655, 65246=>655, 65247=>206, 65248=>206, 65249=>549, 65250=>549, 65251=>403, 65252=>403, 65253=>651, 65254=>651, 65255=>323, 65256=>323, 65257=>424, 65258=>622, 65259=>525, + 65260=>476, 65261=>399, 65262=>399, 65275=>676, 65276=>724, 65533=>788); +$enc=''; +$diff=''; +$file='FreeSerif.z'; +$ctg='FreeSerif.ctg.z'; +$originalsize=621136; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freeserifb.php b/htdocs/includes/fpdf/tcpdf/fonts/freeserifb.php new file mode 100644 index 00000000000..742abaf8d09 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freeserifb.php @@ -0,0 +1,110 @@ +1173,'Descent'=>-488,'CapHeight'=>1173,'Flags'=>32,'FontBBox'=>'[-500 -488 1860 1173]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>600); +$up=-100; +$ut=50; +$cw=array( + 13=>333, 32=>250, 33=>333, 34=>555, 35=>500, 36=>500, 37=>1000, 38=>833, 39=>278, 40=>333, 41=>333, 42=>500, 43=>570, 44=>250, 45=>333, 46=>250, + 47=>278, 48=>500, 49=>500, 50=>500, 51=>500, 52=>500, 53=>500, 54=>500, 55=>500, 56=>500, 57=>500, 58=>333, 59=>333, 60=>570, 61=>570, 62=>570, + 63=>500, 64=>930, 65=>722, 66=>667, 67=>722, 68=>724, 69=>667, 70=>611, 71=>778, 72=>774, 73=>386, 74=>500, 75=>764, 76=>664, 77=>943, 78=>722, + 79=>778, 80=>611, 81=>778, 82=>712, 83=>556, 84=>667, 85=>722, 86=>722, 87=>1000, 88=>722, 89=>722, 90=>667, 91=>333, 92=>278, 93=>333, 94=>581, + 95=>500, 96=>333, 97=>500, 98=>556, 99=>444, 100=>556, 101=>444, 102=>333, 103=>500, 104=>556, 105=>278, 106=>333, 107=>556, 108=>278, 109=>833, 110=>556, + 111=>500, 112=>556, 113=>556, 114=>444, 115=>389, 116=>333, 117=>556, 118=>500, 119=>722, 120=>500, 121=>500, 122=>444, 123=>394, 124=>220, 125=>394, 126=>520, + 8364=>500, 1027=>611, 8218=>333, 1107=>458, 8222=>500, 8230=>1000, 8224=>500, 8225=>500, 710=>333, 8240=>1000, 352=>556, 8249=>333, 338=>1000, 1036=>778, 381=>667, 1039=>778, + 8216=>333, 8217=>333, 8220=>500, 8221=>500, 8226=>350, 8211=>500, 8212=>1000, 732=>333, 8482=>1000, 353=>389, 8250=>333, 339=>722, 1116=>534, 382=>444, 376=>722, 161=>333, + 162=>500, 163=>500, 164=>500, 165=>500, 166=>220, 167=>500, 168=>333, 169=>747, 170=>300, 171=>500, 172=>570, 174=>747, 175=>333, 176=>400, 177=>570, 178=>300, + 179=>300, 180=>333, 181=>556, 182=>540, 183=>250, 184=>333, 185=>300, 186=>330, 187=>500, 188=>750, 189=>750, 190=>750, 191=>500, 192=>722, 193=>722, 194=>722, + 195=>722, 196=>722, 197=>722, 198=>1000, 199=>722, 200=>667, 201=>667, 202=>667, 203=>667, 204=>389, 205=>389, 206=>389, 207=>389, 208=>722, 209=>722, 210=>778, + 211=>778, 212=>778, 213=>778, 214=>778, 215=>570, 216=>778, 217=>722, 218=>722, 219=>722, 220=>722, 221=>722, 222=>611, 223=>556, 224=>500, 225=>500, 226=>500, + 227=>500, 228=>500, 229=>500, 230=>722, 231=>444, 232=>444, 233=>444, 234=>444, 235=>444, 236=>278, 237=>278, 238=>278, 239=>278, 240=>500, 241=>556, 242=>500, + 243=>500, 244=>500, 245=>500, 246=>500, 247=>570, 248=>500, 249=>556, 250=>556, 251=>556, 252=>556, 253=>500, 254=>556, 255=>500, 256=>722, 257=>500, 258=>722, + 259=>500, 260=>722, 261=>500, 262=>722, 263=>444, 264=>722, 265=>444, 266=>722, 267=>444, 268=>722, 269=>444, 270=>722, 271=>556, 272=>722, 273=>556, 274=>667, + 275=>444, 276=>667, 277=>444, 278=>667, 279=>444, 280=>667, 281=>444, 282=>667, 283=>444, 284=>778, 285=>500, 286=>778, 287=>500, 288=>778, 289=>500, 290=>778, + 291=>500, 292=>778, 293=>556, 294=>778, 295=>556, 296=>389, 297=>278, 298=>389, 299=>278, 300=>389, 301=>278, 302=>389, 303=>278, 304=>389, 305=>278, 306=>882, + 307=>486, 308=>500, 309=>333, 310=>778, 311=>556, 312=>534, 313=>667, 314=>278, 315=>667, 316=>278, 317=>667, 318=>278, 319=>667, 320=>528, 321=>667, 322=>278, + 323=>722, 324=>556, 325=>722, 326=>556, 327=>722, 328=>556, 329=>704, 330=>722, 331=>556, 332=>778, 333=>500, 334=>778, 335=>500, 336=>778, 337=>500, 340=>722, + 341=>444, 342=>722, 343=>444, 344=>722, 345=>444, 346=>556, 347=>389, 348=>556, 349=>389, 350=>556, 351=>389, 354=>667, 355=>333, 356=>667, 357=>333, 358=>667, + 359=>333, 360=>722, 361=>556, 362=>722, 363=>556, 364=>722, 365=>556, 366=>722, 367=>556, 368=>722, 369=>556, 370=>722, 371=>556, 372=>1000, 373=>722, 374=>722, + 375=>500, 377=>667, 378=>444, 379=>667, 380=>444, 383=>333, 439=>1000, 450=>570, 461=>722, 462=>500, 463=>386, 464=>278, 465=>778, 466=>500, 467=>722, 468=>556, + 469=>722, 470=>556, 471=>722, 472=>556, 473=>722, 474=>556, 475=>722, 476=>556, 477=>444, 478=>722, 479=>500, 482=>1000, 483=>722, 484=>778, 485=>500, 486=>778, + 487=>500, 488=>764, 489=>556, 490=>778, 491=>500, 492=>778, 493=>500, 494=>654, 495=>508, 500=>778, 501=>500, 504=>722, 505=>556, 506=>722, 507=>500, 508=>1000, + 509=>722, 510=>778, 511=>500, 512=>722, 513=>500, 514=>722, 515=>500, 516=>667, 517=>444, 518=>667, 519=>444, 520=>386, 521=>278, 522=>386, 523=>278, 524=>778, + 525=>500, 526=>778, 527=>500, 528=>712, 529=>444, 530=>712, 531=>444, 532=>722, 533=>556, 534=>722, 535=>556, 536=>556, 537=>389, 538=>667, 539=>333, 542=>774, + 543=>556, 550=>722, 551=>500, 552=>667, 553=>444, 554=>778, 555=>500, 556=>778, 557=>500, 558=>778, 559=>500, 560=>778, 561=>500, 562=>722, 563=>500, 658=>508, + 711=>333, 728=>333, 729=>333, 730=>333, 731=>333, 733=>333, 768=>0, 769=>0, 770=>0, 771=>0, 772=>0, 773=>0, 774=>0, 775=>0, 776=>0, 777=>0, + 778=>0, 779=>0, 780=>0, 781=>0, 782=>0, 783=>0, 784=>0, 785=>0, 786=>0, 787=>0, 788=>0, 789=>0, 790=>0, 791=>0, 792=>0, 793=>0, + 794=>0, 795=>0, 796=>0, 797=>0, 798=>0, 799=>0, 800=>0, 801=>0, 802=>0, 803=>0, 804=>0, 805=>0, 806=>0, 807=>0, 808=>0, 809=>0, + 810=>0, 811=>0, 812=>0, 813=>0, 814=>0, 815=>0, 816=>0, 817=>0, 818=>0, 819=>0, 820=>0, 821=>0, 822=>0, 823=>0, 824=>0, 825=>0, + 826=>0, 827=>0, 828=>0, 829=>0, 830=>0, 831=>0, 864=>0, 865=>0, 884=>199, 885=>199, 890=>0, 894=>333, 900=>180, 901=>330, 902=>722, 903=>250, + 904=>811, 905=>958, 906=>569, 908=>811, 910=>902, 911=>811, 912=>330, 913=>722, 914=>667, 915=>611, 916=>759, 917=>667, 918=>667, 919=>778, 920=>778, 921=>389, + 922=>778, 923=>722, 924=>944, 925=>722, 926=>650, 927=>778, 928=>812, 929=>611, 931=>650, 932=>667, 933=>722, 934=>868, 935=>722, 936=>868, 937=>811, 938=>0, + 939=>722, 940=>605, 941=>440, 942=>605, 943=>330, 944=>550, 945=>605, 946=>550, 947=>550, 948=>550, 949=>440, 950=>495, 951=>605, 952=>550, 953=>330, 954=>608, + 955=>495, 956=>605, 957=>495, 958=>495, 959=>550, 960=>605, 961=>550, 962=>440, 963=>550, 964=>440, 965=>550, 966=>660, 967=>495, 968=>715, 969=>715, 970=>330, + 971=>550, 972=>550, 973=>550, 974=>715, 976=>550, 977=>550, 978=>722, 979=>722, 980=>722, 981=>660, 982=>605, 986=>510, 987=>426, 988=>611, 989=>470, 1024=>667, + 1025=>667, 1026=>667, 1028=>722, 1029=>556, 1030=>389, 1031=>389, 1032=>500, 1033=>1032, 1034=>1032, 1035=>808, 1037=>778, 1038=>722, 1040=>722, 1041=>667, 1042=>667, 1043=>591, + 1044=>778, 1045=>667, 1046=>1107, 1047=>564, 1048=>773, 1049=>773, 1050=>764, 1051=>778, 1052=>944, 1053=>778, 1054=>778, 1055=>774, 1056=>611, 1057=>722, 1058=>667, 1059=>722, + 1060=>800, 1061=>722, 1062=>773, 1063=>778, 1064=>1113, 1065=>1112, 1066=>867, 1067=>970, 1068=>630, 1069=>722, 1070=>1114, 1071=>735, 1072=>500, 1073=>500, 1074=>502, 1075=>443, + 1076=>556, 1077=>444, 1078=>750, 1079=>408, 1080=>574, 1081=>574, 1082=>534, 1083=>544, 1084=>676, 1085=>556, 1086=>500, 1087=>556, 1088=>556, 1089=>444, 1090=>494, 1091=>500, + 1092=>825, 1093=>500, 1094=>556, 1095=>556, 1096=>818, 1097=>818, 1098=>612, 1099=>762, 1100=>512, 1101=>444, 1102=>790, 1103=>512, 1104=>444, 1105=>444, 1106=>556, 1108=>444, + 1109=>389, 1110=>278, 1111=>278, 1112=>333, 1113=>792, 1114=>786, 1115=>556, 1117=>556, 1118=>500, 1119=>556, 1164=>611, 1165=>512, 1166=>611, 1167=>556, 1168=>611, 1169=>458, + 1170=>611, 1171=>458, 1172=>611, 1173=>458, 1174=>1107, 1175=>750, 1176=>580, 1177=>389, 1178=>778, 1179=>534, 1180=>778, 1181=>534, 1182=>778, 1183=>534, 1184=>967, 1185=>633, + 1186=>778, 1187=>556, 1188=>1014, 1189=>735, 1190=>778, 1191=>830, 1192=>722, 1193=>444, 1194=>722, 1195=>444, 1196=>667, 1197=>494, 1198=>722, 1199=>500, 1200=>722, 1201=>500, + 1202=>722, 1203=>500, 1204=>1046, 1205=>778, 1206=>778, 1207=>556, 1208=>778, 1209=>556, 1210=>778, 1211=>556, 1212=>660, 1213=>444, 1214=>660, 1215=>444, 1216=>389, 1217=>1107, + 1218=>750, 1219=>778, 1220=>534, 1223=>778, 1224=>556, 1227=>778, 1228=>556, 1232=>722, 1233=>500, 1234=>722, 1235=>500, 1236=>1000, 1237=>722, 1238=>667, 1239=>444, 1240=>660, + 1241=>444, 1242=>660, 1243=>444, 1244=>1107, 1245=>750, 1246=>564, 1247=>408, 1248=>580, 1249=>389, 1250=>778, 1251=>556, 1252=>778, 1253=>556, 1254=>778, 1255=>500, 1256=>778, + 1257=>500, 1258=>778, 1259=>500, 1260=>722, 1261=>444, 1262=>722, 1263=>500, 1264=>722, 1265=>500, 1266=>722, 1267=>500, 1268=>778, 1269=>556, 1272=>987, 1273=>762, 1488=>504, + 1489=>504, 1490=>313, 1491=>504, 1492=>504, 1493=>285, 1494=>285, 1495=>504, 1496=>504, 1497=>285, 1498=>517, 1499=>504, 1500=>504, 1501=>504, 1502=>504, 1503=>281, 1504=>285, + 1505=>504, 1506=>504, 1507=>526, 1508=>504, 1509=>491, 1510=>504, 1511=>549, 1512=>513, 1513=>538, 1514=>504, 1548=>250, 7680=>722, 7681=>500, 7682=>667, 7683=>556, 7684=>667, + 7685=>556, 7686=>667, 7687=>556, 7688=>722, 7689=>444, 7690=>724, 7691=>556, 7692=>724, 7693=>556, 7694=>724, 7695=>556, 7696=>724, 7697=>556, 7698=>724, 7699=>556, 7700=>667, + 7701=>444, 7702=>667, 7703=>444, 7704=>667, 7705=>444, 7706=>667, 7707=>444, 7708=>667, 7709=>444, 7710=>611, 7711=>333, 7712=>778, 7713=>500, 7714=>774, 7715=>556, 7716=>774, + 7717=>556, 7718=>774, 7719=>556, 7720=>774, 7721=>556, 7722=>774, 7723=>556, 7724=>386, 7725=>278, 7726=>389, 7727=>278, 7728=>764, 7729=>556, 7730=>764, 7731=>556, 7732=>764, + 7733=>556, 7734=>664, 7735=>278, 7736=>664, 7737=>278, 7738=>664, 7739=>278, 7740=>664, 7741=>278, 7742=>943, 7743=>833, 7744=>943, 7745=>833, 7746=>943, 7747=>833, 7748=>722, + 7749=>556, 7750=>722, 7751=>556, 7752=>722, 7753=>556, 7754=>722, 7755=>556, 7756=>778, 7757=>500, 7758=>778, 7759=>500, 7760=>778, 7761=>500, 7762=>778, 7763=>500, 7764=>611, + 7765=>556, 7766=>611, 7767=>556, 7768=>712, 7769=>444, 7770=>712, 7771=>444, 7772=>712, 7773=>444, 7774=>712, 7775=>444, 7776=>556, 7777=>389, 7778=>556, 7779=>389, 7780=>556, + 7781=>389, 7782=>556, 7783=>389, 7784=>556, 7785=>389, 7786=>667, 7787=>333, 7788=>667, 7789=>333, 7790=>667, 7791=>333, 7792=>667, 7793=>333, 7794=>722, 7795=>556, 7796=>722, + 7797=>556, 7798=>722, 7799=>556, 7800=>722, 7801=>556, 7802=>722, 7803=>556, 7804=>722, 7805=>500, 7806=>722, 7807=>500, 7808=>1000, 7809=>722, 7810=>1000, 7811=>722, 7812=>1000, + 7813=>722, 7814=>1000, 7815=>722, 7816=>1000, 7817=>722, 7818=>722, 7819=>500, 7820=>722, 7821=>500, 7822=>722, 7823=>500, 7824=>667, 7825=>444, 7826=>667, 7827=>444, 7828=>667, + 7829=>444, 7830=>556, 7831=>333, 7832=>722, 7833=>500, 7835=>333, 7840=>722, 7841=>500, 7842=>722, 7843=>500, 7844=>722, 7845=>500, 7846=>722, 7847=>500, 7848=>722, 7849=>500, + 7850=>722, 7851=>500, 7852=>722, 7853=>500, 7854=>722, 7855=>500, 7856=>722, 7857=>500, 7858=>722, 7859=>500, 7860=>722, 7861=>500, 7862=>722, 7863=>500, 7864=>667, 7865=>444, + 7866=>667, 7867=>444, 7868=>667, 7869=>444, 7870=>667, 7871=>444, 7872=>667, 7873=>444, 7874=>667, 7875=>444, 7876=>667, 7877=>444, 7878=>667, 7879=>444, 7880=>386, 7881=>278, + 7882=>386, 7883=>278, 7884=>778, 7885=>500, 7886=>778, 7887=>500, 7888=>778, 7889=>500, 7890=>778, 7891=>500, 7892=>778, 7893=>500, 7894=>778, 7895=>500, 7896=>778, 7897=>500, + 7908=>722, 7909=>556, 7910=>722, 7911=>556, 7922=>722, 7923=>500, 7924=>722, 7925=>500, 7926=>722, 7927=>500, 7928=>722, 7929=>500, 7936=>605, 7937=>605, 7938=>605, 7939=>605, + 7940=>605, 7941=>605, 7942=>605, 7943=>605, 7944=>722, 7945=>722, 7946=>722, 7947=>722, 7948=>722, 7949=>722, 7950=>722, 7951=>722, 7952=>440, 7953=>440, 7954=>440, 7955=>440, + 7956=>440, 7957=>440, 7960=>667, 7961=>667, 7962=>667, 7963=>667, 7964=>667, 7965=>667, 7968=>605, 7969=>605, 7970=>605, 7971=>605, 7972=>605, 7973=>605, 7974=>605, 7975=>605, + 7976=>778, 7977=>778, 7978=>778, 7979=>778, 7980=>778, 7981=>778, 7982=>778, 7983=>778, 7984=>330, 7985=>330, 7986=>330, 7987=>330, 7988=>330, 7989=>330, 7990=>330, 7991=>330, + 7992=>389, 7993=>389, 7994=>389, 7995=>389, 7996=>389, 7997=>389, 7998=>389, 7999=>389, 8000=>550, 8001=>550, 8002=>550, 8003=>550, 8004=>550, 8005=>550, 8008=>778, 8009=>778, + 8010=>778, 8011=>778, 8012=>778, 8013=>778, 8016=>550, 8017=>550, 8018=>550, 8019=>550, 8020=>550, 8021=>550, 8022=>550, 8023=>550, 8025=>722, 8027=>722, 8029=>722, 8031=>722, + 8032=>715, 8033=>715, 8034=>715, 8035=>715, 8036=>715, 8037=>715, 8038=>715, 8039=>715, 8040=>811, 8041=>811, 8042=>811, 8043=>811, 8044=>811, 8045=>811, 8046=>811, 8047=>811, + 8048=>605, 8049=>605, 8050=>440, 8051=>440, 8052=>605, 8053=>605, 8054=>330, 8055=>330, 8056=>550, 8057=>550, 8058=>550, 8059=>550, 8060=>715, 8061=>715, 8064=>605, 8065=>605, + 8066=>605, 8067=>605, 8068=>605, 8069=>605, 8070=>605, 8071=>605, 8072=>722, 8073=>722, 8074=>722, 8075=>722, 8076=>722, 8077=>722, 8078=>722, 8079=>722, 8080=>605, 8081=>605, + 8082=>605, 8083=>605, 8084=>605, 8085=>605, 8086=>605, 8087=>605, 8088=>778, 8089=>778, 8090=>778, 8091=>778, 8092=>778, 8093=>778, 8094=>778, 8095=>778, 8096=>715, 8097=>715, + 8098=>715, 8099=>715, 8100=>715, 8101=>715, 8102=>715, 8103=>715, 8104=>811, 8105=>811, 8106=>811, 8107=>811, 8108=>811, 8109=>811, 8110=>811, 8111=>811, 8112=>605, 8113=>605, + 8114=>605, 8115=>605, 8116=>605, 8118=>605, 8119=>605, 8120=>722, 8121=>722, 8122=>722, 8123=>722, 8124=>722, 8125=>500, 8126=>0, 8127=>500, 8128=>500, 8129=>550, 8130=>605, + 8131=>605, 8132=>605, 8134=>605, 8135=>605, 8136=>667, 8137=>667, 8138=>778, 8139=>778, 8140=>778, 8141=>500, 8142=>500, 8143=>500, 8144=>330, 8145=>330, 8146=>330, 8147=>330, + 8150=>330, 8151=>330, 8152=>389, 8153=>389, 8154=>389, 8155=>389, 8157=>500, 8158=>500, 8159=>500, 8160=>550, 8161=>550, 8162=>550, 8163=>550, 8164=>550, 8165=>550, 8166=>550, + 8167=>550, 8168=>722, 8169=>722, 8170=>722, 8171=>722, 8172=>611, 8173=>550, 8174=>550, 8175=>500, 8178=>715, 8179=>715, 8180=>715, 8182=>715, 8183=>715, 8184=>778, 8185=>778, + 8186=>811, 8187=>811, 8188=>811, 8189=>500, 8190=>500, 8208=>333, 8209=>333, 8219=>333, 8223=>500, 8227=>560, 8228=>250, 8229=>500, 8241=>1820, 8248=>469, 8251=>727, 8252=>666, + 8253=>695, 8255=>953, 8256=>953, 8257=>338, 8258=>931, 8259=>333, 8260=>167, 8261=>332, 8262=>332, 8263=>1000, 8264=>833, 8265=>833, 8267=>540, 8308=>300, 8309=>1000, 8321=>300, + 8322=>300, 8323=>300, 8324=>300, 8352=>710, 8353=>722, 8354=>783, 8355=>611, 8356=>500, 8357=>833, 8358=>722, 8359=>700, 8361=>1000, 8451=>1122, 8470=>954, 8471=>747, 8479=>722, + 8483=>722, 8486=>811, 8487=>811, 8490=>764, 8491=>722, 8494=>551, 8498=>611, 8543=>750, 8544=>386, 8545=>772, 8546=>1158, 8547=>1108, 8548=>722, 8549=>1108, 8550=>1494, 8551=>1880, + 8552=>1108, 8553=>722, 8554=>1108, 8555=>1494, 8556=>664, 8557=>722, 8558=>724, 8559=>943, 8560=>278, 8561=>556, 8562=>834, 8563=>778, 8564=>500, 8565=>778, 8566=>1056, 8567=>1334, + 8568=>778, 8569=>500, 8570=>778, 8571=>1056, 8572=>278, 8573=>444, 8574=>556, 8575=>833, 8706=>494, 8710=>612, 8721=>713, 8722=>570, 8730=>549, 8734=>752, 8800=>570, 8804=>570, + 8805=>570, 9674=>494, 12353=>1000, 12354=>1000, 12355=>1000, 12356=>1000, 12357=>1000, 12358=>1000, 12359=>1000, 12360=>1000, 12361=>1000, 12362=>1000, 12363=>1000, 12364=>1000, 12365=>1000, 12366=>1000, + 12367=>1000, 12368=>1000, 12369=>1000, 12370=>1000, 12371=>1000, 12372=>1000, 12373=>1000, 12374=>1000, 12375=>1000, 12376=>1000, 12377=>1000, 12378=>1000, 12379=>1000, 12380=>1000, 12381=>1000, 12382=>1000, + 12383=>1000, 12384=>1000, 12385=>1000, 12386=>1000, 12387=>1000, 12388=>1000, 12389=>1000, 12390=>1000, 12391=>1000, 12392=>1000, 12393=>1000, 12394=>1000, 12395=>1000, 12396=>1000, 12397=>1000, 12398=>1000, + 12399=>1000, 12400=>1000, 12401=>1000, 12402=>1000, 12403=>1000, 12404=>1000, 12405=>1000, 12406=>1000, 12407=>1000, 12408=>1000, 12409=>1000, 12410=>1000, 12411=>1000, 12412=>1000, 12413=>1000, 12414=>1000, + 12415=>1000, 12416=>1000, 12417=>1000, 12418=>1000, 12419=>1000, 12420=>1000, 12421=>1000, 12422=>1000, 12423=>1000, 12424=>1000, 12425=>1000, 12426=>1000, 12427=>1000, 12428=>1000, 12429=>1000, 12430=>1000, + 12431=>1000, 12432=>1000, 12433=>1000, 12434=>1000, 12435=>1000, 12449=>1000, 12450=>1000, 12451=>1000, 12452=>1000, 12453=>1000, 12454=>1000, 12455=>1000, 12456=>1000, 12457=>1000, 12458=>1000, 12459=>1000, + 12460=>1000, 12461=>1000, 12462=>1000, 12463=>1000, 12464=>1000, 12465=>1000, 12466=>1000, 12467=>1000, 12468=>1000, 12469=>1000, 12470=>1000, 12471=>1000, 12472=>1000, 12473=>1000, 12474=>1000, 12475=>1000, + 12476=>1000, 12477=>1000, 12478=>1000, 12479=>1000, 12480=>1000, 12481=>1000, 12482=>1000, 12483=>1000, 12484=>1000, 12485=>1000, 12486=>1000, 12487=>1000, 12488=>1000, 12489=>1000, 12490=>1000, 12491=>1000, + 12492=>1000, 12493=>1000, 12494=>1000, 12495=>1000, 12496=>1000, 12497=>1000, 12498=>1000, 12499=>1000, 12500=>1000, 12501=>1000, 12502=>1000, 12503=>1000, 12504=>1000, 12505=>1000, 12506=>1000, 12507=>1000, + 12508=>1000, 12509=>1000, 12510=>1000, 12511=>1000, 12512=>1000, 12513=>1000, 12514=>1000, 12515=>1000, 12516=>1000, 12517=>1000, 12518=>1000, 12519=>1000, 12520=>1000, 12521=>1000, 12522=>1000, 12523=>1000, + 12524=>1000, 12525=>1000, 12526=>1000, 12527=>1000, 12528=>1000, 12529=>1000, 12530=>1000, 12531=>1000, 12532=>1000, 12533=>1000, 12534=>1000, 63033=>500, 63034=>500, 63035=>500, 63036=>500, 63037=>500, + 63038=>500, 63039=>500, 63040=>500, 63041=>500, 63171=>333, 63196=>500, 64256=>556, 64257=>556, 64258=>556, 64259=>834, 64260=>834, 64262=>723); +$enc=''; +$diff=''; +$file='FreeSerifBold.z'; +$ctg='FreeSerifBold.ctg.z'; +$originalsize=198992; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freeserifbi.php b/htdocs/includes/fpdf/tcpdf/fonts/freeserifbi.php new file mode 100644 index 00000000000..4f6cb6a585a --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freeserifbi.php @@ -0,0 +1,97 @@ +1171,'Descent'=>-488,'CapHeight'=>1171,'Flags'=>96,'FontBBox'=>'[-575 -488 1577 1171]','ItalicAngle'=>-16.3,'StemV'=>120,'MissingWidth'=>600); +$up=-100; +$ut=50; +$cw=array( + 13=>333, 32=>250, 33=>389, 34=>555, 35=>500, 36=>500, 37=>833, 38=>778, 39=>278, 40=>333, 41=>333, 42=>500, 43=>570, 44=>250, 45=>333, 46=>250, + 47=>278, 48=>500, 49=>500, 50=>500, 51=>500, 52=>500, 53=>500, 54=>500, 55=>500, 56=>500, 57=>500, 58=>333, 59=>333, 60=>570, 61=>570, 62=>570, + 63=>500, 64=>832, 65=>667, 66=>667, 67=>667, 68=>744, 69=>670, 70=>656, 71=>722, 72=>778, 73=>393, 74=>500, 75=>664, 76=>609, 77=>896, 78=>722, + 79=>722, 80=>614, 81=>722, 82=>672, 83=>556, 84=>611, 85=>722, 86=>667, 87=>889, 88=>667, 89=>611, 90=>611, 91=>333, 92=>278, 93=>333, 94=>570, + 95=>500, 96=>333, 97=>500, 98=>500, 99=>444, 100=>500, 101=>444, 102=>333, 103=>500, 104=>556, 105=>278, 106=>278, 107=>500, 108=>278, 109=>778, 110=>556, + 111=>500, 112=>500, 113=>500, 114=>389, 115=>389, 116=>278, 117=>556, 118=>444, 119=>667, 120=>500, 121=>444, 122=>389, 123=>348, 124=>220, 125=>348, 126=>570, + 8364=>500, 1027=>667, 8218=>333, 1107=>458, 8222=>500, 8230=>1000, 8224=>500, 8225=>500, 710=>333, 8240=>1000, 352=>556, 8249=>333, 338=>944, 1036=>778, 381=>611, 1039=>869, + 8216=>333, 8217=>333, 8220=>500, 8221=>500, 8226=>350, 8211=>500, 8212=>1000, 732=>333, 8482=>1000, 353=>389, 8250=>333, 339=>722, 1116=>558, 382=>389, 376=>611, 161=>389, + 162=>500, 163=>500, 164=>500, 165=>500, 166=>220, 167=>500, 168=>333, 169=>747, 170=>266, 171=>500, 172=>606, 174=>747, 175=>333, 176=>400, 177=>570, 178=>300, + 179=>300, 180=>333, 181=>576, 182=>500, 183=>250, 184=>333, 185=>300, 186=>300, 187=>500, 188=>750, 189=>750, 190=>750, 191=>500, 192=>667, 193=>667, 194=>667, + 195=>667, 196=>667, 197=>667, 198=>944, 199=>667, 200=>667, 201=>667, 202=>667, 203=>667, 204=>389, 205=>389, 206=>389, 207=>389, 208=>722, 209=>722, 210=>722, + 211=>722, 212=>722, 213=>722, 214=>722, 215=>570, 216=>722, 217=>722, 218=>722, 219=>722, 220=>722, 221=>611, 222=>611, 223=>500, 224=>500, 225=>500, 226=>500, + 227=>500, 228=>500, 229=>500, 230=>722, 231=>444, 232=>444, 233=>444, 234=>444, 235=>444, 236=>278, 237=>278, 238=>278, 239=>278, 240=>500, 241=>556, 242=>500, + 243=>500, 244=>500, 245=>500, 246=>500, 247=>570, 248=>500, 249=>556, 250=>556, 251=>556, 252=>556, 253=>444, 254=>500, 255=>444, 256=>667, 257=>500, 258=>667, + 259=>500, 260=>667, 261=>500, 262=>667, 263=>444, 264=>667, 265=>444, 266=>667, 267=>444, 268=>667, 269=>444, 270=>722, 271=>644, 272=>722, 273=>500, 274=>667, + 275=>444, 276=>667, 277=>444, 278=>667, 279=>444, 280=>667, 281=>444, 282=>667, 283=>444, 284=>722, 285=>500, 286=>722, 287=>500, 288=>722, 289=>500, 290=>722, + 291=>500, 292=>778, 293=>556, 294=>778, 295=>556, 296=>389, 297=>278, 298=>389, 299=>278, 300=>389, 301=>278, 302=>389, 303=>278, 304=>389, 305=>278, 306=>826, + 307=>547, 308=>500, 309=>278, 310=>667, 311=>500, 312=>534, 313=>611, 314=>278, 315=>611, 316=>278, 317=>638, 318=>424, 319=>611, 320=>528, 321=>611, 322=>278, + 323=>722, 324=>556, 325=>722, 326=>556, 327=>722, 328=>556, 329=>556, 330=>722, 331=>556, 332=>722, 333=>500, 334=>722, 335=>500, 336=>722, 337=>500, 340=>667, + 341=>389, 342=>667, 343=>389, 344=>667, 345=>389, 346=>556, 347=>389, 348=>556, 349=>389, 350=>556, 351=>389, 354=>611, 355=>278, 356=>611, 357=>278, 358=>611, + 359=>278, 360=>722, 361=>556, 362=>722, 363=>556, 364=>722, 365=>556, 366=>722, 367=>556, 368=>722, 369=>556, 370=>722, 371=>556, 372=>889, 373=>667, 374=>611, + 375=>444, 377=>611, 378=>389, 379=>611, 380=>389, 383=>333, 439=>1000, 452=>1355, 453=>1133, 454=>889, 455=>1109, 456=>887, 457=>556, 458=>1222, 459=>1000, 460=>834, + 461=>667, 462=>500, 463=>393, 464=>278, 465=>722, 466=>500, 467=>722, 468=>556, 469=>722, 470=>556, 471=>722, 472=>556, 473=>722, 474=>556, 475=>722, 476=>556, + 477=>444, 478=>667, 479=>500, 480=>667, 481=>500, 482=>944, 483=>722, 484=>722, 485=>500, 486=>722, 487=>500, 488=>664, 489=>500, 490=>722, 491=>500, 492=>722, + 493=>500, 494=>614, 495=>461, 496=>278, 497=>1355, 498=>1133, 499=>889, 500=>722, 501=>500, 504=>722, 505=>556, 506=>667, 507=>500, 508=>944, 509=>722, 510=>722, + 511=>500, 512=>667, 513=>500, 514=>667, 515=>500, 516=>670, 517=>444, 518=>670, 519=>444, 520=>393, 521=>278, 522=>393, 523=>278, 524=>722, 525=>500, 526=>722, + 527=>500, 528=>672, 529=>389, 530=>672, 531=>389, 532=>722, 533=>556, 534=>722, 535=>556, 536=>556, 537=>389, 538=>611, 539=>278, 542=>778, 543=>556, 550=>667, + 551=>500, 552=>670, 553=>444, 554=>722, 555=>500, 556=>722, 557=>500, 558=>722, 559=>500, 560=>722, 561=>500, 562=>611, 563=>444, 658=>461, 711=>333, 714=>333, + 715=>333, 728=>333, 729=>333, 730=>333, 731=>333, 733=>333, 768=>0, 769=>0, 770=>0, 771=>0, 772=>0, 773=>0, 774=>0, 775=>0, 776=>0, 777=>0, + 778=>0, 779=>0, 780=>0, 781=>0, 782=>0, 783=>0, 784=>0, 785=>0, 786=>0, 787=>0, 788=>0, 789=>-113, 790=>0, 791=>0, 792=>0, 793=>0, + 794=>0, 795=>0, 796=>0, 797=>0, 798=>0, 799=>0, 800=>0, 801=>0, 802=>0, 803=>0, 804=>0, 805=>0, 806=>0, 807=>0, 808=>0, 809=>0, + 810=>0, 811=>0, 812=>0, 813=>0, 814=>0, 815=>0, 816=>0, 817=>0, 818=>0, 819=>0, 820=>0, 821=>0, 822=>0, 823=>0, 824=>0, 825=>0, + 826=>0, 827=>0, 828=>0, 829=>0, 830=>0, 831=>0, 864=>0, 865=>0, 884=>199, 885=>199, 890=>0, 894=>333, 900=>180, 901=>330, 902=>667, 903=>250, + 904=>667, 905=>778, 906=>389, 908=>722, 910=>722, 911=>741, 912=>330, 913=>667, 914=>667, 915=>637, 916=>740, 917=>667, 918=>611, 919=>778, 920=>722, 921=>389, + 922=>677, 923=>667, 924=>889, 925=>722, 926=>650, 927=>722, 928=>778, 929=>611, 931=>730, 932=>621, 933=>722, 934=>748, 935=>667, 936=>868, 937=>741, 938=>389, + 939=>722, 940=>605, 941=>440, 942=>605, 943=>330, 944=>550, 945=>605, 946=>550, 947=>550, 948=>550, 949=>440, 950=>495, 951=>605, 952=>550, 953=>330, 954=>608, + 955=>495, 956=>605, 957=>495, 958=>495, 959=>550, 960=>605, 961=>550, 962=>440, 963=>550, 964=>440, 965=>550, 966=>660, 967=>495, 968=>715, 969=>715, 970=>330, + 971=>550, 972=>550, 973=>550, 974=>715, 976=>550, 977=>550, 978=>722, 979=>722, 980=>722, 981=>660, 982=>605, 1024=>667, 1025=>667, 1026=>611, 1028=>722, 1029=>556, + 1030=>389, 1031=>389, 1032=>500, 1033=>778, 1034=>778, 1035=>611, 1037=>870, 1038=>722, 1040=>667, 1041=>733, 1042=>667, 1043=>656, 1044=>864, 1045=>667, 1046=>1107, 1047=>564, + 1048=>870, 1049=>870, 1050=>775, 1051=>855, 1052=>889, 1053=>778, 1054=>722, 1055=>869, 1056=>611, 1057=>667, 1058=>611, 1059=>766, 1060=>833, 1061=>667, 1062=>869, 1063=>823, + 1064=>1208, 1065=>1209, 1066=>796, 1067=>1060, 1068=>712, 1069=>732, 1070=>1195, 1071=>821, 1072=>500, 1073=>500, 1074=>444, 1075=>389, 1076=>534, 1077=>444, 1078=>1051, 1079=>408, + 1080=>556, 1081=>556, 1082=>534, 1083=>637, 1084=>859, 1085=>560, 1086=>500, 1087=>556, 1088=>500, 1089=>444, 1090=>778, 1091=>444, 1092=>764, 1093=>500, 1094=>556, 1095=>556, + 1096=>806, 1097=>806, 1098=>591, 1099=>744, 1100=>444, 1101=>451, 1102=>765, 1103=>594, 1104=>444, 1105=>444, 1106=>494, 1108=>444, 1109=>389, 1110=>278, 1111=>278, 1112=>278, + 1113=>637, 1114=>556, 1115=>494, 1117=>556, 1118=>444, 1119=>556, 1164=>712, 1165=>444, 1166=>611, 1167=>500, 1168=>611, 1169=>458, 1170=>667, 1171=>458, 1172=>667, 1173=>458, + 1174=>1107, 1175=>1051, 1176=>657, 1177=>439, 1178=>772, 1179=>534, 1180=>772, 1181=>534, 1182=>772, 1183=>534, 1184=>772, 1185=>534, 1186=>778, 1187=>560, 1188=>778, 1189=>560, + 1190=>869, 1191=>556, 1192=>667, 1193=>444, 1194=>667, 1195=>444, 1196=>611, 1197=>494, 1198=>611, 1199=>444, 1200=>611, 1201=>444, 1202=>667, 1203=>500, 1204=>869, 1205=>556, + 1206=>823, 1207=>556, 1208=>823, 1209=>556, 1210=>823, 1211=>556, 1212=>620, 1213=>444, 1214=>620, 1215=>444, 1216=>389, 1217=>1107, 1218=>1051, 1219=>772, 1220=>534, 1223=>778, + 1224=>560, 1227=>823, 1228=>556, 1232=>667, 1233=>500, 1234=>667, 1235=>500, 1236=>944, 1237=>722, 1238=>667, 1239=>444, 1240=>620, 1241=>444, 1242=>620, 1243=>444, 1244=>1107, + 1245=>1051, 1246=>564, 1247=>408, 1248=>657, 1249=>439, 1250=>870, 1251=>556, 1252=>870, 1253=>556, 1254=>722, 1255=>500, 1256=>722, 1257=>500, 1258=>722, 1259=>500, 1260=>732, + 1261=>451, 1262=>766, 1263=>444, 1264=>766, 1265=>444, 1266=>766, 1267=>444, 1268=>823, 1269=>556, 1272=>1060, 1273=>744, 1488=>504, 1489=>504, 1490=>313, 1491=>504, 1492=>504, + 1493=>285, 1494=>285, 1495=>504, 1496=>504, 1497=>285, 1498=>517, 1499=>504, 1500=>504, 1501=>504, 1502=>504, 1503=>281, 1504=>285, 1505=>504, 1506=>504, 1507=>526, 1508=>504, + 1509=>491, 1510=>504, 1511=>549, 1512=>513, 1513=>538, 1514=>504, 7680=>667, 7681=>500, 7682=>667, 7683=>500, 7684=>667, 7685=>500, 7686=>667, 7687=>500, 7688=>667, 7689=>444, + 7690=>744, 7691=>500, 7692=>744, 7693=>500, 7694=>744, 7695=>500, 7696=>744, 7697=>500, 7698=>744, 7699=>500, 7700=>667, 7701=>444, 7702=>667, 7703=>444, 7704=>670, 7705=>444, + 7706=>670, 7707=>444, 7708=>670, 7709=>444, 7710=>656, 7711=>333, 7712=>722, 7713=>500, 7714=>778, 7715=>556, 7716=>778, 7717=>556, 7718=>778, 7719=>556, 7720=>778, 7721=>556, + 7722=>778, 7723=>556, 7724=>393, 7725=>278, 7726=>389, 7727=>278, 7728=>664, 7729=>500, 7730=>664, 7731=>500, 7732=>664, 7733=>500, 7734=>609, 7735=>278, 7736=>609, 7737=>278, + 7738=>609, 7739=>278, 7740=>609, 7741=>278, 7742=>896, 7743=>778, 7744=>896, 7745=>778, 7746=>896, 7747=>778, 7748=>722, 7749=>556, 7750=>722, 7751=>556, 7752=>722, 7753=>556, + 7754=>722, 7755=>556, 7756=>722, 7757=>500, 7758=>722, 7759=>500, 7760=>722, 7761=>500, 7762=>722, 7763=>500, 7764=>614, 7765=>500, 7766=>614, 7767=>500, 7768=>672, 7769=>389, + 7770=>672, 7771=>389, 7772=>672, 7773=>389, 7774=>672, 7775=>389, 7776=>556, 7777=>389, 7778=>556, 7779=>389, 7780=>556, 7781=>389, 7782=>556, 7783=>389, 7784=>556, 7785=>389, + 7786=>611, 7787=>278, 7788=>611, 7789=>278, 7790=>611, 7791=>278, 7792=>611, 7793=>278, 7794=>722, 7795=>556, 7796=>722, 7797=>556, 7798=>722, 7799=>556, 7800=>722, 7801=>556, + 7802=>722, 7803=>556, 7804=>667, 7805=>444, 7806=>667, 7807=>444, 7808=>889, 7809=>667, 7810=>889, 7811=>667, 7812=>889, 7813=>667, 7814=>889, 7815=>667, 7816=>889, 7817=>667, + 7818=>667, 7819=>500, 7820=>667, 7821=>500, 7822=>611, 7823=>444, 7824=>611, 7825=>389, 7826=>611, 7827=>389, 7828=>611, 7829=>389, 7830=>556, 7831=>278, 7832=>667, 7833=>444, + 7835=>333, 7840=>667, 7841=>500, 7842=>667, 7843=>500, 7844=>667, 7845=>500, 7846=>667, 7847=>500, 7848=>667, 7849=>500, 7850=>667, 7851=>500, 7852=>667, 7853=>500, 7854=>667, + 7855=>500, 7856=>667, 7857=>500, 7858=>667, 7859=>500, 7860=>667, 7861=>500, 7862=>667, 7863=>500, 7864=>670, 7865=>444, 7866=>670, 7867=>444, 7868=>670, 7869=>444, 7870=>667, + 7871=>444, 7872=>667, 7873=>444, 7874=>667, 7875=>444, 7876=>667, 7877=>444, 7878=>670, 7879=>444, 7880=>393, 7881=>278, 7882=>393, 7883=>278, 7884=>722, 7885=>500, 7886=>722, + 7887=>500, 7888=>722, 7889=>500, 7890=>722, 7891=>500, 7892=>722, 7893=>500, 7894=>722, 7895=>500, 7896=>722, 7897=>500, 7908=>722, 7909=>556, 7910=>722, 7911=>556, 7922=>611, + 7923=>444, 7924=>611, 7925=>444, 7926=>611, 7927=>444, 7928=>611, 7929=>444, 7936=>605, 7937=>605, 7938=>605, 7939=>605, 7940=>605, 7941=>605, 7942=>605, 7943=>605, 7944=>667, + 7945=>667, 7946=>667, 7947=>667, 7948=>667, 7949=>667, 7950=>667, 7951=>667, 7952=>440, 7953=>440, 7954=>440, 7955=>440, 7956=>440, 7957=>440, 7960=>667, 7961=>667, 7962=>667, + 7963=>667, 7964=>667, 7965=>667, 7968=>605, 7969=>605, 7970=>605, 7971=>605, 7972=>605, 7973=>605, 7974=>605, 7975=>605, 7976=>778, 7977=>778, 7978=>778, 7979=>778, 7980=>778, + 7981=>778, 7982=>778, 7983=>778, 7984=>330, 7985=>330, 7986=>330, 7987=>330, 7988=>330, 7989=>330, 7990=>330, 7991=>330, 7992=>389, 7993=>389, 7994=>389, 7995=>389, 7996=>389, + 7997=>389, 7998=>389, 7999=>389, 8000=>550, 8001=>550, 8002=>550, 8003=>550, 8004=>550, 8005=>550, 8008=>722, 8009=>722, 8010=>722, 8011=>722, 8012=>722, 8013=>722, 8016=>550, + 8017=>550, 8018=>550, 8019=>550, 8020=>550, 8021=>550, 8022=>550, 8023=>550, 8025=>722, 8027=>722, 8029=>722, 8031=>722, 8032=>715, 8033=>715, 8034=>715, 8035=>715, 8036=>715, + 8037=>715, 8038=>715, 8039=>715, 8040=>741, 8041=>741, 8042=>741, 8043=>741, 8044=>741, 8045=>741, 8046=>741, 8047=>741, 8048=>605, 8049=>605, 8050=>440, 8051=>440, 8052=>605, + 8053=>605, 8054=>330, 8055=>330, 8056=>550, 8057=>550, 8058=>550, 8059=>550, 8060=>715, 8061=>715, 8064=>605, 8065=>605, 8066=>605, 8067=>605, 8068=>605, 8069=>605, 8070=>605, + 8071=>605, 8072=>667, 8073=>667, 8074=>667, 8075=>667, 8076=>667, 8077=>667, 8078=>667, 8079=>667, 8080=>605, 8081=>605, 8082=>605, 8083=>605, 8084=>605, 8085=>605, 8086=>605, + 8087=>605, 8088=>778, 8089=>778, 8090=>778, 8091=>778, 8092=>778, 8093=>778, 8094=>778, 8095=>778, 8096=>715, 8097=>715, 8098=>715, 8099=>715, 8100=>715, 8101=>715, 8102=>715, + 8103=>715, 8104=>741, 8105=>741, 8106=>741, 8107=>741, 8108=>741, 8109=>741, 8110=>741, 8111=>741, 8112=>605, 8113=>605, 8114=>605, 8115=>605, 8116=>605, 8118=>605, 8119=>605, + 8120=>667, 8121=>667, 8122=>667, 8123=>667, 8124=>667, 8125=>250, 8126=>0, 8127=>500, 8128=>500, 8129=>550, 8130=>605, 8131=>605, 8132=>605, 8134=>605, 8135=>605, 8136=>667, + 8137=>667, 8138=>778, 8139=>778, 8140=>778, 8141=>500, 8142=>500, 8143=>500, 8144=>330, 8145=>330, 8146=>330, 8147=>330, 8150=>330, 8151=>330, 8152=>389, 8153=>389, 8154=>389, + 8155=>389, 8157=>500, 8158=>500, 8159=>500, 8160=>550, 8161=>550, 8162=>550, 8163=>550, 8164=>550, 8165=>550, 8166=>550, 8167=>550, 8168=>722, 8169=>722, 8170=>722, 8171=>722, + 8172=>611, 8173=>550, 8174=>550, 8175=>500, 8178=>715, 8179=>715, 8180=>715, 8182=>715, 8183=>715, 8184=>722, 8185=>722, 8186=>741, 8187=>741, 8188=>741, 8189=>500, 8190=>500, + 8219=>333, 8223=>500, 8227=>560, 8241=>1618, 8251=>727, 8253=>733, 8255=>953, 8256=>953, 8257=>338, 8258=>931, 8259=>333, 8260=>167, 8261=>332, 8262=>332, 8352=>667, 8353=>667, + 8354=>667, 8355=>667, 8356=>500, 8357=>778, 8358=>722, 8359=>705, 8361=>889, 8470=>981, 8471=>747, 8483=>667, 8494=>551, 8498=>667, 8706=>494, 8710=>612, 8721=>713, 8722=>606, + 8730=>549, 8734=>752, 8800=>570, 8804=>570, 8805=>570, 9674=>494, 63033=>500, 63034=>500, 63035=>500, 63036=>500, 63037=>500, 63038=>500, 63039=>500, 63040=>500, 63041=>500, 63166=>278, + 63171=>333, 63196=>500, 64256=>583, 64257=>556, 64258=>556, 64259=>824, 64260=>821, 64262=>662); +$enc=''; +$diff=''; +$file='FreeSerifBoldItalic.z'; +$ctg='FreeSerifBoldItalic.ctg.z'; +$originalsize=126456; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/freeserifi.php b/htdocs/includes/fpdf/tcpdf/fonts/freeserifi.php new file mode 100644 index 00000000000..e65c13d7cfd --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/freeserifi.php @@ -0,0 +1,104 @@ +1122,'Descent'=>-438,'CapHeight'=>1122,'Flags'=>96,'FontBBox'=>'[-674 -438 1558 1122]','ItalicAngle'=>-16.5,'StemV'=>70,'MissingWidth'=>600); +$up=-100; +$ut=50; +$cw=array( + 13=>333, 32=>250, 33=>333, 34=>420, 35=>500, 36=>500, 37=>833, 38=>778, 39=>214, 40=>333, 41=>333, 42=>500, 43=>675, 44=>250, 45=>333, 46=>250, + 47=>278, 48=>500, 49=>500, 50=>500, 51=>500, 52=>500, 53=>500, 54=>500, 55=>500, 56=>500, 57=>500, 58=>333, 59=>333, 60=>675, 61=>675, 62=>675, + 63=>500, 64=>920, 65=>611, 66=>611, 67=>667, 68=>722, 69=>604, 70=>611, 71=>722, 72=>722, 73=>339, 74=>444, 75=>652, 76=>556, 77=>828, 78=>657, + 79=>722, 80=>603, 81=>722, 82=>616, 83=>500, 84=>556, 85=>722, 86=>611, 87=>833, 88=>611, 89=>556, 90=>556, 91=>389, 92=>278, 93=>389, 94=>422, + 95=>500, 96=>333, 97=>500, 98=>500, 99=>444, 100=>500, 101=>444, 102=>278, 103=>500, 104=>500, 105=>278, 106=>278, 107=>444, 108=>278, 109=>722, 110=>500, + 111=>500, 112=>500, 113=>500, 114=>389, 115=>389, 116=>278, 117=>500, 118=>444, 119=>667, 120=>444, 121=>444, 122=>389, 123=>400, 124=>275, 125=>400, 126=>541, + 8364=>500, 1027=>556, 8218=>333, 1107=>454, 8222=>556, 8230=>889, 8224=>500, 8225=>500, 710=>333, 8240=>1000, 352=>500, 8249=>333, 338=>944, 1036=>743, 381=>556, 1039=>814, + 8216=>333, 8217=>333, 8220=>556, 8221=>556, 8226=>350, 8211=>500, 8212=>889, 732=>333, 8482=>980, 353=>389, 8250=>333, 339=>667, 1116=>491, 382=>389, 376=>556, 161=>389, + 162=>500, 163=>500, 164=>500, 165=>500, 166=>275, 167=>500, 168=>333, 169=>760, 170=>276, 171=>500, 172=>675, 174=>760, 175=>333, 176=>400, 177=>675, 178=>300, + 179=>300, 180=>333, 181=>500, 182=>523, 183=>250, 184=>333, 185=>300, 186=>310, 187=>500, 188=>750, 189=>750, 190=>750, 191=>500, 192=>611, 193=>611, 194=>611, + 195=>611, 196=>611, 197=>611, 198=>889, 199=>667, 200=>611, 201=>611, 202=>611, 203=>611, 204=>333, 205=>333, 206=>333, 207=>333, 208=>722, 209=>667, 210=>722, + 211=>722, 212=>722, 213=>722, 214=>722, 215=>675, 216=>722, 217=>722, 218=>722, 219=>722, 220=>722, 221=>556, 222=>611, 223=>500, 224=>500, 225=>500, 226=>500, + 227=>500, 228=>500, 229=>500, 230=>667, 231=>444, 232=>444, 233=>444, 234=>444, 235=>444, 236=>278, 237=>278, 238=>278, 239=>278, 240=>500, 241=>500, 242=>500, + 243=>500, 244=>500, 245=>500, 246=>500, 247=>675, 248=>500, 249=>500, 250=>500, 251=>500, 252=>500, 253=>444, 254=>500, 255=>444, 256=>611, 257=>500, 258=>611, + 259=>500, 260=>611, 261=>500, 262=>667, 263=>444, 264=>667, 265=>444, 266=>667, 267=>444, 268=>667, 269=>444, 270=>722, 271=>500, 272=>722, 273=>500, 274=>611, + 275=>444, 276=>611, 277=>444, 278=>611, 279=>444, 280=>611, 281=>444, 282=>611, 283=>444, 284=>722, 285=>500, 286=>722, 287=>500, 288=>722, 289=>500, 290=>722, + 291=>500, 292=>722, 293=>500, 294=>722, 295=>500, 296=>333, 297=>278, 298=>333, 299=>278, 300=>333, 301=>278, 302=>333, 303=>278, 304=>333, 305=>278, 306=>707, + 307=>553, 308=>444, 309=>278, 310=>667, 311=>444, 312=>491, 313=>556, 314=>278, 315=>556, 316=>278, 317=>556, 318=>278, 319=>556, 320=>528, 321=>556, 322=>278, + 323=>667, 324=>500, 325=>667, 326=>500, 327=>667, 328=>500, 329=>500, 330=>667, 331=>500, 332=>722, 333=>500, 334=>722, 335=>500, 336=>722, 337=>500, 340=>611, + 341=>389, 342=>611, 343=>389, 344=>611, 345=>389, 346=>500, 347=>389, 348=>500, 349=>389, 350=>500, 351=>389, 354=>556, 355=>278, 356=>556, 357=>278, 358=>556, + 359=>278, 360=>722, 361=>500, 362=>722, 363=>500, 364=>722, 365=>500, 366=>722, 367=>500, 368=>722, 369=>500, 370=>722, 371=>500, 372=>833, 373=>667, 374=>556, + 375=>444, 377=>556, 378=>389, 379=>556, 380=>389, 383=>278, 399=>1000, 439=>1000, 450=>600, 461=>611, 462=>500, 463=>339, 464=>278, 465=>722, 466=>500, 467=>722, + 468=>500, 469=>722, 470=>500, 471=>722, 472=>500, 473=>722, 474=>500, 475=>722, 476=>500, 477=>444, 478=>611, 479=>500, 482=>889, 483=>667, 484=>722, 485=>500, + 486=>722, 487=>500, 488=>652, 489=>444, 490=>722, 491=>500, 492=>722, 493=>500, 494=>615, 495=>389, 506=>611, 507=>500, 508=>889, 509=>667, 510=>722, 511=>500, + 512=>611, 513=>500, 514=>611, 515=>500, 516=>604, 517=>444, 518=>604, 519=>444, 520=>339, 521=>278, 522=>339, 523=>278, 524=>722, 525=>500, 526=>722, 527=>500, + 528=>616, 529=>389, 530=>616, 531=>389, 532=>722, 533=>500, 534=>722, 535=>500, 536=>500, 537=>389, 538=>556, 539=>278, 542=>722, 543=>500, 550=>611, 551=>500, + 552=>604, 553=>444, 554=>722, 555=>500, 556=>722, 557=>500, 558=>722, 559=>500, 560=>722, 561=>500, 562=>556, 563=>444, 658=>389, 711=>333, 728=>333, 729=>333, + 730=>333, 731=>333, 733=>333, 768=>0, 769=>0, 770=>0, 771=>0, 772=>0, 773=>0, 774=>0, 775=>0, 776=>0, 777=>0, 778=>0, 779=>0, 780=>0, + 781=>0, 782=>0, 783=>0, 784=>0, 785=>0, 786=>0, 787=>0, 788=>0, 789=>0, 790=>0, 791=>0, 792=>0, 793=>0, 794=>0, 795=>0, 796=>0, + 797=>0, 798=>0, 799=>0, 800=>0, 801=>0, 802=>0, 803=>0, 804=>0, 805=>0, 806=>0, 807=>0, 808=>0, 809=>0, 810=>0, 811=>0, 812=>0, + 813=>0, 814=>0, 815=>0, 816=>0, 817=>0, 818=>0, 819=>0, 820=>0, 821=>0, 822=>0, 823=>0, 824=>0, 825=>0, 826=>0, 827=>0, 828=>0, + 829=>0, 830=>0, 831=>0, 864=>0, 865=>0, 884=>199, 885=>199, 890=>332, 894=>333, 900=>186, 901=>332, 902=>641, 903=>250, 904=>611, 905=>742, 906=>333, + 908=>682, 910=>676, 911=>744, 912=>267, 913=>641, 914=>581, 915=>611, 916=>660, 917=>611, 918=>606, 919=>742, 920=>672, 921=>333, 922=>667, 923=>641, 924=>833, + 925=>657, 926=>678, 927=>682, 928=>749, 929=>611, 931=>657, 932=>596, 933=>676, 934=>722, 935=>611, 936=>863, 937=>744, 938=>333, 939=>696, 940=>587, 941=>426, + 942=>534, 943=>267, 944=>534, 945=>587, 946=>534, 947=>480, 948=>534, 949=>426, 950=>480, 951=>534, 952=>534, 953=>267, 954=>534, 955=>480, 956=>534, 957=>480, + 958=>480, 959=>534, 960=>587, 961=>534, 962=>426, 963=>534, 964=>426, 965=>534, 966=>640, 967=>480, 968=>693, 969=>693, 970=>267, 971=>534, 972=>534, 973=>534, + 974=>693, 976=>534, 977=>534, 978=>676, 979=>676, 980=>676, 981=>640, 982=>587, 983=>534, 986=>426, 987=>426, 988=>611, 989=>470, 1024=>611, 1025=>611, 1026=>556, + 1028=>667, 1029=>500, 1030=>333, 1031=>333, 1032=>444, 1033=>722, 1034=>722, 1035=>556, 1037=>814, 1038=>730, 1040=>611, 1041=>682, 1042=>611, 1043=>640, 1044=>747, 1045=>611, + 1046=>1073, 1047=>508, 1048=>814, 1049=>814, 1050=>729, 1051=>755, 1052=>833, 1053=>722, 1054=>722, 1055=>805, 1056=>611, 1057=>667, 1058=>556, 1059=>730, 1060=>801, 1061=>611, + 1062=>807, 1063=>772, 1064=>1063, 1065=>1065, 1066=>731, 1067=>961, 1068=>645, 1069=>671, 1070=>1191, 1071=>746, 1072=>500, 1073=>500, 1074=>429, 1075=>354, 1076=>552, 1077=>444, + 1078=>1058, 1079=>363, 1080=>500, 1081=>500, 1082=>491, 1083=>538, 1084=>731, 1085=>500, 1086=>500, 1087=>500, 1088=>500, 1089=>444, 1090=>722, 1091=>444, 1092=>771, 1093=>444, + 1094=>500, 1095=>500, 1096=>750, 1097=>750, 1098=>492, 1099=>684, 1100=>420, 1101=>457, 1102=>700, 1103=>560, 1104=>444, 1105=>444, 1106=>484, 1108=>444, 1109=>389, 1110=>278, + 1111=>278, 1112=>278, 1113=>538, 1114=>500, 1115=>500, 1117=>500, 1118=>444, 1119=>500, 1164=>645, 1165=>420, 1166=>611, 1167=>500, 1168=>556, 1169=>418, 1170=>556, 1171=>452, + 1172=>556, 1173=>452, 1174=>1073, 1175=>1058, 1176=>575, 1177=>391, 1178=>743, 1179=>491, 1180=>743, 1181=>491, 1182=>743, 1183=>491, 1184=>743, 1185=>491, 1186=>722, 1187=>500, + 1188=>722, 1189=>500, 1190=>814, 1191=>500, 1192=>667, 1193=>444, 1194=>667, 1195=>444, 1196=>556, 1197=>484, 1198=>556, 1199=>556, 1200=>556, 1201=>556, 1202=>611, 1203=>444, + 1204=>807, 1205=>500, 1206=>772, 1207=>500, 1208=>772, 1209=>500, 1210=>772, 1211=>500, 1212=>722, 1213=>444, 1214=>722, 1215=>444, 1216=>333, 1217=>1073, 1218=>1058, 1219=>743, + 1220=>491, 1223=>722, 1224=>500, 1227=>772, 1228=>500, 1232=>611, 1233=>500, 1234=>611, 1235=>500, 1236=>889, 1237=>667, 1238=>611, 1239=>444, 1240=>722, 1241=>444, 1242=>444, + 1243=>444, 1244=>1073, 1245=>1058, 1246=>575, 1247=>391, 1248=>575, 1249=>391, 1250=>814, 1251=>500, 1252=>814, 1253=>500, 1254=>722, 1255=>500, 1256=>722, 1257=>500, 1258=>722, + 1259=>500, 1260=>671, 1261=>457, 1262=>730, 1263=>444, 1264=>730, 1265=>444, 1266=>730, 1267=>444, 1268=>772, 1269=>500, 1272=>1021, 1273=>684, 1457=>0, 1458=>0, 1460=>0, + 1461=>0, 1462=>0, 1463=>0, 1464=>0, 1465=>0, 1467=>0, 1472=>126, 1475=>418, 1488=>537, 1489=>537, 1490=>350, 1491=>537, 1492=>537, 1493=>350, 1494=>350, 1495=>537, + 1496=>537, 1497=>350, 1498=>537, 1499=>537, 1500=>537, 1501=>537, 1502=>537, 1503=>350, 1504=>350, 1505=>537, 1506=>537, 1507=>537, 1508=>537, 1509=>537, 1510=>537, 1511=>537, + 1512=>537, 1513=>537, 1514=>537, 1520=>537, 1521=>537, 1522=>537, 1523=>396, 1524=>396, 3585=>606, 3586=>550, 3587=>622, 3588=>604, 3589=>619, 3590=>674, 3591=>461, 3592=>499, + 3593=>613, 3594=>550, 3595=>622, 3596=>817, 3597=>817, 3598=>656, 3599=>656, 3600=>463, 3601=>717, 3602=>820, 3603=>826, 3604=>604, 3605=>616, 3606=>602, 3607=>650, 3608=>514, + 3609=>626, 3610=>626, 3611=>626, 3612=>647, 3613=>647, 3614=>676, 3615=>676, 3616=>643, 3617=>616, 3618=>574, 3619=>480, 3620=>602, 3621=>579, 3622=>643, 3623=>483, 3624=>606, + 3625=>654, 3626=>579, 3627=>654, 3628=>676, 3629=>584, 3630=>584, 3631=>524, 3632=>444, 3633=>0, 3634=>408, 3635=>408, 3636=>0, 3637=>0, 3638=>0, 3639=>0, 3640=>0, + 3641=>0, 3642=>0, 3647=>712, 3648=>320, 3649=>586, 3650=>321, 3651=>317, 3652=>321, 3653=>290, 3654=>599, 3655=>0, 3656=>0, 3657=>0, 3658=>0, 3659=>0, 3660=>0, + 3661=>0, 3662=>0, 3663=>780, 3664=>672, 3665=>672, 3666=>672, 3667=>672, 3668=>672, 3669=>672, 3670=>672, 3671=>672, 3672=>672, 3673=>672, 3674=>694, 3675=>938, 7680=>611, + 7681=>500, 7682=>611, 7683=>500, 7684=>611, 7685=>500, 7686=>611, 7687=>500, 7688=>667, 7689=>444, 7690=>722, 7691=>500, 7692=>722, 7693=>500, 7694=>722, 7695=>500, 7696=>722, + 7697=>500, 7698=>722, 7699=>500, 7700=>611, 7701=>444, 7702=>611, 7703=>444, 7704=>604, 7705=>444, 7706=>604, 7707=>444, 7708=>604, 7709=>444, 7710=>611, 7711=>278, 7712=>722, + 7713=>500, 7714=>722, 7715=>500, 7716=>722, 7717=>500, 7718=>722, 7719=>500, 7720=>722, 7721=>500, 7722=>722, 7723=>500, 7724=>339, 7725=>278, 7726=>333, 7727=>278, 7728=>652, + 7729=>444, 7730=>652, 7731=>444, 7732=>652, 7733=>444, 7734=>556, 7735=>278, 7736=>556, 7737=>278, 7738=>556, 7739=>278, 7740=>556, 7741=>278, 7742=>828, 7743=>722, 7744=>828, + 7745=>722, 7746=>828, 7747=>722, 7748=>657, 7749=>500, 7750=>657, 7751=>500, 7752=>657, 7753=>500, 7754=>657, 7755=>500, 7756=>722, 7757=>500, 7758=>722, 7759=>500, 7760=>722, + 7761=>500, 7762=>722, 7763=>500, 7764=>603, 7765=>500, 7766=>603, 7767=>500, 7768=>616, 7769=>389, 7770=>616, 7771=>389, 7772=>616, 7773=>389, 7774=>616, 7775=>389, 7776=>500, + 7777=>389, 7778=>500, 7779=>389, 7780=>500, 7781=>389, 7782=>500, 7783=>389, 7784=>500, 7785=>389, 7786=>556, 7787=>278, 7788=>556, 7789=>278, 7790=>556, 7791=>278, 7792=>556, + 7793=>278, 7794=>722, 7795=>500, 7796=>722, 7797=>500, 7798=>722, 7799=>500, 7800=>722, 7801=>500, 7802=>722, 7803=>500, 7804=>611, 7805=>444, 7806=>611, 7807=>444, 7808=>833, + 7809=>667, 7810=>833, 7811=>667, 7812=>833, 7813=>667, 7814=>833, 7815=>667, 7816=>833, 7817=>667, 7818=>611, 7819=>444, 7820=>611, 7821=>444, 7822=>556, 7823=>444, 7824=>556, + 7825=>389, 7826=>556, 7827=>389, 7828=>556, 7829=>389, 7830=>500, 7831=>278, 7832=>667, 7833=>444, 7835=>278, 7840=>611, 7841=>500, 7842=>611, 7843=>500, 7844=>611, 7845=>500, + 7846=>611, 7847=>500, 7848=>611, 7849=>500, 7850=>611, 7851=>500, 7852=>611, 7853=>500, 7854=>611, 7855=>500, 7856=>611, 7857=>500, 7858=>611, 7859=>500, 7860=>611, 7861=>500, + 7862=>611, 7863=>500, 7864=>604, 7865=>444, 7866=>604, 7867=>444, 7868=>604, 7869=>444, 7870=>611, 7871=>444, 7872=>611, 7873=>444, 7874=>611, 7875=>444, 7876=>611, 7877=>444, + 7878=>604, 7879=>444, 7880=>339, 7881=>278, 7882=>339, 7883=>278, 7884=>722, 7885=>500, 7886=>722, 7887=>500, 7888=>722, 7889=>500, 7890=>722, 7891=>500, 7892=>722, 7893=>500, + 7894=>722, 7895=>500, 7896=>722, 7897=>500, 7908=>722, 7909=>500, 7910=>722, 7911=>500, 7922=>556, 7923=>444, 7924=>556, 7925=>444, 7926=>556, 7927=>444, 7928=>556, 7929=>444, + 7936=>587, 7937=>587, 7938=>587, 7939=>587, 7940=>587, 7941=>587, 7942=>587, 7943=>587, 7944=>641, 7945=>641, 7946=>641, 7947=>641, 7948=>641, 7949=>641, 7950=>641, 7951=>641, + 7952=>426, 7953=>426, 7954=>426, 7955=>426, 7956=>426, 7957=>426, 7960=>611, 7961=>611, 7962=>611, 7963=>611, 7964=>611, 7965=>611, 7968=>534, 7969=>534, 7970=>534, 7971=>534, + 7972=>534, 7973=>534, 7974=>534, 7975=>534, 7976=>742, 7977=>742, 7978=>742, 7979=>742, 7980=>742, 7981=>742, 7982=>742, 7983=>742, 7984=>267, 7985=>267, 7986=>267, 7987=>267, + 7988=>267, 7989=>267, 7990=>267, 7991=>267, 7992=>333, 7993=>333, 7994=>333, 7995=>333, 7996=>333, 7997=>333, 7998=>333, 7999=>333, 8000=>534, 8001=>534, 8002=>534, 8003=>534, + 8004=>534, 8005=>534, 8008=>682, 8009=>682, 8010=>682, 8011=>682, 8012=>682, 8013=>682, 8016=>534, 8017=>534, 8018=>534, 8019=>534, 8020=>534, 8021=>534, 8022=>534, 8023=>534, + 8025=>676, 8027=>676, 8029=>676, 8031=>676, 8032=>693, 8033=>693, 8034=>693, 8035=>693, 8036=>693, 8037=>693, 8038=>693, 8039=>693, 8040=>744, 8041=>744, 8042=>744, 8043=>744, + 8044=>744, 8045=>744, 8046=>744, 8047=>744, 8048=>587, 8049=>587, 8050=>426, 8051=>426, 8052=>534, 8053=>534, 8054=>267, 8055=>267, 8056=>534, 8057=>534, 8058=>534, 8059=>534, + 8060=>693, 8061=>693, 8064=>587, 8065=>587, 8066=>587, 8067=>587, 8068=>587, 8069=>587, 8070=>587, 8071=>587, 8072=>641, 8073=>641, 8074=>641, 8075=>641, 8076=>641, 8077=>641, + 8078=>641, 8079=>641, 8080=>534, 8081=>534, 8082=>534, 8083=>534, 8084=>534, 8085=>534, 8086=>534, 8087=>534, 8088=>742, 8089=>742, 8090=>742, 8091=>742, 8092=>742, 8093=>742, + 8094=>742, 8095=>742, 8096=>693, 8097=>693, 8098=>693, 8099=>693, 8100=>693, 8101=>693, 8102=>693, 8103=>693, 8104=>744, 8105=>744, 8106=>744, 8107=>744, 8108=>744, 8109=>744, + 8110=>744, 8111=>744, 8112=>587, 8113=>587, 8114=>587, 8115=>587, 8116=>587, 8118=>587, 8119=>587, 8120=>641, 8121=>641, 8122=>641, 8123=>641, 8124=>641, 8125=>250, 8126=>332, + 8127=>500, 8128=>500, 8129=>534, 8130=>534, 8131=>534, 8132=>534, 8134=>534, 8135=>534, 8136=>611, 8137=>611, 8138=>742, 8139=>742, 8140=>742, 8141=>500, 8142=>500, 8143=>500, + 8144=>267, 8145=>267, 8146=>267, 8147=>267, 8150=>267, 8151=>267, 8152=>333, 8153=>333, 8154=>333, 8155=>333, 8157=>500, 8158=>500, 8159=>500, 8160=>534, 8161=>534, 8162=>534, + 8163=>534, 8164=>534, 8165=>534, 8166=>534, 8167=>534, 8168=>676, 8169=>676, 8170=>676, 8171=>676, 8172=>611, 8173=>534, 8174=>534, 8175=>500, 8178=>693, 8179=>693, 8180=>693, + 8182=>693, 8183=>693, 8184=>682, 8185=>682, 8186=>744, 8187=>744, 8188=>744, 8189=>500, 8190=>500, 8219=>333, 8223=>556, 8227=>350, 8228=>250, 8229=>500, 8241=>1601, 8248=>469, + 8251=>629, 8252=>666, 8253=>500, 8255=>953, 8256=>953, 8257=>314, 8258=>931, 8259=>333, 8260=>167, 8261=>480, 8262=>480, 8263=>1000, 8264=>833, 8265=>833, 8304=>300, 8308=>300, + 8309=>300, 8310=>300, 8311=>300, 8312=>300, 8313=>300, 8320=>300, 8321=>300, 8322=>300, 8323=>300, 8324=>300, 8325=>300, 8326=>300, 8327=>300, 8328=>300, 8329=>300, 8352=>698, + 8353=>667, 8354=>667, 8355=>611, 8356=>500, 8357=>722, 8358=>667, 8359=>611, 8361=>833, 8470=>1023, 8471=>760, 8479=>610, 8483=>611, 8494=>533, 8498=>611, 8543=>750, 8706=>494, + 8710=>612, 8721=>713, 8722=>675, 8725=>750, 8730=>549, 8734=>677, 8800=>564, 8804=>675, 8805=>675, 9674=>494, 63033=>500, 63034=>500, 63035=>500, 63036=>500, 63037=>500, 63038=>500, + 63039=>500, 63040=>500, 63041=>500, 63171=>333, 63196=>500, 64256=>526, 64257=>500, 64258=>500, 64259=>747, 64260=>748, 64262=>665); +$enc=''; +$diff=''; +$file='FreeSerifItalic.z'; +$ctg='FreeSerifItalic.ctg.z'; +$originalsize=154900; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/old/courier.php b/htdocs/includes/fpdf/tcpdf/fonts/old/courier.php new file mode 100644 index 00000000000..4c009f39b47 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/old/courier.php @@ -0,0 +1,7 @@ + diff --git a/htdocs/includes/fpdf/tcpdf/fonts/old/helvetica.php b/htdocs/includes/fpdf/tcpdf/fonts/old/helvetica.php new file mode 100644 index 00000000000..8fa7683e7c2 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/old/helvetica.php @@ -0,0 +1,15 @@ +278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, + chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, + ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, + 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, + 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, + 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, + chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, + chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, + chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, + chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, + chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, + chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/old/helveticab.php b/htdocs/includes/fpdf/tcpdf/fonts/old/helveticab.php new file mode 100644 index 00000000000..a8473c94d72 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/old/helveticab.php @@ -0,0 +1,15 @@ +278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, + chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, + ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, + 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, + 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, + 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, + chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, + chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, + chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, + chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, + chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, + chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/old/helveticabi.php b/htdocs/includes/fpdf/tcpdf/fonts/old/helveticabi.php new file mode 100644 index 00000000000..41379537dc7 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/old/helveticabi.php @@ -0,0 +1,15 @@ +278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, + chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, + ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, + 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, + 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, + 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, + chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, + chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, + chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, + chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, + chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, + chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/old/helveticai.php b/htdocs/includes/fpdf/tcpdf/fonts/old/helveticai.php new file mode 100644 index 00000000000..d5bb6e094e4 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/old/helveticai.php @@ -0,0 +1,15 @@ +278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, + chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, + ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, + 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, + 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, + 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, + chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, + chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, + chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, + chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, + chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, + chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/old/symbol.php b/htdocs/includes/fpdf/tcpdf/fonts/old/symbol.php new file mode 100644 index 00000000000..b556ed84cfe --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/old/symbol.php @@ -0,0 +1,15 @@ +250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, + chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>713,'#'=>500,'$'=>549,'%'=>833,'&'=>778,'\''=>439,'('=>333,')'=>333,'*'=>500,'+'=>549, + ','=>250,'-'=>549,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>549,'='=>549,'>'=>549,'?'=>444,'@'=>549,'A'=>722, + 'B'=>667,'C'=>722,'D'=>612,'E'=>611,'F'=>763,'G'=>603,'H'=>722,'I'=>333,'J'=>631,'K'=>722,'L'=>686,'M'=>889,'N'=>722,'O'=>722,'P'=>768,'Q'=>741,'R'=>556,'S'=>592,'T'=>611,'U'=>690,'V'=>439,'W'=>768, + 'X'=>645,'Y'=>795,'Z'=>611,'['=>333,'\\'=>863,']'=>333,'^'=>658,'_'=>500,'`'=>500,'a'=>631,'b'=>549,'c'=>549,'d'=>494,'e'=>439,'f'=>521,'g'=>411,'h'=>603,'i'=>329,'j'=>603,'k'=>549,'l'=>549,'m'=>576, + 'n'=>521,'o'=>549,'p'=>549,'q'=>521,'r'=>549,'s'=>603,'t'=>439,'u'=>576,'v'=>713,'w'=>686,'x'=>493,'y'=>686,'z'=>494,'{'=>480,'|'=>200,'}'=>480,'~'=>549,chr(127)=>0,chr(128)=>0,chr(129)=>0,chr(130)=>0,chr(131)=>0, + chr(132)=>0,chr(133)=>0,chr(134)=>0,chr(135)=>0,chr(136)=>0,chr(137)=>0,chr(138)=>0,chr(139)=>0,chr(140)=>0,chr(141)=>0,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, + chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>750,chr(161)=>620,chr(162)=>247,chr(163)=>549,chr(164)=>167,chr(165)=>713,chr(166)=>500,chr(167)=>753,chr(168)=>753,chr(169)=>753,chr(170)=>753,chr(171)=>1042,chr(172)=>987,chr(173)=>603,chr(174)=>987,chr(175)=>603, + chr(176)=>400,chr(177)=>549,chr(178)=>411,chr(179)=>549,chr(180)=>549,chr(181)=>713,chr(182)=>494,chr(183)=>460,chr(184)=>549,chr(185)=>549,chr(186)=>549,chr(187)=>549,chr(188)=>1000,chr(189)=>603,chr(190)=>1000,chr(191)=>658,chr(192)=>823,chr(193)=>686,chr(194)=>795,chr(195)=>987,chr(196)=>768,chr(197)=>768, + chr(198)=>823,chr(199)=>768,chr(200)=>768,chr(201)=>713,chr(202)=>713,chr(203)=>713,chr(204)=>713,chr(205)=>713,chr(206)=>713,chr(207)=>713,chr(208)=>768,chr(209)=>713,chr(210)=>790,chr(211)=>790,chr(212)=>890,chr(213)=>823,chr(214)=>549,chr(215)=>250,chr(216)=>713,chr(217)=>603,chr(218)=>603,chr(219)=>1042, + chr(220)=>987,chr(221)=>603,chr(222)=>987,chr(223)=>603,chr(224)=>494,chr(225)=>329,chr(226)=>790,chr(227)=>790,chr(228)=>786,chr(229)=>713,chr(230)=>384,chr(231)=>384,chr(232)=>384,chr(233)=>384,chr(234)=>384,chr(235)=>384,chr(236)=>494,chr(237)=>494,chr(238)=>494,chr(239)=>494,chr(240)=>0,chr(241)=>329, + chr(242)=>274,chr(243)=>686,chr(244)=>686,chr(245)=>686,chr(246)=>384,chr(247)=>384,chr(248)=>384,chr(249)=>384,chr(250)=>384,chr(251)=>384,chr(252)=>494,chr(253)=>494,chr(254)=>494,chr(255)=>0); +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/old/times.php b/htdocs/includes/fpdf/tcpdf/fonts/old/times.php new file mode 100644 index 00000000000..b9be1b21d6b --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/old/times.php @@ -0,0 +1,15 @@ +250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, + chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>408,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>180,'('=>333,')'=>333,'*'=>500,'+'=>564, + ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>564,'='=>564,'>'=>564,'?'=>444,'@'=>921,'A'=>722, + 'B'=>667,'C'=>667,'D'=>722,'E'=>611,'F'=>556,'G'=>722,'H'=>722,'I'=>333,'J'=>389,'K'=>722,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>556,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>722,'W'=>944, + 'X'=>722,'Y'=>722,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>469,'_'=>500,'`'=>333,'a'=>444,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, + 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>333,'s'=>389,'t'=>278,'u'=>500,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>480,'|'=>200,'}'=>480,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, + chr(132)=>444,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>889,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>444,chr(148)=>444,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>980, + chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>200,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>564,chr(173)=>333,chr(174)=>760,chr(175)=>333, + chr(176)=>400,chr(177)=>564,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>453,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>444,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, + chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>564,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, + chr(220)=>722,chr(221)=>722,chr(222)=>556,chr(223)=>500,chr(224)=>444,chr(225)=>444,chr(226)=>444,chr(227)=>444,chr(228)=>444,chr(229)=>444,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, + chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>564,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>500,chr(254)=>500,chr(255)=>500); +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/old/timesb.php b/htdocs/includes/fpdf/tcpdf/fonts/old/timesb.php new file mode 100644 index 00000000000..c3eb9fa75bb --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/old/timesb.php @@ -0,0 +1,15 @@ +250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, + chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>555,'#'=>500,'$'=>500,'%'=>1000,'&'=>833,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, + ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>930,'A'=>722, + 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>778,'I'=>389,'J'=>500,'K'=>778,'L'=>667,'M'=>944,'N'=>722,'O'=>778,'P'=>611,'Q'=>778,'R'=>722,'S'=>556,'T'=>667,'U'=>722,'V'=>722,'W'=>1000, + 'X'=>722,'Y'=>722,'Z'=>667,'['=>333,'\\'=>278,']'=>333,'^'=>581,'_'=>500,'`'=>333,'a'=>500,'b'=>556,'c'=>444,'d'=>556,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>333,'k'=>556,'l'=>278,'m'=>833, + 'n'=>556,'o'=>500,'p'=>556,'q'=>556,'r'=>444,'s'=>389,'t'=>333,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>394,'|'=>220,'}'=>394,'~'=>520,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, + chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>667,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, + chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333, + chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>556,chr(182)=>540,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>330,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, + chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, + chr(220)=>722,chr(221)=>722,chr(222)=>611,chr(223)=>556,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, + chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/old/timesbi.php b/htdocs/includes/fpdf/tcpdf/fonts/old/timesbi.php new file mode 100644 index 00000000000..161f6302c8f --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/old/timesbi.php @@ -0,0 +1,15 @@ +250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, + chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>389,'"'=>555,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, + ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>832,'A'=>667, + 'B'=>667,'C'=>667,'D'=>722,'E'=>667,'F'=>667,'G'=>722,'H'=>778,'I'=>389,'J'=>500,'K'=>667,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>611,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>667,'W'=>889, + 'X'=>667,'Y'=>611,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>570,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, + 'n'=>556,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>556,'v'=>444,'w'=>667,'x'=>500,'y'=>444,'z'=>389,'{'=>348,'|'=>220,'}'=>348,'~'=>570,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, + chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, + chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333, + chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>576,chr(182)=>500,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>300,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, + chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, + chr(220)=>722,chr(221)=>611,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, + chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>444,chr(254)=>500,chr(255)=>444); +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/old/timesi.php b/htdocs/includes/fpdf/tcpdf/fonts/old/timesi.php new file mode 100644 index 00000000000..de171fd19e4 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/old/timesi.php @@ -0,0 +1,15 @@ +250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, + chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>420,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>214,'('=>333,')'=>333,'*'=>500,'+'=>675, + ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>675,'='=>675,'>'=>675,'?'=>500,'@'=>920,'A'=>611, + 'B'=>611,'C'=>667,'D'=>722,'E'=>611,'F'=>611,'G'=>722,'H'=>722,'I'=>333,'J'=>444,'K'=>667,'L'=>556,'M'=>833,'N'=>667,'O'=>722,'P'=>611,'Q'=>722,'R'=>611,'S'=>500,'T'=>556,'U'=>722,'V'=>611,'W'=>833, + 'X'=>611,'Y'=>556,'Z'=>556,'['=>389,'\\'=>278,']'=>389,'^'=>422,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>278,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>444,'l'=>278,'m'=>722, + 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>500,'v'=>444,'w'=>667,'x'=>444,'y'=>444,'z'=>389,'{'=>400,'|'=>275,'}'=>400,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, + chr(132)=>556,chr(133)=>889,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>500,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>556,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>556,chr(148)=>556,chr(149)=>350,chr(150)=>500,chr(151)=>889,chr(152)=>333,chr(153)=>980, + chr(154)=>389,chr(155)=>333,chr(156)=>667,chr(157)=>350,chr(158)=>389,chr(159)=>556,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>275,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>675,chr(173)=>333,chr(174)=>760,chr(175)=>333, + chr(176)=>400,chr(177)=>675,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>523,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>611,chr(193)=>611,chr(194)=>611,chr(195)=>611,chr(196)=>611,chr(197)=>611, + chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>667,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>675,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, + chr(220)=>722,chr(221)=>556,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, + chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>675,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>444,chr(254)=>500,chr(255)=>444); +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/old/zapfdingbats.php b/htdocs/includes/fpdf/tcpdf/fonts/old/zapfdingbats.php new file mode 100644 index 00000000000..f2bdfd5c940 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/old/zapfdingbats.php @@ -0,0 +1,15 @@ +0,chr(1)=>0,chr(2)=>0,chr(3)=>0,chr(4)=>0,chr(5)=>0,chr(6)=>0,chr(7)=>0,chr(8)=>0,chr(9)=>0,chr(10)=>0,chr(11)=>0,chr(12)=>0,chr(13)=>0,chr(14)=>0,chr(15)=>0,chr(16)=>0,chr(17)=>0,chr(18)=>0,chr(19)=>0,chr(20)=>0,chr(21)=>0, + chr(22)=>0,chr(23)=>0,chr(24)=>0,chr(25)=>0,chr(26)=>0,chr(27)=>0,chr(28)=>0,chr(29)=>0,chr(30)=>0,chr(31)=>0,' '=>278,'!'=>974,'"'=>961,'#'=>974,'$'=>980,'%'=>719,'&'=>789,'\''=>790,'('=>791,')'=>690,'*'=>960,'+'=>939, + ','=>549,'-'=>855,'.'=>911,'/'=>933,'0'=>911,'1'=>945,'2'=>974,'3'=>755,'4'=>846,'5'=>762,'6'=>761,'7'=>571,'8'=>677,'9'=>763,':'=>760,';'=>759,'<'=>754,'='=>494,'>'=>552,'?'=>537,'@'=>577,'A'=>692, + 'B'=>786,'C'=>788,'D'=>788,'E'=>790,'F'=>793,'G'=>794,'H'=>816,'I'=>823,'J'=>789,'K'=>841,'L'=>823,'M'=>833,'N'=>816,'O'=>831,'P'=>923,'Q'=>744,'R'=>723,'S'=>749,'T'=>790,'U'=>792,'V'=>695,'W'=>776, + 'X'=>768,'Y'=>792,'Z'=>759,'['=>707,'\\'=>708,']'=>682,'^'=>701,'_'=>826,'`'=>815,'a'=>789,'b'=>789,'c'=>707,'d'=>687,'e'=>696,'f'=>689,'g'=>786,'h'=>787,'i'=>713,'j'=>791,'k'=>785,'l'=>791,'m'=>873, + 'n'=>761,'o'=>762,'p'=>762,'q'=>759,'r'=>759,'s'=>892,'t'=>892,'u'=>788,'v'=>784,'w'=>438,'x'=>138,'y'=>277,'z'=>415,'{'=>392,'|'=>392,'}'=>668,'~'=>668,chr(127)=>0,chr(128)=>390,chr(129)=>390,chr(130)=>317,chr(131)=>317, + chr(132)=>276,chr(133)=>276,chr(134)=>509,chr(135)=>509,chr(136)=>410,chr(137)=>410,chr(138)=>234,chr(139)=>234,chr(140)=>334,chr(141)=>334,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, + chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>0,chr(161)=>732,chr(162)=>544,chr(163)=>544,chr(164)=>910,chr(165)=>667,chr(166)=>760,chr(167)=>760,chr(168)=>776,chr(169)=>595,chr(170)=>694,chr(171)=>626,chr(172)=>788,chr(173)=>788,chr(174)=>788,chr(175)=>788, + chr(176)=>788,chr(177)=>788,chr(178)=>788,chr(179)=>788,chr(180)=>788,chr(181)=>788,chr(182)=>788,chr(183)=>788,chr(184)=>788,chr(185)=>788,chr(186)=>788,chr(187)=>788,chr(188)=>788,chr(189)=>788,chr(190)=>788,chr(191)=>788,chr(192)=>788,chr(193)=>788,chr(194)=>788,chr(195)=>788,chr(196)=>788,chr(197)=>788, + chr(198)=>788,chr(199)=>788,chr(200)=>788,chr(201)=>788,chr(202)=>788,chr(203)=>788,chr(204)=>788,chr(205)=>788,chr(206)=>788,chr(207)=>788,chr(208)=>788,chr(209)=>788,chr(210)=>788,chr(211)=>788,chr(212)=>894,chr(213)=>838,chr(214)=>1016,chr(215)=>458,chr(216)=>748,chr(217)=>924,chr(218)=>748,chr(219)=>918, + chr(220)=>927,chr(221)=>928,chr(222)=>928,chr(223)=>834,chr(224)=>873,chr(225)=>828,chr(226)=>924,chr(227)=>924,chr(228)=>917,chr(229)=>930,chr(230)=>931,chr(231)=>463,chr(232)=>883,chr(233)=>836,chr(234)=>836,chr(235)=>867,chr(236)=>867,chr(237)=>696,chr(238)=>696,chr(239)=>874,chr(240)=>0,chr(241)=>874, + chr(242)=>760,chr(243)=>946,chr(244)=>771,chr(245)=>865,chr(246)=>771,chr(247)=>888,chr(248)=>967,chr(249)=>888,chr(250)=>831,chr(251)=>873,chr(252)=>927,chr(253)=>970,chr(254)=>918,chr(255)=>0); +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/COPYRIGHT.TXT b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/COPYRIGHT.TXT new file mode 100644 index 00000000000..e651be1c4fe --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/COPYRIGHT.TXT @@ -0,0 +1,124 @@ +Bitstream Vera Fonts Copyright + +The fonts have a generous copyright, allowing derivative works (as +long as "Bitstream" or "Vera" are not in the names), and full +redistribution (so long as they are not *sold* by themselves). They +can be be bundled, redistributed and sold with any software. + +The fonts are distributed under the following copyright: + +Copyright +========= + +Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream +Vera is a trademark of Bitstream, Inc. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the fonts accompanying this license ("Fonts") and associated +documentation files (the "Font Software"), to reproduce and distribute +the Font Software, including without limitation the rights to use, +copy, merge, publish, distribute, and/or sell copies of the Font +Software, and to permit persons to whom the Font Software is furnished +to do so, subject to the following conditions: + +The above copyright and trademark notices and this permission notice +shall be included in all copies of one or more of the Font Software +typefaces. + +The Font Software may be modified, altered, or added to, and in +particular the designs of glyphs or characters in the Fonts may be +modified and additional glyphs or characters may be added to the +Fonts, only if the fonts are renamed to names not containing either +the words "Bitstream" or the word "Vera". + +This License becomes null and void to the extent applicable to Fonts +or Font Software that has been modified and is distributed under the +"Bitstream Vera" names. + +The Font Software may be sold as part of a larger software package but +no copy of one or more of the Font Software typefaces may be sold by +itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL +BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, +OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT +SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. + +Except as contained in this notice, the names of Gnome, the Gnome +Foundation, and Bitstream Inc., shall not be used in advertising or +otherwise to promote the sale, use or other dealings in this Font +Software without prior written authorization from the Gnome Foundation +or Bitstream Inc., respectively. For further information, contact: +fonts at gnome dot org. + +Copyright FAQ +============= + + 1. I don't understand the resale restriction... What gives? + + Bitstream is giving away these fonts, but wishes to ensure its + competitors can't just drop the fonts as is into a font sale system + and sell them as is. It seems fair that if Bitstream can't make money + from the Bitstream Vera fonts, their competitors should not be able to + do so either. You can sell the fonts as part of any software package, + however. + + 2. I want to package these fonts separately for distribution and + sale as part of a larger software package or system. Can I do so? + + Yes. A RPM or Debian package is a "larger software package" to begin + with, and you aren't selling them independently by themselves. + See 1. above. + + 3. Are derivative works allowed? + Yes! + + 4. Can I change or add to the font(s)? + Yes, but you must change the name(s) of the font(s). + + 5. Under what terms are derivative works allowed? + + You must change the name(s) of the fonts. This is to ensure the + quality of the fonts, both to protect Bitstream and Gnome. We want to + ensure that if an application has opened a font specifically of these + names, it gets what it expects (though of course, using fontconfig, + substitutions could still could have occurred during font + opening). You must include the Bitstream copyright. Additional + copyrights can be added, as per copyright law. Happy Font Hacking! + + 6. If I have improvements for Bitstream Vera, is it possible they might get + adopted in future versions? + + Yes. The contract between the Gnome Foundation and Bitstream has + provisions for working with Bitstream to ensure quality additions to + the Bitstream Vera font family. Please contact us if you have such + additions. Note, that in general, we will want such additions for the + entire family, not just a single font, and that you'll have to keep + both Gnome and Jim Lyles, Vera's designer, happy! To make sense to add + glyphs to the font, they must be stylistically in keeping with Vera's + design. Vera cannot become a "ransom note" font. Jim Lyles will be + providing a document describing the design elements used in Vera, as a + guide and aid for people interested in contributing to Vera. + + 7. I want to sell a software package that uses these fonts: Can I do so? + + Sure. Bundle the fonts with your software and sell your software + with the fonts. That is the intent of the copyright. + + 8. If applications have built the names "Bitstream Vera" into them, + can I override this somehow to use fonts of my choosing? + + This depends on exact details of the software. Most open source + systems and software (e.g., Gnome, KDE, etc.) are now converting to + use fontconfig (see www.fontconfig.org) to handle font configuration, + selection and substitution; it has provisions for overriding font + names and subsituting alternatives. An example is provided by the + supplied local.conf file, which chooses the family Bitstream Vera for + "sans", "serif" and "monospace". Other software (e.g., the XFree86 + core server) has other mechanisms for font substitution. + diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/README.TXT b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/README.TXT new file mode 100644 index 00000000000..0f71795a7cb --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/README.TXT @@ -0,0 +1,11 @@ +Contained herin is the Bitstream Vera font family. + +The Copyright information is found in the COPYRIGHT.TXT file (along +with being incoporated into the fonts themselves). + +The releases notes are found in the file "RELEASENOTES.TXT". + +We hope you enjoy Vera! + + Bitstream, Inc. + The Gnome Project diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/RELEASENOTES.TXT b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/RELEASENOTES.TXT new file mode 100644 index 00000000000..270bc0d409a --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/RELEASENOTES.TXT @@ -0,0 +1,162 @@ +Bitstream Vera Fonts - April 16, 2003 +===================================== + +The version number of these fonts is 1.10 to distinguish them from the +beta test fonts. + +Note that the Vera copyright is incorporated in the fonts themselves. +The License field in the fonts contains the copyright license as it +appears below. The TrueType copyright field is not large enough to +contain the full license, so the license is incorporated (as you might +think if you thought about it) into the license field, which +unfortunately can be obscure to find. (In pfaedit, see: Element->Font +Info->TTFNames->License). + +Our apologies for it taking longer to complete the fonts than planned. +Beta testers requested a tighter line spacing (less leading) and Jim +Lyles redesigned Vera's accents to bring its line spacing to more +typical of other fonts. This took additional time and effort. Our +thanks to Jim for this effort above and beyond the call of duty. + +There are four monospace and sans faces (normal, oblique, bold, bold +oblique) and two serif faces (normal and bold). Fontconfig/Xft2 (see +www.fontconfig.org) can artificially oblique the serif faces for you: +this loses hinting and distorts the faces slightly, but is visibly +different than normal and bold, and reasonably pleasing. + +On systems with fontconfig 2.0 or 2.1 installed, making your sans, +serif and monospace fonts default to these fonts is very easy. Just +drop the file local.conf into your /etc/fonts directory. This will +make the Bitstream fonts your default fonts for all applications using +fontconfig (if sans, serif, or monospace names are used, as they often +are as default values in many desktops). The XML in local.conf may +need modification to enable subpixel decimation, if appropriate, +however, the commented out phrase does so for XFree86 4.3, in the case +that the server does not have sufficient information to identify the +use of a flat panel. Fontconfig 2.2 adds Vera to the list of font +families and will, by default use it as the default sans, serif and +monospace fonts. + +During the testing of the final Vera fonts, we learned that screen +fonts in general are only typically hinted to work correctly at +integer pixel sizes. Vera is coded internally for integer sizes only. +We need to investigate further to see if there are commonly used fonts +that are hinted to be rounded but are not rounded to integer sizes due +to oversights in their coding. + +Most fonts work best at 8 pixels and below if anti-aliased only, as +the amount of work required to hint well at smaller and smaller sizes +becomes astronomical. GASP tables are typically used to control +whether hinting is used or not, but Freetype/Xft does not currently +support GASP tables (which are present in Vera). + +To mitigate this problem, both for Vera and other fonts, there will be +(very shortly) a new fontconfig 2.2 release that will, by default not +apply hints if the size is below 8 pixels. if you should have a font +that in fact has been hinted more agressively, you can use fontconfig +to note this exception. We believe this should improve many hinted +fonts in addition to Vera, though implemeting GASP support is likely +the right long term solution. + +Font rendering in Gnome or KDE is the combination of algorithms in +Xft2 and Freetype, along with hinting in the fonts themselves. It is +vital to have sufficient information to disentangle problems that you +may observe. + +Note that having your font rendering system set up correctly is vital +to proper judgement of problems of the fonts: + + * Freetype may or may not be configured to in ways that may + implement execution of possibly patented (in some parts of the world) + TrueType hinting algorithms, particularly at small sizes. Best + results are obtained while using these algorithms. + + * The freetype autohinter (used when the possibly patented + algorithms are not used) continues to improve with each release. If + you are using the autohinter, please ensure you are using an up to + date version of freetype before reporting problems. + + * Please identify what version of freetype you are using in any + bug reports, and how your freetype is configured. + + * Make sure you are not using the freetype version included in + XFree86 4.3, as it has bugs that significantly degrade most fonts, + including Vera. if you build XFree86 4.3 from source yourself, you may + have installed this broken version without intending it (as I + did). Vera was verified with the recently released Freetype 2.1.4. On + many systems, 'ldd" can be used to see which freetype shared library + is actually being used. + + * Xft/X Render does not (yet) implement gamma correction. This + causes significant problems rendering white text on a black background + (causing partial pixels to be insufficiently shaded) if the gamma of + your monitor has not been compensated for, and minor problems with + black text on a while background. The program "xgamma" can be used to + set a gamma correction value in the X server's color pallette. Most + monitors have a gamma near 2. + + * Note that the Vera family uses minimal delta hinting. Your + results on other systems when not used anti-aliased may not be + entirely satisfying. We are primarily interested in reports of + problems on open source systems implementing Xft2/fontconfig/freetype + (which implements antialiasing and hinting adjustements, and + sophisticated subpixel decimation on flatpanels). Also, the + algorithms used by Xft2 adjust the hints to integer widths and the + results are crisper on open source systems than on Windows or + MacIntosh. + + * Your fontconfig may (probably does) predate the release of + fontconfig 2.2, and you may see artifacts not present when the font is + used at very small sizes with hinting enabled. "vc-list -V" can be + used to see what version you have installed. + +We believe and hope that these fonts will resolve the problems +reported during beta test. The largest change is the reduction of +leading (interline spacing), which had annoyed a number of people, and +reduced Vera's utility for some applcations. The Vera monospace font +should also now make '0' and 'O' and '1' and 'l' more clearly +distinguishable. + +The version of these fonts is version 1.10. Fontconfig should be +choosing the new version of the fonts if both the released fonts and +beta test fonts are installed (though please discard them: they have +names of form tt20[1-12]gn.ttf). Note that older versions of +fontconfig sometimes did not rebuild their cache correctly when new +fonts are installed: please upgrade to fontconfig 2.2. "fc-cache -f" +can be used to force rebuilding fontconfig's cache files. + +If you note problems, please send them to fonts at gnome dot org, with +exactly which face and size and unicode point you observe the problem +at. The xfd utility from XFree86 CVS may be useful for this (e.g. "xfd +-fa sans"). A possibly more useful program to examine fonts at a +variety of sizes is the "waterfall" program found in Keith Packard's +CVS. + + $ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS login + Logging in to :pserver:anoncvs@keithp.com:2401/local/src/CVS + CVS password: + $ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS co waterfall + $ cd waterfall + $ xmkmf -a + $ make + # make install + # make install.man + +Again, please make sure you are running an up-to-date freetype, and +that you are only examining integer sizes. + +Reporting Problems +================== + +Please send problem reports to fonts at gnome org, with the following +information: + + 1. Version of Freetype, Xft2 and fontconfig + 2. Whether TT hinting is being used, or the autohinter + 3. Application being used + 4. Character/Unicode code point that has problems (if applicable) + 5. Version of which operating system + 6. Please include a screenshot, when possible. + +Please check the fonts list archives before reporting problems to cut +down on duplication. diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/Vera.ttf b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/Vera.ttf new file mode 100644 index 00000000000..58cd6b5e61e Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/Vera.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraBI.ttf b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraBI.ttf new file mode 100644 index 00000000000..b55eee397ee Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraBI.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraBd.ttf b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraBd.ttf new file mode 100644 index 00000000000..51d6111d722 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraBd.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraIt.ttf b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraIt.ttf new file mode 100644 index 00000000000..cc23c9efd20 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraIt.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMoBI.ttf b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMoBI.ttf new file mode 100644 index 00000000000..8624542ed20 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMoBI.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMoBd.ttf b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMoBd.ttf new file mode 100644 index 00000000000..9be6547ed61 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMoBd.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMoIt.ttf b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMoIt.ttf new file mode 100644 index 00000000000..24049248569 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMoIt.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMono.ttf b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMono.ttf new file mode 100644 index 00000000000..139f0b4311a Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraMono.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraSe.ttf b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraSe.ttf new file mode 100644 index 00000000000..4b4ecc66671 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraSe.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraSeBd.ttf b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraSeBd.ttf new file mode 100644 index 00000000000..672bf761fe9 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/VeraSeBd.ttf differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/local.conf b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/local.conf new file mode 100644 index 00000000000..0b8e3a2eed8 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/ttf-bitstream-vera-1.10/local.conf @@ -0,0 +1,32 @@ + + + + + + + + serif + + Bitstream Vera Serif + + + + sans-serif + + Bitstream Vera Sans + + + + monospace + + Bitstream Vera Sans Mono + + + diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf2ufm/README.TXT b/htdocs/includes/fpdf/tcpdf/fonts/ttf2ufm/README.TXT new file mode 100644 index 00000000000..3cabb88957b --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/ttf2ufm/README.TXT @@ -0,0 +1,18 @@ +To embed TrueType fonts (.TTF) files, you need to extract the font metrics and +build the required tables using the provided utility (/fonts/ttf2ufm). + +TTF2UFM is a modified version of Mark Heath's TTF 2 PT1 converter +(http://ttf2pt1.sourceforge.net/) by Steven Wittens +(http://www.acko.net/blog/ufpdf). ttf2ufm, is included in /ttf2ufm-src. +The /fonts/ttf2ufm folder contains a compiled Windows binary. +TTF 2 UFM is identical to TTF 2 PT1 except that it also generates a .ufm file +for usage with makefontuni.php. + + +Setting up a Truetype font for usage with UFPDF: + 1) Generate the font's .ufm metrics file by processing it with the provided + ttf2ufm program (modified ttf2pt1). For example: + $ ttf2ufm -a -F myfont.ttf + 2) Run makefontuni.php with the .ttf and .ufm filenames as argument: + $ php -q makefontuni.php myfont.ttf myfont.ufm + 3) Copy the resulting .php, .z and .ctg.z file to the TCPDF font directory. \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf2ufm/makefontuni.php b/htdocs/includes/fpdf/tcpdf/fonts/ttf2ufm/makefontuni.php new file mode 100644 index 00000000000..a6da13b86cb --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/ttf2ufm/makefontuni.php @@ -0,0 +1,314 @@ += 0 && $cc < 0xFFFF && $glyph) { + $cidtogidmap{$cc*2} = chr($glyph >> 8); + $cidtogidmap{$cc*2 + 1} = chr($glyph & 0xFF); + } + } + if($gn=='.notdef' && !isset($fm['MissingWidth'])) + $fm['MissingWidth']=$w; + } + elseif($code=='FontName') + $fm['FontName']=$param; + elseif($code=='Weight') + $fm['Weight']=$param; + elseif($code=='ItalicAngle') + $fm['ItalicAngle']=(double)$param; + elseif($code=='Ascender') + $fm['Ascender']=(int)$param; + elseif($code=='Descender') + $fm['Descender']=(int)$param; + elseif($code=='UnderlineThickness') + $fm['UnderlineThickness']=(int)$param; + elseif($code=='UnderlinePosition') + $fm['UnderlinePosition']=(int)$param; + elseif($code=='IsFixedPitch') + $fm['IsFixedPitch']=($param=='true'); + elseif($code=='FontBBox') + $fm['FontBBox']=array($e[1],$e[2],$e[3],$e[4]); + elseif($code=='CapHeight') + $fm['CapHeight']=(int)$param; + elseif($code=='StdVW') + $fm['StdVW']=(int)$param; + } + if(!isset($fm['MissingWidth'])) + $fm['MissingWidth']=600; + + if(!isset($fm['FontName'])) + die('FontName not found'); + + $fm['Widths']=$widths; + + return $fm; +} + +function MakeFontDescriptor($fm) +{ + //Ascent + $asc=(isset($fm['Ascender']) ? $fm['Ascender'] : 1000); + $fd="array('Ascent'=>".$asc; + //Descent + $desc=(isset($fm['Descender']) ? $fm['Descender'] : -200); + $fd.=",'Descent'=>".$desc; + //CapHeight + if(isset($fm['CapHeight'])) + $ch=$fm['CapHeight']; + elseif(isset($fm['CapXHeight'])) + $ch=$fm['CapXHeight']; + else + $ch=$asc; + $fd.=",'CapHeight'=>".$ch; + //Flags + $flags=0; + if(isset($fm['IsFixedPitch']) and $fm['IsFixedPitch']) + $flags+=1<<0; + $flags+=1<<5; + if(isset($fm['ItalicAngle']) and $fm['ItalicAngle']!=0) + $flags+=1<<6; + $fd.=",'Flags'=>".$flags; + //FontBBox + if(isset($fm['FontBBox'])) + $fbb=$fm['FontBBox']; + else + $fbb=array(0,$des-100,1000,$asc+100); + $fd.=",'FontBBox'=>'[".$fbb[0].' '.$fbb[1].' '.$fbb[2].' '.$fbb[3]."]'"; + //ItalicAngle + $ia=(isset($fm['ItalicAngle']) ? $fm['ItalicAngle'] : 0); + $fd.=",'ItalicAngle'=>".$ia; + //StemV + if(isset($fm['StdVW'])) + $stemv=$fm['StdVW']; + elseif(isset($fm['Weight']) and eregi('(bold|black)',$fm['Weight'])) + $stemv=120; + else + $stemv=70; + $fd.=",'StemV'=>".$stemv; + //MissingWidth + if(isset($fm['MissingWidth'])) + $fd.=",'MissingWidth'=>".$fm['MissingWidth']; + $fd.=')'; + return $fd; +} + +function MakeWidthArray($fm) +{ + //Make character width array + $s="array("; + $cw=$fm['Widths']; + $els=array(); + $c=0; + foreach ($cw as $i => $w) + { + $els[] = ((($c++)%16==0)?"\n\t":'').$i.'=>'.$w; + } + $s .= implode(', ', $els); + $s.=')'; + return $s; +} + +function SaveToFile($file,$s,$mode='t') +{ + $f=fopen($file,'w'.$mode); + if(!$f) + die('Can\'t write to file '.$file); + fwrite($f,$s,strlen($s)); + fclose($f); +} + +function ReadShort($f) +{ + $a=unpack('n1n',fread($f,2)); + return $a['n']; +} + +function ReadLong($f) +{ + $a=unpack('N1N',fread($f,4)); + return $a['N']; +} + +function CheckTTF($file) +{ + //Check if font license allows embedding + $f=fopen($file,'rb'); + if(!$f) + die('Error: Can\'t open '.$file); + //Extract number of tables + fseek($f,4,SEEK_CUR); + $nb=ReadShort($f); + fseek($f,6,SEEK_CUR); + //Seek OS/2 table + $found=false; + for($i=0;$i<$nb;$i++) + { + if(fread($f,4)=='OS/2') + { + $found=true; + break; + } + fseek($f,12,SEEK_CUR); + } + if(!$found) + { + fclose($f); + return; + } + fseek($f,4,SEEK_CUR); + $offset=ReadLong($f); + fseek($f,$offset,SEEK_SET); + //Extract fsType flags + fseek($f,8,SEEK_CUR); + $fsType=ReadShort($f); + $rl=($fsType & 0x02)!=0; + $pp=($fsType & 0x04)!=0; + $e=($fsType & 0x08)!=0; + fclose($f); + if($rl and !$pp and !$e) + echo 'Warning: font license does not allow embedding'; +} + +/******************************************************************************* +* $fontfile: path to TTF file (or empty string if not to be embedded) * +* $ufmfile: path to UFM file * +*******************************************************************************/ +function MakeFont($fontfile,$ufmfile) +{ + //Generate a font definition file + set_magic_quotes_runtime(0); + if(!file_exists($ufmfile)) + die('Error: UFM file not found: '.$ufmfile); + $cidtogidmap = ''; + $fm=ReadUFM($ufmfile, $cidtogidmap); + $fd=MakeFontDescriptor($fm); + //Find font type + if($fontfile) + { + $ext=strtolower(substr($fontfile,-3)); + if($ext=='ttf') + $type='TrueTypeUnicode'; + else + die('Error: not a truetype font: '.$ext); + } + else + { + if($type!='TrueTypeUnicode') + die('Error: incorrect font type: '.$type); + } + //Start generation + $s='Error: font file not found: '.$fontfile); + CheckTTF($fontfile); + $f=fopen($fontfile,'rb'); + if(!$f) + die('Error: Can\'t open '.$fontfile); + $file=fread($f,filesize($fontfile)); + fclose($f); + if(function_exists('gzcompress')) + { + $cmp=$basename.'.z'; + SaveToFile($cmp,gzcompress($file),'b'); + $s.='$file=\''.$cmp."';\n"; + echo 'Font file compressed ('.$cmp.')
'; + + $cmp=$basename.'.ctg.z'; + SaveToFile($cmp,gzcompress($cidtogidmap),'b'); + echo 'CIDToGIDMap created and compressed ('.$cmp.')
'; + $s.='$ctg=\''.$cmp."';\n"; + } + else + { + $s.='$file=\''.basename($fontfile)."';\n"; + echo 'Notice: font file could not be compressed (gzcompress not available)
'; + + $cmp=$basename.'.ctg'; + $f = fopen($cmp, 'wb'); + fwrite($f, $cidtogidmap); + fclose($f); + echo 'CIDToGIDMap created ('.$cmp.')
'; + $s.='$ctg=\''.$cmp."';\n"; + } + if($type=='Type1') + { + $s.='$size1='.$size1.";\n"; + $s.='$size2='.$size2.";\n"; + } + else + $s.='$originalsize='.filesize($fontfile).";\n"; + } + else + { + //Not embedded font + $s.='$file='."'';\n"; + } + $s.="?>\n"; + SaveToFile($basename.'.php',$s); + echo 'Font definition file generated ('.$basename.'.php'.')
'; +} + +$arg = $GLOBALS['argv']; +if (count($arg) >= 3) { + ob_start(); + array_shift($arg); + MakeFont($arg[0], $arg[1]); + $t = ob_get_clean(); + print preg_replace('!!i', "\n", $t); +} +else { + print "Usage: makefontuni.php \n"; +} +?> \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/fonts/ttf2ufm/ttf2ufm.exe b/htdocs/includes/fpdf/tcpdf/fonts/ttf2ufm/ttf2ufm.exe new file mode 100644 index 00000000000..673f7b4aae5 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/ttf2ufm/ttf2ufm.exe differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/vera.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/vera.ctg.z new file mode 100644 index 00000000000..904f8fae092 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/vera.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/vera.php b/htdocs/includes/fpdf/tcpdf/fonts/vera.php new file mode 100644 index 00000000000..706203a6b0a --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/vera.php @@ -0,0 +1,30 @@ +928,'Descent'=>-236,'CapHeight'=>928,'Flags'=>32,'FontBBox'=>'[-183 -236 1287 928]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>600); +$up=-104; +$ut=70; +$cw=array( + 270=>600, 32=>318, 33=>401, 34=>460, 35=>838, 36=>636, 37=>950, 38=>780, 39=>275, 40=>390, 41=>390, 42=>500, 43=>838, 44=>318, 45=>361, 46=>318, + 47=>337, 48=>636, 49=>636, 50=>636, 51=>636, 52=>636, 53=>636, 54=>636, 55=>636, 56=>636, 57=>636, 58=>337, 59=>337, 60=>838, 61=>838, 62=>838, + 63=>531, 64=>1000, 65=>684, 66=>686, 67=>698, 68=>770, 69=>632, 70=>575, 71=>775, 72=>752, 73=>295, 74=>295, 75=>656, 76=>557, 77=>863, 78=>748, + 79=>787, 80=>603, 81=>787, 82=>695, 83=>635, 84=>611, 85=>732, 86=>684, 87=>989, 88=>685, 89=>611, 90=>685, 91=>390, 92=>337, 93=>390, 94=>838, + 95=>500, 96=>500, 97=>613, 98=>635, 99=>550, 100=>635, 101=>615, 102=>352, 103=>635, 104=>634, 105=>278, 106=>278, 107=>579, 108=>278, 109=>974, 110=>634, + 111=>612, 112=>635, 113=>635, 114=>411, 115=>521, 116=>392, 117=>634, 118=>592, 119=>818, 120=>592, 121=>592, 122=>525, 123=>636, 124=>337, 125=>636, 126=>838, + 8364=>636, 8218=>318, 402=>636, 8222=>518, 8230=>1000, 8224=>500, 8225=>500, 710=>500, 8240=>1342, 352=>635, 8249=>400, 338=>1070, 381=>685, 8216=>318, 8217=>318, 8220=>518, + 8221=>518, 8226=>590, 8211=>500, 8212=>1000, 732=>500, 8482=>1000, 353=>521, 8250=>400, 339=>1023, 382=>525, 376=>611, 160=>636, 161=>401, 162=>636, 163=>636, 164=>636, + 165=>636, 166=>337, 167=>500, 168=>500, 169=>1000, 170=>471, 171=>612, 172=>838, 173=>361, 174=>1000, 175=>500, 176=>500, 177=>838, 178=>401, 179=>401, 180=>500, + 181=>636, 182=>636, 183=>318, 184=>500, 185=>401, 186=>471, 187=>612, 188=>969, 189=>969, 190=>969, 191=>531, 192=>684, 193=>684, 194=>684, 195=>684, 196=>684, + 197=>684, 198=>974, 199=>698, 200=>632, 201=>632, 202=>632, 203=>632, 204=>295, 205=>295, 206=>295, 207=>295, 208=>775, 209=>748, 210=>787, 211=>787, 212=>787, + 213=>787, 214=>787, 215=>838, 216=>787, 217=>732, 218=>732, 219=>732, 220=>732, 221=>611, 222=>605, 223=>630, 224=>613, 225=>613, 226=>613, 227=>613, 228=>613, + 229=>613, 230=>982, 231=>550, 232=>615, 233=>615, 234=>615, 235=>615, 236=>278, 237=>278, 238=>278, 239=>278, 240=>612, 241=>634, 242=>612, 243=>612, 244=>612, + 245=>612, 246=>612, 247=>838, 248=>612, 249=>634, 250=>634, 251=>634, 252=>634, 253=>592, 254=>635, 255=>592, 8800=>838, 8734=>833, 8804=>838, 8805=>838, 8706=>517, + 8721=>674, 8719=>757, 960=>589, 8747=>521, 937=>764, 8730=>637, 8776=>838, 8710=>669, 9674=>494, 8725=>167, 64257=>630, 64258=>630, 305=>278, 728=>500, 729=>500, 730=>500, + 733=>500, 731=>500, 711=>500, 321=>562, 322=>284, 8722=>838, 286=>775, 287=>635, 304=>295, 350=>635, 351=>521, 262=>698, 263=>550, 268=>698, 269=>550, 273=>635, + 8729=>318); +$enc=''; +$diff=''; +$file='vera.z'; +$ctg='vera.ctg.z'; +$originalsize=65932; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/vera.z b/htdocs/includes/fpdf/tcpdf/fonts/vera.z new file mode 100644 index 00000000000..dc32a23799a Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/vera.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verab.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/verab.ctg.z new file mode 100644 index 00000000000..904f8fae092 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/verab.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verab.php b/htdocs/includes/fpdf/tcpdf/fonts/verab.php new file mode 100644 index 00000000000..1a75b0e3bb8 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/verab.php @@ -0,0 +1,30 @@ +928,'Descent'=>-236,'CapHeight'=>928,'Flags'=>32,'FontBBox'=>'[-199 -236 1417 928]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>600); +$up=-111; +$ut=126; +$cw=array( + 270=>600, 32=>348, 33=>456, 34=>521, 35=>838, 36=>696, 37=>1002, 38=>872, 39=>306, 40=>457, 41=>457, 42=>523, 43=>838, 44=>380, 45=>415, 46=>380, + 47=>365, 48=>696, 49=>696, 50=>696, 51=>696, 52=>696, 53=>696, 54=>696, 55=>696, 56=>696, 57=>696, 58=>400, 59=>400, 60=>838, 61=>838, 62=>838, + 63=>580, 64=>1000, 65=>774, 66=>762, 67=>734, 68=>830, 69=>683, 70=>683, 71=>821, 72=>837, 73=>372, 74=>372, 75=>775, 76=>637, 77=>995, 78=>837, + 79=>850, 80=>733, 81=>850, 82=>770, 83=>720, 84=>682, 85=>812, 86=>774, 87=>1103, 88=>771, 89=>724, 90=>725, 91=>457, 92=>365, 93=>457, 94=>838, + 95=>500, 96=>500, 97=>675, 98=>716, 99=>593, 100=>716, 101=>678, 102=>435, 103=>716, 104=>712, 105=>343, 106=>343, 107=>665, 108=>343, 109=>1042, 110=>712, + 111=>687, 112=>716, 113=>716, 114=>493, 115=>595, 116=>478, 117=>712, 118=>652, 119=>924, 120=>645, 121=>652, 122=>582, 123=>712, 124=>365, 125=>712, 126=>838, + 8364=>696, 8218=>380, 402=>696, 8222=>657, 8230=>1000, 8224=>500, 8225=>500, 710=>500, 8240=>1440, 352=>720, 8249=>412, 338=>1167, 381=>725, 8216=>380, 8217=>380, 8220=>657, + 8221=>657, 8226=>639, 8211=>500, 8212=>1000, 732=>500, 8482=>1000, 353=>595, 8250=>412, 339=>1094, 382=>582, 376=>724, 160=>696, 161=>456, 162=>696, 163=>696, 164=>636, + 165=>696, 166=>365, 167=>500, 168=>500, 169=>1000, 170=>564, 171=>646, 172=>838, 173=>415, 174=>1000, 175=>500, 176=>500, 177=>838, 178=>438, 179=>438, 180=>500, + 181=>736, 182=>636, 183=>380, 184=>500, 185=>438, 186=>564, 187=>646, 188=>1035, 189=>1035, 190=>1035, 191=>580, 192=>774, 193=>774, 194=>774, 195=>774, 196=>774, + 197=>774, 198=>1085, 199=>734, 200=>683, 201=>683, 202=>683, 203=>683, 204=>372, 205=>372, 206=>372, 207=>372, 208=>838, 209=>837, 210=>850, 211=>850, 212=>850, + 213=>850, 214=>850, 215=>838, 216=>850, 217=>812, 218=>812, 219=>812, 220=>812, 221=>724, 222=>738, 223=>719, 224=>675, 225=>675, 226=>675, 227=>675, 228=>675, + 229=>675, 230=>1048, 231=>593, 232=>678, 233=>678, 234=>678, 235=>678, 236=>343, 237=>343, 238=>343, 239=>343, 240=>687, 241=>712, 242=>687, 243=>687, 244=>687, + 245=>687, 246=>687, 247=>838, 248=>687, 249=>712, 250=>712, 251=>712, 252=>712, 253=>652, 254=>716, 255=>652, 8800=>838, 8734=>833, 8804=>838, 8805=>838, 8706=>544, + 8721=>718, 8719=>787, 960=>644, 8747=>610, 937=>769, 8730=>667, 8776=>838, 8710=>697, 9674=>494, 8725=>167, 64257=>741, 64258=>741, 305=>343, 728=>500, 729=>500, 730=>500, + 733=>500, 731=>500, 711=>500, 321=>642, 322=>371, 8722=>838, 286=>821, 287=>716, 304=>372, 350=>720, 351=>595, 262=>734, 263=>593, 268=>734, 269=>593, 273=>716, + 8729=>380); +$enc=''; +$diff=''; +$file='verab.z'; +$ctg='verab.ctg.z'; +$originalsize=58716; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verab.z b/htdocs/includes/fpdf/tcpdf/fonts/verab.z new file mode 100644 index 00000000000..f5fa4d0a3ec Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/verab.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verabi.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/verabi.ctg.z new file mode 100644 index 00000000000..904f8fae092 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/verabi.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verabi.php b/htdocs/includes/fpdf/tcpdf/fonts/verabi.php new file mode 100644 index 00000000000..c6aa9d321ff --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/verabi.php @@ -0,0 +1,30 @@ +928,'Descent'=>-236,'CapHeight'=>928,'Flags'=>96,'FontBBox'=>'[-278 -236 1401 928]','ItalicAngle'=>-11,'StemV'=>120,'MissingWidth'=>600); +$up=-111; +$ut=126; +$cw=array( + 270=>600, 32=>348, 33=>456, 34=>521, 35=>696, 36=>696, 37=>1002, 38=>872, 39=>306, 40=>457, 41=>457, 42=>523, 43=>838, 44=>380, 45=>415, 46=>380, + 47=>365, 48=>696, 49=>696, 50=>696, 51=>696, 52=>696, 53=>696, 54=>696, 55=>696, 56=>696, 57=>696, 58=>400, 59=>400, 60=>838, 61=>838, 62=>838, + 63=>580, 64=>1000, 65=>774, 66=>762, 67=>734, 68=>830, 69=>683, 70=>683, 71=>821, 72=>837, 73=>372, 74=>372, 75=>775, 76=>637, 77=>995, 78=>837, + 79=>850, 80=>733, 81=>850, 82=>770, 83=>720, 84=>682, 85=>812, 86=>774, 87=>1103, 88=>771, 89=>724, 90=>725, 91=>457, 92=>365, 93=>457, 94=>838, + 95=>500, 96=>500, 97=>675, 98=>716, 99=>593, 100=>716, 101=>678, 102=>435, 103=>716, 104=>712, 105=>343, 106=>343, 107=>665, 108=>343, 109=>1042, 110=>712, + 111=>687, 112=>716, 113=>716, 114=>493, 115=>595, 116=>478, 117=>712, 118=>652, 119=>924, 120=>645, 121=>652, 122=>582, 123=>712, 124=>365, 125=>712, 126=>838, + 8364=>696, 8218=>380, 402=>696, 8222=>644, 8230=>1000, 8224=>500, 8225=>500, 710=>500, 8240=>1454, 352=>720, 8249=>412, 338=>1167, 381=>725, 8216=>380, 8217=>380, 8220=>644, + 8221=>644, 8226=>639, 8211=>500, 8212=>1000, 732=>500, 8482=>1000, 353=>595, 8250=>412, 339=>1094, 382=>582, 376=>724, 160=>696, 161=>456, 162=>696, 163=>696, 164=>636, + 165=>696, 166=>365, 167=>500, 168=>500, 169=>1000, 170=>564, 171=>650, 172=>838, 173=>415, 174=>1000, 175=>500, 176=>500, 177=>838, 178=>438, 179=>438, 180=>500, + 181=>736, 182=>636, 183=>380, 184=>500, 185=>438, 186=>564, 187=>650, 188=>1065, 189=>1065, 190=>1065, 191=>580, 192=>774, 193=>774, 194=>774, 195=>774, 196=>774, + 197=>774, 198=>1085, 199=>734, 200=>683, 201=>683, 202=>683, 203=>683, 204=>372, 205=>372, 206=>372, 207=>372, 208=>845, 209=>837, 210=>850, 211=>850, 212=>850, + 213=>850, 214=>850, 215=>838, 216=>850, 217=>812, 218=>812, 219=>812, 220=>812, 221=>724, 222=>742, 223=>719, 224=>675, 225=>675, 226=>675, 227=>675, 228=>675, + 229=>675, 230=>1048, 231=>593, 232=>678, 233=>678, 234=>678, 235=>678, 236=>343, 237=>343, 238=>343, 239=>343, 240=>687, 241=>712, 242=>687, 243=>687, 244=>687, + 245=>687, 246=>687, 247=>838, 248=>687, 249=>712, 250=>712, 251=>712, 252=>712, 253=>652, 254=>716, 255=>652, 8800=>838, 8734=>833, 8804=>838, 8805=>838, 8706=>544, + 8721=>718, 8719=>787, 960=>644, 8747=>610, 937=>769, 8730=>667, 8776=>838, 8710=>697, 9674=>494, 8725=>167, 64257=>787, 64258=>787, 305=>343, 728=>500, 729=>500, 730=>500, + 733=>500, 731=>500, 711=>500, 321=>660, 322=>375, 8722=>838, 286=>821, 287=>716, 304=>372, 350=>720, 351=>595, 262=>734, 263=>593, 268=>734, 269=>593, 273=>716, + 8729=>380); +$enc=''; +$diff=''; +$file='verabi.z'; +$ctg='verabi.ctg.z'; +$originalsize=63208; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verabi.z b/htdocs/includes/fpdf/tcpdf/fonts/verabi.z new file mode 100644 index 00000000000..2ee4581d2bf Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/verabi.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verai.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/verai.ctg.z new file mode 100644 index 00000000000..904f8fae092 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/verai.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verai.php b/htdocs/includes/fpdf/tcpdf/fonts/verai.php new file mode 100644 index 00000000000..5a608bcfa76 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/verai.php @@ -0,0 +1,30 @@ +928,'Descent'=>-236,'CapHeight'=>928,'Flags'=>96,'FontBBox'=>'[-262 -236 1259 928]','ItalicAngle'=>-11,'StemV'=>70,'MissingWidth'=>600); +$up=-104; +$ut=70; +$cw=array( + 270=>600, 32=>318, 33=>401, 34=>460, 35=>838, 36=>636, 37=>950, 38=>780, 39=>275, 40=>390, 41=>390, 42=>500, 43=>838, 44=>318, 45=>361, 46=>318, + 47=>337, 48=>636, 49=>636, 50=>636, 51=>636, 52=>636, 53=>636, 54=>636, 55=>636, 56=>636, 57=>636, 58=>337, 59=>337, 60=>838, 61=>838, 62=>838, + 63=>531, 64=>1000, 65=>684, 66=>686, 67=>698, 68=>770, 69=>632, 70=>575, 71=>775, 72=>752, 73=>295, 74=>295, 75=>656, 76=>557, 77=>863, 78=>748, + 79=>787, 80=>603, 81=>787, 82=>695, 83=>635, 84=>611, 85=>732, 86=>684, 87=>989, 88=>685, 89=>611, 90=>685, 91=>390, 92=>337, 93=>390, 94=>838, + 95=>500, 96=>500, 97=>613, 98=>635, 99=>550, 100=>635, 101=>615, 102=>352, 103=>635, 104=>634, 105=>278, 106=>278, 107=>579, 108=>278, 109=>974, 110=>634, + 111=>612, 112=>635, 113=>635, 114=>411, 115=>521, 116=>392, 117=>634, 118=>592, 119=>818, 120=>592, 121=>592, 122=>525, 123=>636, 124=>337, 125=>636, 126=>838, + 8364=>636, 8218=>318, 402=>636, 8222=>518, 8230=>1000, 8224=>500, 8225=>500, 710=>500, 8240=>1350, 352=>635, 8249=>400, 338=>1070, 381=>685, 8216=>318, 8217=>318, 8220=>518, + 8221=>518, 8226=>590, 8211=>500, 8212=>1000, 732=>500, 8482=>1000, 353=>521, 8250=>400, 339=>1028, 382=>525, 376=>611, 160=>636, 161=>401, 162=>636, 163=>636, 164=>636, + 165=>636, 166=>337, 167=>500, 168=>500, 169=>1000, 170=>471, 171=>617, 172=>838, 173=>361, 174=>1000, 175=>500, 176=>500, 177=>838, 178=>401, 179=>401, 180=>500, + 181=>636, 182=>636, 183=>318, 184=>500, 185=>401, 186=>471, 187=>617, 188=>969, 189=>969, 190=>969, 191=>531, 192=>684, 193=>684, 194=>684, 195=>684, 196=>684, + 197=>684, 198=>974, 199=>698, 200=>632, 201=>632, 202=>632, 203=>632, 204=>295, 205=>295, 206=>295, 207=>295, 208=>775, 209=>748, 210=>787, 211=>787, 212=>787, + 213=>787, 214=>787, 215=>838, 216=>787, 217=>732, 218=>732, 219=>732, 220=>732, 221=>611, 222=>608, 223=>630, 224=>613, 225=>613, 226=>613, 227=>613, 228=>613, + 229=>613, 230=>995, 231=>550, 232=>615, 233=>615, 234=>615, 235=>615, 236=>278, 237=>278, 238=>278, 239=>278, 240=>612, 241=>634, 242=>612, 243=>612, 244=>612, + 245=>612, 246=>612, 247=>838, 248=>612, 249=>634, 250=>634, 251=>634, 252=>634, 253=>592, 254=>635, 255=>592, 8800=>838, 8734=>833, 8804=>838, 8805=>838, 8706=>517, + 8721=>674, 8719=>757, 960=>589, 8747=>521, 937=>764, 8730=>637, 8776=>838, 8710=>669, 9674=>494, 8725=>167, 64257=>646, 64258=>646, 305=>278, 728=>500, 729=>500, 730=>500, + 733=>500, 731=>500, 711=>500, 321=>562, 322=>287, 8722=>838, 286=>775, 287=>635, 304=>295, 350=>635, 351=>521, 262=>698, 263=>550, 268=>698, 269=>550, 273=>635, + 8729=>318); +$enc=''; +$diff=''; +$file='verai.z'; +$ctg='verai.ctg.z'; +$originalsize=63684; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verai.z b/htdocs/includes/fpdf/tcpdf/fonts/verai.z new file mode 100644 index 00000000000..b172197070f Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/verai.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramo.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/veramo.ctg.z new file mode 100644 index 00000000000..904f8fae092 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/veramo.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramo.php b/htdocs/includes/fpdf/tcpdf/fonts/veramo.php new file mode 100644 index 00000000000..419ccac783e --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/veramo.php @@ -0,0 +1,30 @@ +928,'Descent'=>-236,'CapHeight'=>928,'Flags'=>33,'FontBBox'=>'[-5 -236 606 928]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>602); +$up=-104; +$ut=69; +$cw=array( + 270=>602, 32=>602, 33=>602, 34=>602, 35=>602, 36=>602, 37=>602, 38=>602, 39=>602, 40=>602, 41=>602, 42=>602, 43=>602, 44=>602, 45=>602, 46=>602, + 47=>602, 48=>602, 49=>602, 50=>602, 51=>602, 52=>602, 53=>602, 54=>602, 55=>602, 56=>602, 57=>602, 58=>602, 59=>602, 60=>602, 61=>602, 62=>602, + 63=>602, 64=>602, 65=>602, 66=>602, 67=>602, 68=>602, 69=>602, 70=>602, 71=>602, 72=>602, 73=>602, 74=>602, 75=>602, 76=>602, 77=>602, 78=>602, + 79=>602, 80=>602, 81=>602, 82=>602, 83=>602, 84=>602, 85=>602, 86=>602, 87=>602, 88=>602, 89=>602, 90=>602, 91=>602, 92=>602, 93=>602, 94=>602, + 95=>602, 96=>602, 97=>602, 98=>602, 99=>602, 100=>602, 101=>602, 102=>602, 103=>602, 104=>602, 105=>602, 106=>602, 107=>602, 108=>602, 109=>602, 110=>602, + 111=>602, 112=>602, 113=>602, 114=>602, 115=>602, 116=>602, 117=>602, 118=>602, 119=>602, 120=>602, 121=>602, 122=>602, 123=>602, 124=>602, 125=>602, 126=>602, + 8364=>602, 8218=>602, 402=>602, 8222=>602, 8230=>602, 8224=>602, 8225=>602, 710=>602, 8240=>602, 352=>602, 8249=>602, 338=>602, 381=>602, 8216=>602, 8217=>602, 8220=>602, + 8221=>602, 8226=>602, 8211=>602, 8212=>602, 732=>602, 8482=>602, 353=>602, 8250=>602, 339=>602, 382=>602, 376=>602, 160=>602, 161=>602, 162=>602, 163=>602, 164=>602, + 165=>602, 166=>602, 167=>602, 168=>602, 169=>602, 170=>602, 171=>602, 172=>602, 173=>602, 174=>602, 175=>602, 176=>602, 177=>602, 178=>602, 179=>602, 180=>602, + 181=>602, 182=>602, 183=>602, 184=>602, 185=>602, 186=>602, 187=>602, 188=>602, 189=>602, 190=>602, 191=>602, 192=>602, 193=>602, 194=>602, 195=>602, 196=>602, + 197=>602, 198=>602, 199=>602, 200=>602, 201=>602, 202=>602, 203=>602, 204=>602, 205=>602, 206=>602, 207=>602, 208=>602, 209=>602, 210=>602, 211=>602, 212=>602, + 213=>602, 214=>602, 215=>602, 216=>602, 217=>602, 218=>602, 219=>602, 220=>602, 221=>602, 222=>602, 223=>602, 224=>602, 225=>602, 226=>602, 227=>602, 228=>602, + 229=>602, 230=>602, 231=>602, 232=>602, 233=>602, 234=>602, 235=>602, 236=>602, 237=>602, 238=>602, 239=>602, 240=>602, 241=>602, 242=>602, 243=>602, 244=>602, + 245=>602, 246=>602, 247=>602, 248=>602, 249=>602, 250=>602, 251=>602, 252=>602, 253=>602, 254=>602, 255=>602, 8800=>602, 8734=>602, 8804=>602, 8805=>602, 8706=>602, + 8721=>602, 8719=>602, 960=>602, 8747=>602, 937=>602, 8730=>602, 8776=>602, 8710=>602, 9674=>602, 8725=>602, 64257=>602, 64258=>602, 305=>602, 728=>602, 729=>602, 730=>602, + 733=>602, 731=>602, 711=>602, 321=>602, 322=>602, 8722=>602, 286=>602, 287=>602, 304=>602, 350=>602, 351=>602, 262=>602, 263=>602, 268=>602, 269=>602, 273=>602, + 8729=>602); +$enc=''; +$diff=''; +$file='veramo.z'; +$ctg='veramo.ctg.z'; +$originalsize=49224; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramo.z b/htdocs/includes/fpdf/tcpdf/fonts/veramo.z new file mode 100644 index 00000000000..4c6eb767813 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/veramo.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramob.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/veramob.ctg.z new file mode 100644 index 00000000000..904f8fae092 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/veramob.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramob.php b/htdocs/includes/fpdf/tcpdf/fonts/veramob.php new file mode 100644 index 00000000000..f5693104367 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/veramob.php @@ -0,0 +1,30 @@ +928,'Descent'=>-236,'CapHeight'=>928,'Flags'=>33,'FontBBox'=>'[-19 -236 606 928]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>602); +$up=-108; +$ut=120; +$cw=array( + 270=>602, 32=>602, 33=>602, 34=>602, 35=>602, 36=>602, 37=>602, 38=>602, 39=>602, 40=>602, 41=>602, 42=>602, 43=>602, 44=>602, 45=>602, 46=>602, + 47=>602, 48=>602, 49=>602, 50=>602, 51=>602, 52=>602, 53=>602, 54=>602, 55=>602, 56=>602, 57=>602, 58=>602, 59=>602, 60=>602, 61=>602, 62=>602, + 63=>602, 64=>602, 65=>602, 66=>602, 67=>602, 68=>602, 69=>602, 70=>602, 71=>602, 72=>602, 73=>602, 74=>602, 75=>602, 76=>602, 77=>602, 78=>602, + 79=>602, 80=>602, 81=>602, 82=>602, 83=>602, 84=>602, 85=>602, 86=>602, 87=>602, 88=>602, 89=>602, 90=>602, 91=>602, 92=>602, 93=>602, 94=>602, + 95=>602, 96=>602, 97=>602, 98=>602, 99=>602, 100=>602, 101=>602, 102=>602, 103=>602, 104=>602, 105=>602, 106=>602, 107=>602, 108=>602, 109=>602, 110=>602, + 111=>602, 112=>602, 113=>602, 114=>602, 115=>602, 116=>602, 117=>602, 118=>602, 119=>602, 120=>602, 121=>602, 122=>602, 123=>602, 124=>602, 125=>602, 126=>602, + 8364=>602, 8218=>602, 402=>602, 8222=>602, 8230=>602, 8224=>602, 8225=>602, 710=>602, 8240=>602, 352=>602, 8249=>602, 338=>602, 381=>602, 8216=>602, 8217=>602, 8220=>602, + 8221=>602, 8226=>602, 8211=>602, 8212=>602, 732=>602, 8482=>602, 353=>602, 8250=>602, 339=>602, 382=>602, 376=>602, 160=>602, 161=>602, 162=>602, 163=>602, 164=>602, + 165=>602, 166=>602, 167=>602, 168=>602, 169=>602, 170=>602, 171=>602, 172=>602, 173=>602, 174=>602, 175=>602, 176=>602, 177=>602, 178=>602, 179=>602, 180=>602, + 181=>602, 182=>602, 183=>602, 184=>602, 185=>602, 186=>602, 187=>602, 188=>602, 189=>602, 190=>602, 191=>602, 192=>602, 193=>602, 194=>602, 195=>602, 196=>602, + 197=>602, 198=>602, 199=>602, 200=>602, 201=>602, 202=>602, 203=>602, 204=>602, 205=>602, 206=>602, 207=>602, 208=>602, 209=>602, 210=>602, 211=>602, 212=>602, + 213=>602, 214=>602, 215=>602, 216=>602, 217=>602, 218=>602, 219=>602, 220=>602, 221=>602, 222=>602, 223=>602, 224=>602, 225=>602, 226=>602, 227=>602, 228=>602, + 229=>602, 230=>602, 231=>602, 232=>602, 233=>602, 234=>602, 235=>602, 236=>602, 237=>602, 238=>602, 239=>602, 240=>602, 241=>602, 242=>602, 243=>602, 244=>602, + 245=>602, 246=>602, 247=>602, 248=>602, 249=>602, 250=>602, 251=>602, 252=>602, 253=>602, 254=>602, 255=>602, 8800=>602, 8734=>602, 8804=>602, 8805=>602, 8706=>602, + 8721=>602, 8719=>602, 960=>602, 8747=>602, 937=>602, 8730=>602, 8776=>602, 8710=>602, 9674=>602, 8725=>602, 64257=>602, 64258=>602, 305=>602, 728=>602, 729=>602, 730=>602, + 733=>602, 731=>602, 711=>602, 321=>602, 322=>602, 8722=>602, 286=>602, 287=>602, 304=>602, 350=>602, 351=>602, 262=>602, 263=>602, 268=>602, 269=>602, 273=>602, + 8729=>602); +$enc=''; +$diff=''; +$file='veramob.z'; +$ctg='veramob.ctg.z'; +$originalsize=49052; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramob.z b/htdocs/includes/fpdf/tcpdf/fonts/veramob.z new file mode 100644 index 00000000000..8aae085f4b9 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/veramob.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramobi.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/veramobi.ctg.z new file mode 100644 index 00000000000..904f8fae092 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/veramobi.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramobi.php b/htdocs/includes/fpdf/tcpdf/fonts/veramobi.php new file mode 100644 index 00000000000..6a85066b562 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/veramobi.php @@ -0,0 +1,30 @@ +928,'Descent'=>-236,'CapHeight'=>928,'Flags'=>97,'FontBBox'=>'[-73 -236 681 928]','ItalicAngle'=>-11,'StemV'=>120,'MissingWidth'=>602); +$up=-108; +$ut=120; +$cw=array( + 270=>602, 32=>602, 33=>602, 34=>602, 35=>602, 36=>602, 37=>602, 38=>602, 39=>602, 40=>602, 41=>602, 42=>602, 43=>602, 44=>602, 45=>602, 46=>602, + 47=>602, 48=>602, 49=>602, 50=>602, 51=>602, 52=>602, 53=>602, 54=>602, 55=>602, 56=>602, 57=>602, 58=>602, 59=>602, 60=>602, 61=>602, 62=>602, + 63=>602, 64=>602, 65=>602, 66=>602, 67=>602, 68=>602, 69=>602, 70=>602, 71=>602, 72=>602, 73=>602, 74=>602, 75=>602, 76=>602, 77=>602, 78=>602, + 79=>602, 80=>602, 81=>602, 82=>602, 83=>602, 84=>602, 85=>602, 86=>602, 87=>602, 88=>602, 89=>602, 90=>602, 91=>602, 92=>602, 93=>602, 94=>602, + 95=>602, 96=>602, 97=>602, 98=>602, 99=>602, 100=>602, 101=>602, 102=>602, 103=>602, 104=>602, 105=>602, 106=>602, 107=>602, 108=>602, 109=>602, 110=>602, + 111=>602, 112=>602, 113=>602, 114=>602, 115=>602, 116=>602, 117=>602, 118=>602, 119=>602, 120=>602, 121=>602, 122=>602, 123=>602, 124=>602, 125=>602, 126=>602, + 8364=>602, 8218=>602, 402=>602, 8222=>602, 8230=>602, 8224=>602, 8225=>602, 710=>602, 8240=>602, 352=>602, 8249=>602, 338=>602, 381=>602, 8216=>602, 8217=>602, 8220=>602, + 8221=>602, 8226=>602, 8211=>602, 8212=>602, 732=>602, 8482=>602, 353=>602, 8250=>602, 339=>602, 382=>602, 376=>602, 160=>602, 161=>602, 162=>602, 163=>602, 164=>602, + 165=>602, 166=>602, 167=>602, 168=>602, 169=>602, 170=>602, 171=>602, 172=>602, 173=>602, 174=>602, 175=>602, 176=>602, 177=>602, 178=>602, 179=>602, 180=>602, + 181=>602, 182=>602, 183=>602, 184=>602, 185=>602, 186=>602, 187=>602, 188=>602, 189=>602, 190=>602, 191=>602, 192=>602, 193=>602, 194=>602, 195=>602, 196=>602, + 197=>602, 198=>602, 199=>602, 200=>602, 201=>602, 202=>602, 203=>602, 204=>602, 205=>602, 206=>602, 207=>602, 208=>602, 209=>602, 210=>602, 211=>602, 212=>602, + 213=>602, 214=>602, 215=>602, 216=>602, 217=>602, 218=>602, 219=>602, 220=>602, 221=>602, 222=>602, 223=>602, 224=>602, 225=>602, 226=>602, 227=>602, 228=>602, + 229=>602, 230=>602, 231=>602, 232=>602, 233=>602, 234=>602, 235=>602, 236=>602, 237=>602, 238=>602, 239=>602, 240=>602, 241=>602, 242=>602, 243=>602, 244=>602, + 245=>602, 246=>602, 247=>602, 248=>602, 249=>602, 250=>602, 251=>602, 252=>602, 253=>602, 254=>602, 255=>602, 8800=>602, 8734=>602, 8804=>602, 8805=>602, 8706=>602, + 8721=>602, 8719=>602, 960=>602, 8747=>602, 937=>602, 8730=>602, 8776=>602, 8710=>602, 9674=>602, 8725=>602, 64257=>602, 64258=>602, 305=>602, 728=>602, 729=>602, 730=>602, + 733=>602, 731=>602, 711=>602, 321=>602, 322=>602, 8722=>602, 286=>602, 287=>602, 304=>602, 350=>602, 351=>602, 262=>602, 263=>602, 268=>602, 269=>602, 273=>602, + 8729=>602); +$enc=''; +$diff=''; +$file='veramobi.z'; +$ctg='veramobi.ctg.z'; +$originalsize=55032; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramobi.z b/htdocs/includes/fpdf/tcpdf/fonts/veramobi.z new file mode 100644 index 00000000000..9ef6a31b970 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/veramobi.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramoi.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/veramoi.ctg.z new file mode 100644 index 00000000000..904f8fae092 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/veramoi.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramoi.php b/htdocs/includes/fpdf/tcpdf/fonts/veramoi.php new file mode 100644 index 00000000000..b9d991bdb24 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/veramoi.php @@ -0,0 +1,30 @@ +928,'Descent'=>-236,'CapHeight'=>928,'Flags'=>97,'FontBBox'=>'[-71 -236 691 928]','ItalicAngle'=>-11,'StemV'=>70,'MissingWidth'=>602); +$up=-104; +$ut=69; +$cw=array( + 270=>602, 32=>602, 33=>602, 34=>602, 35=>602, 36=>602, 37=>602, 38=>602, 39=>602, 40=>602, 41=>602, 42=>602, 43=>602, 44=>602, 45=>602, 46=>602, + 47=>602, 48=>602, 49=>602, 50=>602, 51=>602, 52=>602, 53=>602, 54=>602, 55=>602, 56=>602, 57=>602, 58=>602, 59=>602, 60=>602, 61=>602, 62=>602, + 63=>602, 64=>602, 65=>602, 66=>602, 67=>602, 68=>602, 69=>602, 70=>602, 71=>602, 72=>602, 73=>602, 74=>602, 75=>602, 76=>602, 77=>602, 78=>602, + 79=>602, 80=>602, 81=>602, 82=>602, 83=>602, 84=>602, 85=>602, 86=>602, 87=>602, 88=>602, 89=>602, 90=>602, 91=>602, 92=>602, 93=>602, 94=>602, + 95=>602, 96=>602, 97=>602, 98=>602, 99=>602, 100=>602, 101=>602, 102=>602, 103=>602, 104=>602, 105=>602, 106=>602, 107=>602, 108=>602, 109=>602, 110=>602, + 111=>602, 112=>602, 113=>602, 114=>602, 115=>602, 116=>602, 117=>602, 118=>602, 119=>602, 120=>602, 121=>602, 122=>602, 123=>602, 124=>602, 125=>602, 126=>602, + 8364=>602, 8218=>602, 402=>602, 8222=>602, 8230=>602, 8224=>602, 8225=>602, 710=>602, 8240=>602, 352=>602, 8249=>602, 338=>602, 381=>602, 8216=>602, 8217=>602, 8220=>602, + 8221=>602, 8226=>602, 8211=>602, 8212=>602, 732=>602, 8482=>602, 353=>602, 8250=>602, 339=>602, 382=>602, 376=>602, 160=>602, 161=>602, 162=>602, 163=>602, 164=>602, + 165=>602, 166=>602, 167=>602, 168=>602, 169=>602, 170=>602, 171=>602, 172=>602, 173=>602, 174=>602, 175=>602, 176=>602, 177=>602, 178=>602, 179=>602, 180=>602, + 181=>602, 182=>602, 183=>602, 184=>602, 185=>602, 186=>602, 187=>602, 188=>602, 189=>602, 190=>602, 191=>602, 192=>602, 193=>602, 194=>602, 195=>602, 196=>602, + 197=>602, 198=>602, 199=>602, 200=>602, 201=>602, 202=>602, 203=>602, 204=>602, 205=>602, 206=>602, 207=>602, 208=>602, 209=>602, 210=>602, 211=>602, 212=>602, + 213=>602, 214=>602, 215=>602, 216=>602, 217=>602, 218=>602, 219=>602, 220=>602, 221=>602, 222=>602, 223=>602, 224=>602, 225=>602, 226=>602, 227=>602, 228=>602, + 229=>602, 230=>602, 231=>602, 232=>602, 233=>602, 234=>602, 235=>602, 236=>602, 237=>602, 238=>602, 239=>602, 240=>602, 241=>602, 242=>602, 243=>602, 244=>602, + 245=>602, 246=>602, 247=>602, 248=>602, 249=>602, 250=>602, 251=>602, 252=>602, 253=>602, 254=>602, 255=>602, 8800=>602, 8734=>602, 8804=>602, 8805=>602, 8706=>602, + 8721=>602, 8719=>602, 960=>602, 8747=>602, 937=>602, 8730=>602, 8776=>602, 8710=>602, 9674=>602, 8725=>602, 64257=>602, 64258=>602, 305=>602, 728=>602, 729=>602, 730=>602, + 733=>602, 731=>602, 711=>602, 321=>602, 322=>602, 8722=>602, 286=>602, 287=>602, 304=>602, 350=>602, 351=>602, 262=>602, 263=>602, 268=>602, 269=>602, 273=>602, + 8729=>602); +$enc=''; +$diff=''; +$file='veramoi.z'; +$ctg='veramoi.ctg.z'; +$originalsize=54508; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veramoi.z b/htdocs/includes/fpdf/tcpdf/fonts/veramoi.z new file mode 100644 index 00000000000..de244043181 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/veramoi.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verase.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/verase.ctg.z new file mode 100644 index 00000000000..904f8fae092 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/verase.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verase.php b/htdocs/includes/fpdf/tcpdf/fonts/verase.php new file mode 100644 index 00000000000..849cdefbf02 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/verase.php @@ -0,0 +1,30 @@ +928,'Descent'=>-236,'CapHeight'=>928,'Flags'=>32,'FontBBox'=>'[-183 -236 1287 928]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>600); +$up=-104; +$ut=65; +$cw=array( + 270=>600, 32=>318, 33=>402, 34=>460, 35=>838, 36=>636, 37=>950, 38=>890, 39=>275, 40=>390, 41=>390, 42=>500, 43=>838, 44=>318, 45=>338, 46=>318, + 47=>337, 48=>636, 49=>636, 50=>636, 51=>636, 52=>636, 53=>636, 54=>636, 55=>636, 56=>636, 57=>636, 58=>337, 59=>337, 60=>838, 61=>838, 62=>838, + 63=>536, 64=>1000, 65=>722, 66=>735, 67=>765, 68=>802, 69=>730, 70=>694, 71=>799, 72=>872, 73=>395, 74=>401, 75=>747, 76=>664, 77=>1024, 78=>875, + 79=>820, 80=>673, 81=>820, 82=>753, 83=>685, 84=>667, 85=>843, 86=>722, 87=>1028, 88=>712, 89=>660, 90=>695, 91=>390, 92=>337, 93=>390, 94=>838, + 95=>500, 96=>500, 97=>596, 98=>640, 99=>560, 100=>640, 101=>592, 102=>370, 103=>640, 104=>644, 105=>320, 106=>310, 107=>606, 108=>320, 109=>948, 110=>644, + 111=>602, 112=>640, 113=>640, 114=>478, 115=>513, 116=>402, 117=>644, 118=>565, 119=>856, 120=>564, 121=>565, 122=>527, 123=>636, 124=>337, 125=>636, 126=>838, + 8364=>636, 8218=>318, 402=>636, 8222=>518, 8230=>1000, 8224=>500, 8225=>500, 710=>500, 8240=>1342, 352=>685, 8249=>400, 338=>1137, 381=>695, 8216=>318, 8217=>318, 8220=>511, + 8221=>511, 8226=>590, 8211=>500, 8212=>1000, 732=>500, 8482=>1000, 353=>513, 8250=>400, 339=>989, 382=>527, 376=>660, 160=>636, 161=>402, 162=>636, 163=>636, 164=>636, + 165=>636, 166=>337, 167=>500, 168=>500, 169=>1000, 170=>475, 171=>612, 172=>838, 173=>338, 174=>1000, 175=>500, 176=>500, 177=>838, 178=>401, 179=>401, 180=>500, + 181=>650, 182=>636, 183=>318, 184=>500, 185=>401, 186=>470, 187=>612, 188=>969, 189=>969, 190=>969, 191=>536, 192=>722, 193=>722, 194=>722, 195=>722, 196=>722, + 197=>722, 198=>1001, 199=>765, 200=>730, 201=>730, 202=>730, 203=>730, 204=>395, 205=>395, 206=>395, 207=>395, 208=>807, 209=>875, 210=>820, 211=>820, 212=>820, + 213=>820, 214=>820, 215=>838, 216=>820, 217=>843, 218=>843, 219=>843, 220=>843, 221=>660, 222=>676, 223=>668, 224=>596, 225=>596, 226=>596, 227=>596, 228=>596, + 229=>596, 230=>940, 231=>560, 232=>592, 233=>592, 234=>592, 235=>592, 236=>320, 237=>320, 238=>320, 239=>320, 240=>602, 241=>644, 242=>602, 243=>602, 244=>602, + 245=>602, 246=>602, 247=>838, 248=>602, 249=>644, 250=>644, 251=>644, 252=>644, 253=>565, 254=>640, 255=>565, 8800=>838, 8734=>833, 8804=>838, 8805=>838, 8706=>517, + 8721=>714, 8719=>796, 960=>657, 8747=>521, 937=>829, 8730=>637, 8776=>838, 8710=>698, 9674=>494, 8725=>167, 64257=>667, 64258=>667, 305=>320, 728=>500, 729=>500, 730=>500, + 733=>500, 731=>500, 711=>500, 321=>669, 322=>324, 8722=>838, 286=>799, 287=>640, 304=>395, 350=>685, 351=>513, 262=>765, 263=>560, 268=>765, 269=>560, 273=>640, + 8729=>318); +$enc=''; +$diff=''; +$file='verase.z'; +$ctg='verase.ctg.z'; +$originalsize=60280; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/verase.z b/htdocs/includes/fpdf/tcpdf/fonts/verase.z new file mode 100644 index 00000000000..e228cce904a Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/verase.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veraseb.ctg.z b/htdocs/includes/fpdf/tcpdf/fonts/veraseb.ctg.z new file mode 100644 index 00000000000..904f8fae092 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/veraseb.ctg.z differ diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veraseb.php b/htdocs/includes/fpdf/tcpdf/fonts/veraseb.php new file mode 100644 index 00000000000..bda181712fb --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/fonts/veraseb.php @@ -0,0 +1,30 @@ +939,'Descent'=>-236,'CapHeight'=>939,'Flags'=>32,'FontBBox'=>'[-186 -236 1361 939]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>600); +$up=-106; +$ut=117; +$cw=array( + 270=>600, 32=>348, 33=>439, 34=>521, 35=>838, 36=>696, 37=>950, 38=>903, 39=>306, 40=>473, 41=>473, 42=>523, 43=>838, 44=>348, 45=>415, 46=>348, + 47=>365, 48=>696, 49=>696, 50=>696, 51=>696, 52=>696, 53=>696, 54=>696, 55=>696, 56=>696, 57=>696, 58=>369, 59=>369, 60=>838, 61=>838, 62=>838, + 63=>586, 64=>1000, 65=>776, 66=>845, 67=>796, 68=>867, 69=>762, 70=>710, 71=>854, 72=>945, 73=>468, 74=>473, 75=>869, 76=>703, 77=>1107, 78=>914, + 79=>871, 80=>752, 81=>871, 82=>831, 83=>722, 84=>744, 85=>872, 86=>776, 87=>1123, 88=>776, 89=>714, 90=>730, 91=>473, 92=>365, 93=>473, 94=>838, + 95=>500, 96=>500, 97=>648, 98=>699, 99=>609, 100=>699, 101=>636, 102=>430, 103=>699, 104=>727, 105=>380, 106=>362, 107=>693, 108=>380, 109=>1058, 110=>727, + 111=>667, 112=>699, 113=>699, 114=>527, 115=>563, 116=>462, 117=>727, 118=>581, 119=>861, 120=>596, 121=>581, 122=>568, 123=>643, 124=>364, 125=>643, 126=>838, + 8364=>696, 8218=>348, 402=>696, 8222=>575, 8230=>1000, 8224=>523, 8225=>523, 710=>500, 8240=>1385, 352=>722, 8249=>400, 338=>1180, 381=>730, 8216=>348, 8217=>348, 8220=>575, + 8221=>575, 8226=>639, 8211=>500, 8212=>1000, 732=>500, 8482=>1000, 353=>563, 8250=>400, 339=>1028, 382=>568, 376=>714, 160=>696, 161=>439, 162=>696, 163=>696, 164=>636, + 165=>696, 166=>364, 167=>523, 168=>500, 169=>1000, 170=>487, 171=>625, 172=>838, 173=>415, 174=>1000, 175=>500, 176=>500, 177=>838, 178=>438, 179=>438, 180=>500, + 181=>732, 182=>636, 183=>348, 184=>500, 185=>438, 186=>500, 187=>625, 188=>1043, 189=>1043, 190=>1043, 191=>586, 192=>776, 193=>776, 194=>776, 195=>776, 196=>776, + 197=>776, 198=>1034, 199=>796, 200=>762, 201=>762, 202=>762, 203=>762, 204=>468, 205=>468, 206=>468, 207=>468, 208=>874, 209=>914, 210=>871, 211=>871, 212=>871, + 213=>871, 214=>871, 215=>838, 216=>871, 217=>872, 218=>872, 219=>872, 220=>872, 221=>714, 222=>757, 223=>760, 224=>648, 225=>648, 226=>648, 227=>648, 228=>648, + 229=>648, 230=>975, 231=>609, 232=>636, 233=>636, 234=>636, 235=>636, 236=>380, 237=>380, 238=>380, 239=>380, 240=>667, 241=>727, 242=>667, 243=>667, 244=>667, + 245=>667, 246=>667, 247=>838, 248=>667, 249=>727, 250=>727, 251=>727, 252=>727, 253=>581, 254=>699, 255=>581, 8800=>838, 8734=>833, 8804=>838, 8805=>838, 8706=>534, + 8721=>753, 8719=>842, 960=>732, 8747=>579, 937=>890, 8730=>657, 8776=>838, 8710=>753, 9674=>494, 8725=>167, 64257=>727, 64258=>727, 305=>380, 728=>500, 729=>500, 730=>500, + 733=>500, 731=>500, 711=>500, 321=>710, 322=>385, 8722=>838, 286=>854, 287=>699, 304=>468, 350=>722, 351=>563, 262=>796, 263=>609, 268=>796, 269=>609, 273=>699, + 8729=>348); +$enc=''; +$diff=''; +$file='veraseb.z'; +$ctg='veraseb.ctg.z'; +$originalsize=58736; +?> diff --git a/htdocs/includes/fpdf/tcpdf/fonts/veraseb.z b/htdocs/includes/fpdf/tcpdf/fonts/veraseb.z new file mode 100644 index 00000000000..b94115bab21 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/fonts/veraseb.z differ diff --git a/htdocs/includes/fpdf/tcpdf/html_entity_decode_php4.php b/htdocs/includes/fpdf/tcpdf/html_entity_decode_php4.php new file mode 100644 index 00000000000..ce4c004155a --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/html_entity_decode_php4.php @@ -0,0 +1,309 @@ +> 0x06) + 0xC0).chr(($num & 0x3F) + 128); + } elseif ($num <= 0xFFFF) { + return chr(($num >> 0x0C) + 0xE0).chr((($num >> 0x06) & 0x3F) + 0x80).chr(($num & 0x3F) + 0x80); + } elseif ($num <= 0x1FFFFF) { + return chr(($num >> 0x12) + 0xF0).chr((($num >> 0x0C) & 0x3F) + 0x80).chr((($num >> 0x06) & 0x3F) + 0x80).chr(($num & 0x3F) + 0x80); + } + return ' '; // default value +} + +/** + * Reverse function for htmlentities. + * Convert entities in UTF-8. + * @param $text_to_convert Text to convert. + * @return string converted + */ +function html_entity_decode_php4($text_to_convert) { + $htmlentities_table = array ( + "Á" => "".chr(195).chr(129)."", + "á" => "".chr(195).chr(161)."", + "Â" => "".chr(195).chr(130)."", + "â" => "".chr(195).chr(162)."", + "´" => "".chr(194).chr(180)."", + "Æ" => "".chr(195).chr(134)."", + "æ" => "".chr(195).chr(166)."", + "À" => "".chr(195).chr(128)."", + "à" => "".chr(195).chr(160)."", + "ℵ" => "".chr(226).chr(132).chr(181)."", + "Α" => "".chr(206).chr(145)."", + "α" => "".chr(206).chr(177)."", + "&" => "".chr(38)."", + "∧" => "".chr(226).chr(136).chr(167)."", + "∠" => "".chr(226).chr(136).chr(160)."", + "Å" => "".chr(195).chr(133)."", + "å" => "".chr(195).chr(165)."", + "≈" => "".chr(226).chr(137).chr(136)."", + "Ã" => "".chr(195).chr(131)."", + "ã" => "".chr(195).chr(163)."", + "Ä" => "".chr(195).chr(132)."", + "ä" => "".chr(195).chr(164)."", + "„" => "".chr(226).chr(128).chr(158)."", + "Β" => "".chr(206).chr(146)."", + "β" => "".chr(206).chr(178)."", + "¦" => "".chr(194).chr(166)."", + "•" => "".chr(226).chr(128).chr(162)."", + "∩" => "".chr(226).chr(136).chr(169)."", + "Ç" => "".chr(195).chr(135)."", + "ç" => "".chr(195).chr(167)."", + "¸" => "".chr(194).chr(184)."", + "¢" => "".chr(194).chr(162)."", + "Χ" => "".chr(206).chr(167)."", + "χ" => "".chr(207).chr(135)."", + "ˆ" => "".chr(203).chr(134)."", + "♣" => "".chr(226).chr(153).chr(163)."", + "≅" => "".chr(226).chr(137).chr(133)."", + "©" => "".chr(194).chr(169)."", + "↵" => "".chr(226).chr(134).chr(181)."", + "∪" => "".chr(226).chr(136).chr(170)."", + "¤" => "".chr(194).chr(164)."", + "†" => "".chr(226).chr(128).chr(160)."", + "‡" => "".chr(226).chr(128).chr(161)."", + "↓" => "".chr(226).chr(134).chr(147)."", + "⇓" => "".chr(226).chr(135).chr(147)."", + "°" => "".chr(194).chr(176)."", + "Δ" => "".chr(206).chr(148)."", + "δ" => "".chr(206).chr(180)."", + "♦" => "".chr(226).chr(153).chr(166)."", + "÷" => "".chr(195).chr(183)."", + "É" => "".chr(195).chr(137)."", + "é" => "".chr(195).chr(169)."", + "Ê" => "".chr(195).chr(138)."", + "ê" => "".chr(195).chr(170)."", + "È" => "".chr(195).chr(136)."", + "è" => "".chr(195).chr(168)."", + "∅" => "".chr(226).chr(136).chr(133)."", + " " => "".chr(226).chr(128).chr(131)."", + " " => "".chr(226).chr(128).chr(130)."", + "Ε" => "".chr(206).chr(149)."", + "ε" => "".chr(206).chr(181)."", + "≡" => "".chr(226).chr(137).chr(161)."", + "Η" => "".chr(206).chr(151)."", + "η" => "".chr(206).chr(183)."", + "Ð" => "".chr(195).chr(144)."", + "ð" => "".chr(195).chr(176)."", + "Ë" => "".chr(195).chr(139)."", + "ë" => "".chr(195).chr(171)."", + "€" => "".chr(226).chr(130).chr(172)."", + "∃" => "".chr(226).chr(136).chr(131)."", + "ƒ" => "".chr(198).chr(146)."", + "∀" => "".chr(226).chr(136).chr(128)."", + "½" => "".chr(194).chr(189)."", + "¼" => "".chr(194).chr(188)."", + "¾" => "".chr(194).chr(190)."", + "⁄" => "".chr(226).chr(129).chr(132)."", + "Γ" => "".chr(206).chr(147)."", + "γ" => "".chr(206).chr(179)."", + "≥" => "".chr(226).chr(137).chr(165)."", + "↔" => "".chr(226).chr(134).chr(148)."", + "⇔" => "".chr(226).chr(135).chr(148)."", + "♥" => "".chr(226).chr(153).chr(165)."", + "…" => "".chr(226).chr(128).chr(166)."", + "Í" => "".chr(195).chr(141)."", + "í" => "".chr(195).chr(173)."", + "Î" => "".chr(195).chr(142)."", + "î" => "".chr(195).chr(174)."", + "¡" => "".chr(194).chr(161)."", + "Ì" => "".chr(195).chr(140)."", + "ì" => "".chr(195).chr(172)."", + "ℑ" => "".chr(226).chr(132).chr(145)."", + "∞" => "".chr(226).chr(136).chr(158)."", + "∫" => "".chr(226).chr(136).chr(171)."", + "Ι" => "".chr(206).chr(153)."", + "ι" => "".chr(206).chr(185)."", + "¿" => "".chr(194).chr(191)."", + "∈" => "".chr(226).chr(136).chr(136)."", + "Ï" => "".chr(195).chr(143)."", + "ï" => "".chr(195).chr(175)."", + "Κ" => "".chr(206).chr(154)."", + "κ" => "".chr(206).chr(186)."", + "Λ" => "".chr(206).chr(155)."", + "λ" => "".chr(206).chr(187)."", + "⟨" => "".chr(226).chr(140).chr(169)."", + "«" => "".chr(194).chr(171)."", + "←" => "".chr(226).chr(134).chr(144)."", + "⇐" => "".chr(226).chr(135).chr(144)."", + "⌈" => "".chr(226).chr(140).chr(136)."", + "“" => "".chr(226).chr(128).chr(156)."", + "≤" => "".chr(226).chr(137).chr(164)."", + "⌊" => "".chr(226).chr(140).chr(138)."", + "∗" => "".chr(226).chr(136).chr(151)."", + "◊" => "".chr(226).chr(151).chr(138)."", + "‎" => "".chr(226).chr(128).chr(142)."", + "‹" => "".chr(226).chr(128).chr(185)."", + "‘" => "".chr(226).chr(128).chr(152)."", + "¯" => "".chr(194).chr(175)."", + "—" => "".chr(226).chr(128).chr(148)."", + "µ" => "".chr(194).chr(181)."", + "·" => "".chr(194).chr(183)."", + "−" => "".chr(226).chr(136).chr(146)."", + "Μ" => "".chr(206).chr(156)."", + "μ" => "".chr(206).chr(188)."", + "∇" => "".chr(226).chr(136).chr(135)."", + " " => "".chr(194).chr(160)."", + "–" => "".chr(226).chr(128).chr(147)."", + "≠" => "".chr(226).chr(137).chr(160)."", + "∋" => "".chr(226).chr(136).chr(139)."", + "¬" => "".chr(194).chr(172)."", + "∉" => "".chr(226).chr(136).chr(137)."", + "⊄" => "".chr(226).chr(138).chr(132)."", + "Ñ" => "".chr(195).chr(145)."", + "ñ" => "".chr(195).chr(177)."", + "Ν" => "".chr(206).chr(157)."", + "ν" => "".chr(206).chr(189)."", + "Ó" => "".chr(195).chr(147)."", + "ó" => "".chr(195).chr(179)."", + "Ô" => "".chr(195).chr(148)."", + "ô" => "".chr(195).chr(180)."", + "Œ" => "".chr(197).chr(146)."", + "œ" => "".chr(197).chr(147)."", + "Ò" => "".chr(195).chr(146)."", + "ò" => "".chr(195).chr(178)."", + "‾" => "".chr(226).chr(128).chr(190)."", + "Ω" => "".chr(206).chr(169)."", + "ω" => "".chr(207).chr(137)."", + "Ο" => "".chr(206).chr(159)."", + "ο" => "".chr(206).chr(191)."", + "⊕" => "".chr(226).chr(138).chr(149)."", + "∨" => "".chr(226).chr(136).chr(168)."", + "ª" => "".chr(194).chr(170)."", + "º" => "".chr(194).chr(186)."", + "Ø" => "".chr(195).chr(152)."", + "ø" => "".chr(195).chr(184)."", + "Õ" => "".chr(195).chr(149)."", + "õ" => "".chr(195).chr(181)."", + "⊗" => "".chr(226).chr(138).chr(151)."", + "Ö" => "".chr(195).chr(150)."", + "ö" => "".chr(195).chr(182)."", + "¶" => "".chr(194).chr(182)."", + "∂" => "".chr(226).chr(136).chr(130)."", + "‰" => "".chr(226).chr(128).chr(176)."", + "⊥" => "".chr(226).chr(138).chr(165)."", + "Φ" => "".chr(206).chr(166)."", + "φ" => "".chr(207).chr(134)."", + "Π" => "".chr(206).chr(160)."", + "π" => "".chr(207).chr(128)."", + "ϖ" => "".chr(207).chr(150)."", + "±" => "".chr(194).chr(177)."", + "£" => "".chr(194).chr(163)."", + "′" => "".chr(226).chr(128).chr(178)."", + "″" => "".chr(226).chr(128).chr(179)."", + "∏" => "".chr(226).chr(136).chr(143)."", + "∝" => "".chr(226).chr(136).chr(157)."", + "Ψ" => "".chr(206).chr(168)."", + "ψ" => "".chr(207).chr(136)."", + "√" => "".chr(226).chr(136).chr(154)."", + "⟩" => "".chr(226).chr(140).chr(170)."", + "»" => "".chr(194).chr(187)."", + "→" => "".chr(226).chr(134).chr(146)."", + "⇒" => "".chr(226).chr(135).chr(146)."", + "⌉" => "".chr(226).chr(140).chr(137)."", + "”" => "".chr(226).chr(128).chr(157)."", + "ℜ" => "".chr(226).chr(132).chr(156)."", + "®" => "".chr(194).chr(174)."", + "⌋" => "".chr(226).chr(140).chr(139)."", + "Ρ" => "".chr(206).chr(161)."", + "ρ" => "".chr(207).chr(129)."", + "‏" => "".chr(226).chr(128).chr(143)."", + "›" => "".chr(226).chr(128).chr(186)."", + "’" => "".chr(226).chr(128).chr(153)."", + "‚" => "".chr(226).chr(128).chr(154)."", + "Š" => "".chr(197).chr(160)."", + "š" => "".chr(197).chr(161)."", + "⋅" => "".chr(226).chr(139).chr(133)."", + "§" => "".chr(194).chr(167)."", + "­" => "".chr(194).chr(173)."", + "Σ" => "".chr(206).chr(163)."", + "σ" => "".chr(207).chr(131)."", + "ς" => "".chr(207).chr(130)."", + "∼" => "".chr(226).chr(136).chr(188)."", + "♠" => "".chr(226).chr(153).chr(160)."", + "⊂" => "".chr(226).chr(138).chr(130)."", + "⊆" => "".chr(226).chr(138).chr(134)."", + "∑" => "".chr(226).chr(136).chr(145)."", + "¹" => "".chr(194).chr(185)."", + "²" => "".chr(194).chr(178)."", + "³" => "".chr(194).chr(179)."", + "⊃" => "".chr(226).chr(138).chr(131)."", + "⊇" => "".chr(226).chr(138).chr(135)."", + "ß" => "".chr(195).chr(159)."", + "Τ" => "".chr(206).chr(164)."", + "τ" => "".chr(207).chr(132)."", + "∴" => "".chr(226).chr(136).chr(180)."", + "Θ" => "".chr(206).chr(152)."", + "θ" => "".chr(206).chr(184)."", + "ϑ" => "".chr(207).chr(145)."", + " " => "".chr(226).chr(128).chr(137)."", + "Þ" => "".chr(195).chr(158)."", + "þ" => "".chr(195).chr(190)."", + "˜" => "".chr(203).chr(156)."", + "×" => "".chr(195).chr(151)."", + "™" => "".chr(226).chr(132).chr(162)."", + "Ú" => "".chr(195).chr(154)."", + "ú" => "".chr(195).chr(186)."", + "↑" => "".chr(226).chr(134).chr(145)."", + "⇑" => "".chr(226).chr(135).chr(145)."", + "Û" => "".chr(195).chr(155)."", + "û" => "".chr(195).chr(187)."", + "Ù" => "".chr(195).chr(153)."", + "ù" => "".chr(195).chr(185)."", + "¨" => "".chr(194).chr(168)."", + "ϒ" => "".chr(207).chr(146)."", + "Υ" => "".chr(206).chr(165)."", + "υ" => "".chr(207).chr(133)."", + "Ü" => "".chr(195).chr(156)."", + "ü" => "".chr(195).chr(188)."", + "℘" => "".chr(226).chr(132).chr(152)."", + "Ξ" => "".chr(206).chr(158)."", + "ξ" => "".chr(206).chr(190)."", + "Ý" => "".chr(195).chr(157)."", + "ý" => "".chr(195).chr(189)."", + "¥" => "".chr(194).chr(165)."", + "ÿ" => "".chr(195).chr(191)."", + "Ÿ" => "".chr(197).chr(184)."", + "Ζ" => "".chr(206).chr(150)."", + "ζ" => "".chr(206).chr(182)."", + "‍" => "".chr(226).chr(128).chr(141)."", + "‌" => "".chr(226).chr(128).chr(140)."", + ">" => ">", + "<" => "<" + ); + $return_text = strtr($text_to_convert, $htmlentities_table); + $return_text = preg_replace('~&#x([0-9a-f]+);~ei', 'code_to_utf8(hexdec("\\1"))', $return_text); + $return_text = preg_replace('~&#([0-9]+);~e', 'code_to_utf8(\\1)', $return_text); + return $return_text; +} + +//============================================================+ +// END OF FILE +//============================================================+ +?> \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/images/_blank.png b/htdocs/includes/fpdf/tcpdf/images/_blank.png new file mode 100644 index 00000000000..38f7b2fa56a Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/images/_blank.png differ diff --git a/htdocs/includes/fpdf/tcpdf/images/logo_example.png b/htdocs/includes/fpdf/tcpdf/images/logo_example.png new file mode 100644 index 00000000000..13799452be3 Binary files /dev/null and b/htdocs/includes/fpdf/tcpdf/images/logo_example.png differ diff --git a/htdocs/includes/fpdf/tcpdf/tcpdf.php b/htdocs/includes/fpdf/tcpdf/tcpdf.php new file mode 100644 index 00000000000..d63845d09d0 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/tcpdf.php @@ -0,0 +1,4137 @@ + + * TCPDF project (http://tcpdf.sourceforge.net) is based on the public Domain FPDF class by Olivier Plathey (http://www.fpdf.org).
+ *

TCPDF main changes from FPDF are:

    + *
  • PHP4 porting
  • + *
  • UTF-8 Unicode support
  • + *
  • source code clean up
  • + *
  • code style and formatting
  • + *
  • source code documentation using phpDocumentor (www.phpdoc.org)
  • + *
  • All ISO page formats were included
  • + *
  • image scale factor
  • + *
  • includes methods to parse and printsome XHTML code, supporting the following elements: h1, h2, h3, h4, h5, h6, b, u, i, a, img, p, br, strong, em, font, blockquote, li, ul, ol, hr, td, th, tr, table, sup, sub, small;
  • + *
  • includes a method to print various barcode formats using an improved version of "Generic Barcode Render Class" by Karim Mribti (http://www.mribti.com/barcode/) (require GD library: http://www.boutell.com/gd/)
  • + *
  • defines standard Header() and Footer() methods.
  • + *
+ * Tools to encode your unicode fonts can be found at: http://www.acko.net/blog/ufpdf

+ * @name TCPDF + * @package com.tecnick.tcpdf + * @abstract Class for generating PDF files on-the-fly without requiring external extensions. + * @author Nicola Asuni + * @copyright 2004-2006 Tecnick.com S.r.l (www.tecnick.com) Via Ugo Foscolo n.19 - 09045 Quartu Sant'Elena (CA) - ITALY - www.tecnick.com - info@tecnick.com + * @link http://tcpdf.sourceforge.net + * @license http://www.gnu.org/copyleft/lesser.html LGPL + @version 1.53.0.TC021_PHP4 + */ + +if(!class_exists('TCPDF')) { + /** + * define default PDF document producer + */ + define('PDF_PRODUCER','TCPDF 1.53.0.TC021_PHP4 (http://tcpdf.sourceforge.net)'); + + /** + * This is a PHP4 class for generating PDF files on-the-fly without requiring external extensions.
+ * This class is an extension and improvement of the FPDF class by Olivier Plathey (http://www.fpdf.org).
+ * This version contains some changes: [porting to PHP4, support for UTF-8 Unicode, code style and formatting, php documentation (www.phpdoc.org), ISO page formats, minor improvements, image scale factor]
+ * TCPDF project (http://tcpdf.sourceforge.net) is based on the public Domain FPDF class by Olivier Plathey (http://www.fpdf.org).
+ * To add your own TTF fonts please read /fonts/README.TXT + * @name TCPDF + * @package com.tecnick.tcpdf + * @version 1.53.0.TC021 + * @author Nicola Asuni + * @link http://tcpdf.sourceforge.net + * @license http://www.gnu.org/copyleft/lesser.html LGPL + */ + class TCPDF { + //var properties + + /** + * @var current page number + * @access protected + */ + var $page; + + /** + * @var current object number + * @access protected + */ + var $n; + + /** + * @var array of object offsets + * @access protected + */ + var $offsets; + + /** + * @var buffer holding in-memory PDF + * @access protected + */ + var $buffer; + + /** + * @var array containing pages + * @access protected + */ + var $pages; + + /** + * @var current document state + * @access protected + */ + var $state; + + /** + * @var compression flag + * @access protected + */ + var $compress; + + /** + * @var default orientation + * @access protected + */ + var $DefOrientation; + + /** + * @var current orientation + * @access protected + */ + var $CurOrientation; + + /** + * @var array indicating orientation changes + * @access protected + */ + var $OrientationChanges; + + /** + * @var scale factor (number of points in user unit) + * @access protected + */ + var $k; + + /** + * @var width of page format in points + * @access protected + */ + var $fwPt; + + /** + * @var height of page format in points + * @access protected + */ + var $fhPt; + + /** + * @var width of page format in user unit + * @access protected + */ + var $fw; + + /** + * @var height of page format in user unit + * @access protected + */ + var $fh; + + /** + * @var current width of page in points + * @access protected + */ + var $wPt; + + /** + * @var current height of page in points + * @access protected + */ + var $hPt; + + /** + * @var current width of page in user unit + * @access protected + */ + var $w; + + /** + * @var current height of page in user unit + * @access protected + */ + var $h; + + /** + * @var left margin + * @access protected + */ + var $lMargin; + + /** + * @var top margin + * @access protected + */ + var $tMargin; + + /** + * @var right margin + * @access protected + */ + var $rMargin; + + /** + * @var page break margin + * @access protected + */ + var $bMargin; + + /** + * @var cell margin + * @access protected + */ + var $cMargin; + + /** + * @var current horizontal position in user unit for cell positioning + * @access protected + */ + var $x; + + /** + * @var current vertical position in user unit for cell positioning + * @access protected + */ + var $y; + + /** + * @var height of last cell printed + * @access protected + */ + var $lasth; + + /** + * @var line width in user unit + * @access protected + */ + var $LineWidth; + + /** + * @var array of standard font names + * @access protected + */ + var $CoreFonts; + + /** + * @var array of used fonts + * @access protected + */ + var $fonts; + + /** + * @var array of font files + * @access protected + */ + var $FontFiles; + + /** + * @var array of encoding differences + * @access protected + */ + var $diffs; + + /** + * @var array of used images + * @access protected + */ + var $images; + + /** + * @var array of links in pages + * @access protected + */ + var $PageLinks; + + /** + * @var array of internal links + * @access protected + */ + var $links; + + /** + * @var current font family + * @access protected + */ + var $FontFamily; + + /** + * @var current font style + * @access protected + */ + var $FontStyle; + + /** + * @var underlining flag + * @access protected + */ + var $underline; + + /** + * @var current font info + * @access protected + */ + var $CurrentFont; + + /** + * @var current font size in points + * @access protected + */ + var $FontSizePt; + + /** + * @var current font size in user unit + * @access protected + */ + var $FontSize; + + /** + * @var commands for drawing color + * @access protected + */ + var $DrawColor; + + /** + * @var commands for filling color + * @access protected + */ + var $FillColor; + + /** + * @var commands for text color + * @access protected + */ + var $TextColor; + + /** + * @var indicates whether fill and text colors are different + * @access protected + */ + var $ColorFlag; + + /** + * @var word spacing + * @access protected + */ + var $ws; + + /** + * @var automatic page breaking + * @access protected + */ + var $AutoPageBreak; + + /** + * @var threshold used to trigger page breaks + * @access protected + */ + var $PageBreakTrigger; + + /** + * @var flag set when processing footer + * @access protected + */ + var $InFooter; + + /** + * @var zoom display mode + * @access protected + */ + var $ZoomMode; + + /** + * @var layout display mode + * @access protected + */ + var $LayoutMode; + + /** + * @var title + * @access protected + */ + var $title; + + /** + * @var subject + * @access protected + */ + var $subject; + + /** + * @var author + * @access protected + */ + var $author; + + /** + * @var keywords + * @access protected + */ + var $keywords; + + /** + * @var creator + * @access protected + */ + var $creator; + + /** + * @var alias for total number of pages + * @access protected + */ + var $AliasNbPages; + + /** + * @var right-bottom corner X coordinate of inserted image + * @since 2002-07-31 + * @author Nicola Asuni + * @access protected + */ + var $img_rb_x; + + /** + * @var right-bottom corner Y coordinate of inserted image + * @since 2002-07-31 + * @author Nicola Asuni + * @access protected + */ + var $img_rb_y; + + /** + * @var image scale factor + * @since 2004-06-14 + * @author Nicola Asuni + * @access protected + */ + var $imgscale = 1; + + /** + * @var boolean set to true when the input text is unicode (require unicode fonts) + * @since 2005-01-02 + * @author Nicola Asuni + * @access protected + */ + var $isunicode = false; + + /** + * @var PDF version + * @since 1.5.3 + * @access protected + */ + var $PDFVersion = "1.3"; + + + // ---------------------- + + /** + * @var Minimum distance between header and top page margin. + * @access private + */ + var $header_margin; + + /** + * @var Minimum distance between footer and bottom page margin. + * @access private + */ + var $footer_margin; + + /** + * @var original left margin value + * @access private + * @since 1.53.0.TC013 + */ + var $original_lMargin; + + /** + * @var original right margin value + * @access private + * @since 1.53.0.TC013 + */ + var $original_rMargin; + + /** + * @var Header font. + * @access private + */ + var $header_font; + + /** + * @var Footer font. + * @access private + */ + var $footer_font; + + /** + * @var Language templates. + * @access private + */ + var $l; + + /** + * @var Barcode to print on page footer (only if set). + * @access private + */ + var $barcode = false; + + /** + * @var If true prints header + * @access private + */ + var $print_header = true; + + /** + * @var If true prints footer. + * @access private + */ + var $print_footer = true; + + /** + * @var Header width (0 = full page width). + * @access private + */ + var $header_width = 0; + + /** + * @var Header image logo. + * @access private + */ + var $header_logo = ""; + + /** + * @var Header image logo width in mm. + * @access private + */ + var $header_logo_width = 30; + + /** + * @var String to print as title on document header. + * @access private + */ + var $header_title = ""; + + /** + * @var String to print on document header. + * @access private + */ + var $header_string = ""; + + /** + * @var Default number of columns for html table. + * @access private + */ + var $default_table_columns = 4; + + + // variables for html parser + + /** + * @var HTML PARSER: store current link. + * @access private + */ + var $HREF; + + /** + * @var HTML PARSER: store font list. + * @access private + */ + var $fontList; + + /** + * @var HTML PARSER: true when font attribute is set. + * @access private + */ + var $issetfont; + + /** + * @var HTML PARSER: true when color attribute is set. + * @access private + */ + var $issetcolor; + + /** + * @var HTML PARSER: true in case of ordered list (OL), false otherwise. + * @access private + */ + var $listordered = false; + + /** + * @var HTML PARSER: count list items. + * @access private + */ + var $listcount = 0; + + /** + * @var HTML PARSER: size of table border. + * @access private + */ + var $tableborder = 0; + + /** + * @var HTML PARSER: true at the beginning of table. + * @access private + */ + var $tdbegin = false; + + /** + * @var HTML PARSER: table width. + * @access private + */ + var $tdwidth = 0; + + /** + * @var HTML PARSER: table height. + * @access private + */ + var $tdheight = 0; + + /** + * @var HTML PARSER: table align. + * @access private + */ + var $tdalign = "L"; + + /** + * @var HTML PARSER: table background color. + * @access private + */ + var $tdbgcolor = false; + + /** + * @var Store temporary font size in points. + * @access private + */ + var $tempfontsize = 10; + + /** + * @var Bold font style status. + * @access private + */ + var $b; + + /** + * @var Underlined font style status. + * @access private + */ + var $u; + + /** + * @var Italic font style status. + * @access private + */ + var $i; + + /** + * @var spacer for LI tags. + * @access private + */ + var $lispacer = ""; + + /** + * @var default encoding + * @access private + * @since 1.53.0.TC010 + */ + var $encoding = "UTF-8"; + + /** + * @var PHP internal encoding + * @access private + * @since 1.53.0.TC016 + */ + var $internal_encoding; + + /** + * @var store previous fill color as RGB array + * @access private + * @since 1.53.0.TC017 + */ + var $prevFillColor = array(255,255,255); + + /** + * @var store previous text color as RGB array + * @access private + * @since 1.53.0.TC017 + */ + var $prevTextColor = array(0,0,0); + + /** + * @var store previous font family + * @access private + * @since 1.53.0.TC017 + */ + var $prevFontFamily; + + /** + * @var store previous font style + * @access private + * @since 1.53.0.TC017 + */ + var $prevFontStyle; + + //------------------------------------------------------------ + // var methods + //------------------------------------------------------------ + + /** + * This is the class constructor. + * It allows to set up the page format, the orientation and + * the measure unit used in all the methods (except for the font sizes). + * @since 1.0 + * @param string $orientation page orientation. Possible values are (case insensitive):
  • P or Portrait (default)
  • L or Landscape
+ * @param string $unit User measure unit. Possible values are:
  • pt: point
  • mm: millimeter (default)
  • cm: centimeter
  • in: inch

A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This is a very common unit in typography; font sizes are expressed in that unit. + * @param mixed $format The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).
  • 4A0
  • 2A0
  • A0
  • A1
  • A2
  • A3
  • A4 (default)
  • A5
  • A6
  • A7
  • A8
  • A9
  • A10
  • B0
  • B1
  • B2
  • B3
  • B4
  • B5
  • B6
  • B7
  • B8
  • B9
  • B10
  • C0
  • C1
  • C2
  • C3
  • C4
  • C5
  • C6
  • C7
  • C8
  • C9
  • C10
  • RA0
  • RA1
  • RA2
  • RA3
  • RA4
  • SRA0
  • SRA1
  • SRA2
  • SRA3
  • SRA4
  • LETTER
  • LEGAL
  • EXECUTIVE
  • FOLIO
+ * @param boolean $unicode TRUE means that the input text is unicode (default = true) + * @param String $encoding charset encoding; default is UTF-8 + */ + function TCPDF($orientation='P', $unit='mm', $format='A4', $unicode=true, $encoding="UTF-8") { + + /* Set internal character encoding to ASCII */ + if (function_exists("mb_internal_encoding") AND mb_internal_encoding()) { + $this->internal_encoding = mb_internal_encoding(); + mb_internal_encoding("ASCII"); + } + + //Some checks + $this->_dochecks(); + //Initialization of properties + $this->isunicode=$unicode; + $this->page=0; + $this->n=2; + $this->buffer=''; + $this->pages=array(); + $this->OrientationChanges=array(); + $this->state=0; + $this->fonts=array(); + $this->FontFiles=array(); + $this->diffs=array(); + $this->images=array(); + $this->links=array(); + $this->InFooter=false; + $this->lasth=0; + $this->FontFamily=''; + $this->FontStyle=''; + $this->FontSizePt=12; + $this->underline=false; + $this->DrawColor='0 G'; + $this->FillColor='0 g'; + $this->TextColor='0 g'; + $this->ColorFlag=false; + $this->ws=0; + //Standard Unicode fonts + $this->CoreFonts=array( + 'courier'=>'Courier', + 'courierB'=>'Courier-Bold', + 'courierI'=>'Courier-Oblique', + 'courierBI'=>'Courier-BoldOblique', + 'helvetica'=>'Helvetica', + 'helveticaB'=>'Helvetica-Bold', + 'helveticaI'=>'Helvetica-Oblique', + 'helveticaBI'=>'Helvetica-BoldOblique', + 'times'=>'Times-Roman', + 'timesB'=>'Times-Bold', + 'timesI'=>'Times-Italic', + 'timesBI'=>'Times-BoldItalic', + 'symbol'=>'Symbol', + 'zapfdingbats'=>'ZapfDingbats' + ); + + //Scale factor + // 2003-06-11 - Nicola Asuni : changed if/else with switch statement + switch (strtolower($unit)){ + case 'pt': {$this->k=1; break;} + case 'mm': {$this->k=72/25.4; break;} + case 'cm': {$this->k=72/2.54; break;} + case 'in': {$this->k=72; break;} + default : {$this->Error('Incorrect unit: '.$unit); break;} + } + + //Page format + if(is_string($format)) { + // 2002-07-24 - Nicola Asuni (info@tecnick.com) + // Added new page formats (45 standard ISO paper formats and 4 american common formats). + // Paper cordinates are calculated in this way: (inches * 72) where (1 inch = 2.54 cm) + switch (strtoupper($format)){ + case '4A0': {$format = array(4767.87,6740.79); break;} + case '2A0': {$format = array(3370.39,4767.87); break;} + case 'A0': {$format = array(2383.94,3370.39); break;} + case 'A1': {$format = array(1683.78,2383.94); break;} + case 'A2': {$format = array(1190.55,1683.78); break;} + case 'A3': {$format = array(841.89,1190.55); break;} + case 'A4': default: {$format = array(595.28,841.89); break;} + case 'A5': {$format = array(419.53,595.28); break;} + case 'A6': {$format = array(297.64,419.53); break;} + case 'A7': {$format = array(209.76,297.64); break;} + case 'A8': {$format = array(147.40,209.76); break;} + case 'A9': {$format = array(104.88,147.40); break;} + case 'A10': {$format = array(73.70,104.88); break;} + case 'B0': {$format = array(2834.65,4008.19); break;} + case 'B1': {$format = array(2004.09,2834.65); break;} + case 'B2': {$format = array(1417.32,2004.09); break;} + case 'B3': {$format = array(1000.63,1417.32); break;} + case 'B4': {$format = array(708.66,1000.63); break;} + case 'B5': {$format = array(498.90,708.66); break;} + case 'B6': {$format = array(354.33,498.90); break;} + case 'B7': {$format = array(249.45,354.33); break;} + case 'B8': {$format = array(175.75,249.45); break;} + case 'B9': {$format = array(124.72,175.75); break;} + case 'B10': {$format = array(87.87,124.72); break;} + case 'C0': {$format = array(2599.37,3676.54); break;} + case 'C1': {$format = array(1836.85,2599.37); break;} + case 'C2': {$format = array(1298.27,1836.85); break;} + case 'C3': {$format = array(918.43,1298.27); break;} + case 'C4': {$format = array(649.13,918.43); break;} + case 'C5': {$format = array(459.21,649.13); break;} + case 'C6': {$format = array(323.15,459.21); break;} + case 'C7': {$format = array(229.61,323.15); break;} + case 'C8': {$format = array(161.57,229.61); break;} + case 'C9': {$format = array(113.39,161.57); break;} + case 'C10': {$format = array(79.37,113.39); break;} + case 'RA0': {$format = array(2437.80,3458.27); break;} + case 'RA1': {$format = array(1729.13,2437.80); break;} + case 'RA2': {$format = array(1218.90,1729.13); break;} + case 'RA3': {$format = array(864.57,1218.90); break;} + case 'RA4': {$format = array(609.45,864.57); break;} + case 'SRA0': {$format = array(2551.18,3628.35); break;} + case 'SRA1': {$format = array(1814.17,2551.18); break;} + case 'SRA2': {$format = array(1275.59,1814.17); break;} + case 'SRA3': {$format = array(907.09,1275.59); break;} + case 'SRA4': {$format = array(637.80,907.09); break;} + case 'LETTER': {$format = array(612.00,792.00); break;} + case 'LEGAL': {$format = array(612.00,1008.00); break;} + case 'EXECUTIVE': {$format = array(521.86,756.00); break;} + case 'FOLIO': {$format = array(612.00,936.00); break;} + // default: {$this->Error('Unknown page format: '.$format); break;} + // END CHANGES Nicola Asuni + } + $this->fwPt=$format[0]; + $this->fhPt=$format[1]; + } + else { + $this->fwPt=$format[0]*$this->k; + $this->fhPt=$format[1]*$this->k; + } + + $this->fw=$this->fwPt/$this->k; + $this->fh=$this->fhPt/$this->k; + + //Page orientation + $orientation=strtolower($orientation); + if($orientation=='p' or $orientation=='portrait') { + $this->DefOrientation='P'; + $this->wPt=$this->fwPt; + $this->hPt=$this->fhPt; + } + elseif($orientation=='l' or $orientation=='landscape') { + $this->DefOrientation='L'; + $this->wPt=$this->fhPt; + $this->hPt=$this->fwPt; + } + else { + $this->Error('Incorrect orientation: '.$orientation); + } + + $this->CurOrientation=$this->DefOrientation; + $this->w=$this->wPt/$this->k; + $this->h=$this->hPt/$this->k; + //Page margins (1 cm) + $margin=28.35/$this->k; + $this->SetMargins($margin,$margin); + //Interior cell margin (1 mm) + $this->cMargin=$margin/10; + //Line width (0.2 mm) + $this->LineWidth=.567/$this->k; + //Automatic page break + $this->SetAutoPageBreak(true,2*$margin); + //Full width display mode + $this->SetDisplayMode('fullwidth'); + //Compression + $this->SetCompression(true); + //Set default PDF version number + $this->PDFVersion = "1.3"; + + $this->encoding = $encoding; + $this->b = 0; + $this->i = 0; + $this->u = 0; + $this->HREF = ''; + $this->fontlist = array("arial", "times", "courier", "helvetica", "symbol"); + $this->issetfont = false; + $this->issetcolor = false; + $this->tableborder = 0; + $this->tdbegin = false; + $this->tdwidth= 0; + $this->tdheight = 0; + $this->tdalign = "L"; + $this->tdbgcolor = false; + + $this->SetFillColor(200, 200, 200, true); + $this->SetTextColor(0, 0, 0, true); + } + + /** + * Set the image scale. + * @param float $scale image scale. + * @author Nicola Asuni + * @since 1.5.2 + */ + function setImageScale($scale) { + $this->imgscale=$scale; + } + + /** + * Returns the image scale. + * @return float image scale. + * @author Nicola Asuni + * @since 1.5.2 + */ + function getImageScale() { + return $this->imgscale; + } + + /** + * Returns the page width in units. + * @return int page width. + * @author Nicola Asuni + * @since 1.5.2 + */ + function getPageWidth() { + return $this->w; + } + + /** + * Returns the page height in units. + * @return int page height. + * @author Nicola Asuni + * @since 1.5.2 + */ + function getPageHeight() { + return $this->fh; + } + + /** + * Returns the page break margin. + * @return int page break margin. + * @author Nicola Asuni + * @since 1.5.2 + */ + function getBreakMargin() { + return $this->bMargin; + } + + /** + * Returns the scale factor (number of points in user unit). + * @return int scale factor. + * @author Nicola Asuni + * @since 1.5.2 + */ + function getScaleFactor() { + return $this->k; + } + + /** + * Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change them. + * @param float $left Left margin. + * @param float $top Top margin. + * @param float $right Right margin. Default value is the left one. + * @since 1.0 + * @see SetLeftMargin(), SetTopMargin(), SetRightMargin(), SetAutoPageBreak() + */ + function SetMargins($left, $top, $right=-1) { + //Set left, top and right margins + $this->lMargin=$left; + $this->tMargin=$top; + if($right==-1) { + $right=$left; + } + $this->rMargin=$right; + } + + /** + * Defines the left margin. The method can be called before creating the first page. If the current abscissa gets out of page, it is brought back to the margin. + * @param float $margin The margin. + * @since 1.4 + * @see SetTopMargin(), SetRightMargin(), SetAutoPageBreak(), SetMargins() + */ + function SetLeftMargin($margin) { + //Set left margin + $this->lMargin=$margin; + if(($this->page>0) and ($this->x<$margin)) { + $this->x=$margin; + } + } + + /** + * Defines the top margin. The method can be called before creating the first page. + * @param float $margin The margin. + * @since 1.5 + * @see SetLeftMargin(), SetRightMargin(), SetAutoPageBreak(), SetMargins() + */ + function SetTopMargin($margin) { + //Set top margin + $this->tMargin=$margin; + } + + /** + * Defines the right margin. The method can be called before creating the first page. + * @param float $margin The margin. + * @since 1.5 + * @see SetLeftMargin(), SetTopMargin(), SetAutoPageBreak(), SetMargins() + */ + function SetRightMargin($margin) { + //Set right margin + $this->rMargin=$margin; + } + + /** + * Enables or disables the automatic page breaking mode. When enabling, the second parameter is the distance from the bottom of the page that defines the triggering limit. By default, the mode is on and the margin is 2 cm. + * @param boolean $auto Boolean indicating if mode should be on or off. + * @param float $margin Distance from the bottom of the page. + * @since 1.0 + * @see Cell(), MultiCell(), AcceptPageBreak() + */ + function SetAutoPageBreak($auto, $margin=0) { + //Set auto page break mode and triggering margin + $this->AutoPageBreak=$auto; + $this->bMargin=$margin; + $this->PageBreakTrigger=$this->h-$margin; + } + + /** + * Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a specific zooming factor or use viewer default (configured in the Preferences menu of Acrobat). The page layout can be specified too: single at once, continuous display, two columns or viewer default. By default, documents use the full width mode with continuous display. + * @param mixed $zoom The zoom to use. It can be one of the following string values or a number indicating the zooming factor to use.
  • fullpage: displays the entire page on screen
  • fullwidth: uses maximum width of window
  • real: uses real size (equivalent to 100% zoom)
  • default: uses viewer default mode
+ * @param string $layout The page layout. Possible values are:
  • single: displays one page at once
  • continuous: displays pages continuously (default)
  • two: displays two pages on two columns
  • default: uses viewer default mode
+ * @since 1.2 + */ + function SetDisplayMode($zoom, $layout='continuous') { + //Set display mode in viewer + if($zoom=='fullpage' or $zoom=='fullwidth' or $zoom=='real' or $zoom=='default' or !is_string($zoom)) { + $this->ZoomMode=$zoom; + } + else { + $this->Error('Incorrect zoom display mode: '.$zoom); + } + if($layout=='single' or $layout=='continuous' or $layout=='two' or $layout=='default') { + $this->LayoutMode=$layout; + } + else { + $this->Error('Incorrect layout display mode: '.$layout); + } + } + + /** + * Activates or deactivates page compression. When activated, the internal representation of each page is compressed, which leads to a compression ratio of about 2 for the resulting document. Compression is on by default. + * Note: the Zlib extension is required for this feature. If not present, compression will be turned off. + * @param boolean $compress Boolean indicating if compression must be enabled. + * @since 1.4 + */ + function SetCompression($compress) { + //Set page compression + if(function_exists('gzcompress')) { + $this->compress=$compress; + } + else { + $this->compress=false; + } + } + + /** + * Defines the title of the document. + * @param string $title The title. + * @since 1.2 + * @see SetAuthor(), SetCreator(), SetKeywords(), SetSubject() + */ + function SetTitle($title) { + //Title of document + $this->title=$title; + } + + /** + * Defines the subject of the document. + * @param string $subject The subject. + * @since 1.2 + * @see SetAuthor(), SetCreator(), SetKeywords(), SetTitle() + */ + function SetSubject($subject) { + //Subject of document + $this->subject=$subject; + } + + /** + * Defines the author of the document. + * @param string $author The name of the author. + * @since 1.2 + * @see SetCreator(), SetKeywords(), SetSubject(), SetTitle() + */ + function SetAuthor($author) { + //Author of document + $this->author=$author; + } + + /** + * Associates keywords with the document, generally in the form 'keyword1 keyword2 ...'. + * @param string $keywords The list of keywords. + * @since 1.2 + * @see SetAuthor(), SetCreator(), SetSubject(), SetTitle() + */ + function SetKeywords($keywords) { + //Keywords of document + $this->keywords=$keywords; + } + + /** + * Defines the creator of the document. This is typically the name of the application that generates the PDF. + * @param string $creator The name of the creator. + * @since 1.2 + * @see SetAuthor(), SetKeywords(), SetSubject(), SetTitle() + */ + function SetCreator($creator) { + //Creator of document + $this->creator=$creator; + } + + /** + * Defines an alias for the total number of pages. It will be substituted as the document is closed.
+ * Example:
+ *
+		* class PDF extends FPDF {
+		* 	function Footer() {
+		* 		//Go to 1.5 cm from bottom
+		* 		$this->SetY(-15);
+		* 		//Select Arial italic 8
+		* 		$this->SetFont('Arial','I',8);
+		* 		//Print current and total page numbers
+		* 		$this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C');
+		* 	}
+		* }
+		* $pdf=new PDF();
+		* $pdf->AliasNbPages();
+		* 
+ * @param string $alias The alias. Default value: {nb}. + * @since 1.4 + * @see PageNo(), Footer() + */ + function AliasNbPages($alias='{nb}') { + //Define an alias for total number of pages + $this->AliasNbPages = $this->_escapetext($alias); + } + + /** + * This method is automatically called in case of fatal error; it simply outputs the message and halts the execution. An inherited class may override it to customize the error handling but should always halt the script, or the resulting document would probably be invalid. + * 2004-06-11 :: Nicola Asuni : changed bold tag with strong + * @param string $msg The error message + * @since 1.0 + */ + function Error($msg) { + //Fatal error + die('FPDF error: '.$msg); + } + + /** + * This method begins the generation of the PDF document. It is not necessary to call it explicitly because AddPage() does it automatically. + * Note: no page is created by this method + * @since 1.0 + * @see AddPage(), Close() + */ + function Open() { + //Begin document + $this->state=1; + } + + /** + * Terminates the PDF document. It is not necessary to call this method explicitly because Output() does it automatically. If the document contains no page, AddPage() is called to prevent from getting an invalid document. + * @since 1.0 + * @see Open(), Output() + */ + function Close() { + //Terminate document + if($this->state==3) { + return; + } + if($this->page==0) { + $this->AddPage(); + } + //Page footer + $this->InFooter=true; + $this->Footer(); + $this->InFooter=false; + //Close page + $this->_endpage(); + //Close document + $this->_enddoc(); + } + + /** + * Adds a new page to the document. If a page is already present, the Footer() method is called first to output the footer. Then the page is added, the current position set to the top-left corner according to the left and top margins, and Header() is called to display the header. + * The font which was set before calling is automatically restored. There is no need to call SetFont() again if you want to continue with the same font. The same is true for colors and line width. + * The origin of the coordinate system is at the top-left corner and increasing ordinates go downwards. + * @param string $orientation Page orientation. Possible values are (case insensitive):
  • P or Portrait
  • L or Landscape
The default value is the one passed to the constructor. + * @since 1.0 + * @see FPDF(), Header(), Footer(), SetMargins() + */ + function AddPage($orientation='') { + //Start a new page + if($this->state==0) { + $this->Open(); + } + $family=$this->FontFamily; + $style=$this->FontStyle.($this->underline ? 'U' : ''); + $size=$this->FontSizePt; + $lw=$this->LineWidth; + $dc=$this->DrawColor; + $fc=$this->FillColor; + $tc=$this->TextColor; + $cf=$this->ColorFlag; + if($this->page>0) { + //Page footer + $this->InFooter=true; + $this->Footer(); + $this->InFooter=false; + //Close page + $this->_endpage(); + } + //Start new page + $this->_beginpage($orientation); + //Set line cap style to square + $this->_out('2 J'); + //Set line width + $this->LineWidth=$lw; + $this->_out(sprintf('%.2f w',$lw*$this->k)); + //Set font + if($family) { + $this->SetFont($family,$style,$size); + } + //Set colors + $this->DrawColor=$dc; + if($dc!='0 G') { + $this->_out($dc); + } + $this->FillColor=$fc; + if($fc!='0 g') { + $this->_out($fc); + } + $this->TextColor=$tc; + $this->ColorFlag=$cf; + //Page header + $this->Header(); + //Restore line width + if($this->LineWidth!=$lw) { + $this->LineWidth=$lw; + $this->_out(sprintf('%.2f w',$lw*$this->k)); + } + //Restore font + if($family) { + $this->SetFont($family,$style,$size); + } + //Restore colors + if($this->DrawColor!=$dc) { + $this->DrawColor=$dc; + $this->_out($dc); + } + if($this->FillColor!=$fc) { + $this->FillColor=$fc; + $this->_out($fc); + } + $this->TextColor=$tc; + $this->ColorFlag=$cf; + } + + + + /** + * Set header data. + * @param string $ln header image logo + * @param string $lw header image logo width in mm + * @param string $ht string to print as title on document header + * @param string $hs string to print on document header + */ + function setHeaderData($ln="", $lw=0, $ht="", $hs="") { + $this->header_logo = $ln; + $this->header_logo_width = $lw; + $this->header_title = $ht; + $this->header_string = $hs; + } + + /** + * Set header margin. + * (minimum distance between header and top page margin) + * @param int $hm distance in millimeters + */ + function setHeaderMargin($hm=10) { + $this->header_margin = $hm; + } + + /** + * Set footer margin. + * (minimum distance between footer and bottom page margin) + * @param int $fm distance in millimeters + */ + function setFooterMargin($fm=10) { + $this->footer_margin = $fm; + } + + /** + * This method is used to render the page header. + * It is automatically called by AddPage() and could be overwritten in your own inherited class. + */ + function Header() { + if ($this->print_header) { + + if (!isset($this->original_lMargin)) { + $this->original_lMargin = $this->lMargin; + } + if (!isset($this->original_rMargin)) { + $this->original_rMargin = $this->rMargin; + } + + //set current position + $this->SetXY($this->original_lMargin, $this->header_margin); + + if (($this->header_logo) AND ($this->header_logo != K_BLANK_IMAGE)) { + $this->Image(K_PATH_IMAGES.$this->header_logo, $this->original_lMargin, $this->header_margin, $this->header_logo_width); + } + else { + $this->img_rb_y = $this->GetY(); + } + + $cell_height = round((K_CELL_HEIGHT_RATIO * $this->header_font[2]) / $this->k, 2); + + $header_x = $this->original_lMargin + ($this->header_logo_width * 1.05); //set left margin for text data cell + + // header title + $this->SetFont($this->header_font[0], 'B', $this->header_font[2] + 1); + $this->SetX($header_x); + $this->Cell($this->header_width, $cell_height, $this->header_title, 0, 1, 'L'); + + // header string + $this->SetFont($this->header_font[0], $this->header_font[1], $this->header_font[2]); + $this->SetX($header_x); + $this->MultiCell($this->header_width, $cell_height, $this->header_string, 0, 'L', 0); + + // print an ending header line + if (empty($this->header_width)) { + //set style for cell border + $this->SetLineWidth(0.3); + $this->SetDrawColor(0, 0, 0); + $this->SetY(1 + max($this->img_rb_y, $this->GetY())); + $this->SetX($this->original_lMargin); + $this->Cell(0, 0, '', 'T', 0, 'C'); + } + + //restore position + $this->SetXY($this->original_lMargin, $this->tMargin); + } + } + + /** + * This method is used to render the page footer. + * It is automatically called by AddPage() and could be overwritten in your own inherited class. + */ + function Footer() { + if ($this->print_footer) { + + if (!isset($this->original_lMargin)) { + $this->original_lMargin = $this->lMargin; + } + if (!isset($this->original_rMargin)) { + $this->original_rMargin = $this->rMargin; + } + + //set font + $this->SetFont($this->footer_font[0], $this->footer_font[1] , $this->footer_font[2]); + //set style for cell border + $line_width = 0.3; + $this->SetLineWidth($line_width); + $this->SetDrawColor(0, 0, 0); + + $footer_height = round((K_CELL_HEIGHT_RATIO * $this->footer_font[2]) / $this->k, 2); //footer height + //get footer y position + $footer_y = $this->h - $this->footer_margin - $footer_height; + //set current position + $this->SetXY($this->original_lMargin, $footer_y); + + //print document barcode + if ($this->barcode) { + $this->Ln(); + $barcode_width = round(($this->w - $this->original_lMargin - $this->original_rMargin)); //max width + $this->writeBarcode($this->original_lMargin, $footer_y + $line_width, $barcode_width, $footer_height - $line_width, "C128B", false, false, 2, $this->barcode); + } + + $this->SetXY($this->original_lMargin, $footer_y); + + //Print page number + $this->Cell(0, $footer_height, $this->l['w_page']." ".$this->PageNo().' / {nb}', 'T', 0, 'R'); + } + } + + /** + * Returns the current page number. + * @return int page number + * @since 1.0 + * @see AliasNbPages() + */ + function PageNo() { + //Get current page number + return $this->page; + } + + /** + * Defines the color used for all drawing operations (lines, rectangles and cell borders). It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page. + * @param int $r If g et b are given, red component; if not, indicates the gray level. Value between 0 and 255 + * @param int $g Green component (between 0 and 255) + * @param int $b Blue component (between 0 and 255) + * @since 1.3 + * @see SetFillColor(), SetTextColor(), Line(), Rect(), Cell(), MultiCell() + */ + function SetDrawColor($r, $g=-1, $b=-1) { + //Set color for all stroking operations + if(($r==0 and $g==0 and $b==0) or $g==-1) { + $this->DrawColor=sprintf('%.3f G',$r/255); + } + else { + $this->DrawColor=sprintf('%.3f %.3f %.3f RG',$r/255,$g/255,$b/255); + } + if($this->page>0) { + $this->_out($this->DrawColor); + } + } + + /** + * Defines the color used for all filling operations (filled rectangles and cell backgrounds). It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page. + * @param int $r If g et b are given, red component; if not, indicates the gray level. Value between 0 and 255 + * @param int $g Green component (between 0 and 255) + * @param int $b Blue component (between 0 and 255) + * @param boolean $storeprev if true stores the RGB array on $prevFillColor variable. + * @since 1.3 + * @see SetDrawColor(), SetTextColor(), Rect(), Cell(), MultiCell() + */ + function SetFillColor($r, $g=-1, $b=-1, $storeprev=false) { + //Set color for all filling operations + if(($r==0 and $g==0 and $b==0) or $g==-1) { + $this->FillColor=sprintf('%.3f g',$r/255); + } + else { + $this->FillColor=sprintf('%.3f %.3f %.3f rg',$r/255,$g/255,$b/255); + } + $this->ColorFlag=($this->FillColor!=$this->TextColor); + if($this->page>0) { + $this->_out($this->FillColor); + } + if ($storeprev) { + // store color as previous value + $this->prevFillColor = array($r, $g, $b); + } + } + + /** + * Defines the color used for text. It can be expressed in RGB components or gray scale. The method can be called before the first page is created and the value is retained from page to page. + * @param int $r If g et b are given, red component; if not, indicates the gray level. Value between 0 and 255 + * @param int $g Green component (between 0 and 255) + * @param int $b Blue component (between 0 and 255) + * @param boolean $storeprev if true stores the RGB array on $prevTextColor variable. + * @since 1.3 + * @see SetDrawColor(), SetFillColor(), Text(), Cell(), MultiCell() + */ + function SetTextColor($r, $g=-1, $b=-1, $storeprev=false) { + //Set color for text + if(($r==0 and $g==0 and $b==0) or $g==-1) { + $this->TextColor=sprintf('%.3f g',$r/255); + } + else { + $this->TextColor=sprintf('%.3f %.3f %.3f rg',$r/255,$g/255,$b/255); + } + $this->ColorFlag=($this->FillColor!=$this->TextColor); + if ($storeprev) { + // store color as previous value + $this->prevTextColor = array($r, $g, $b); + } + } + + /** + * Returns the length of a string in user unit. A font must be selected.
+ * Support UTF-8 Unicode [Nicola Asuni, 2005-01-02] + * @param string $s The string whose length is to be computed + * @return int + * @since 1.2 + */ + function GetStringWidth($s) { + //Get width of a string in the current font + $s = (string)$s; + $cw = &$this->CurrentFont['cw']; + $w = 0; + if($this->isunicode) { + $unicode = $this->UTF8StringToArray($s); + foreach($unicode as $char) { + if (isset($cw[$char])) { + $w+=$cw[$char]; + } elseif(isset($cw[ord($char)])) { + $w+=$cw[ord($char)]; + } elseif(isset($cw[chr($char)])) { + $w+=$cw[chr($char)]; + } elseif(isset($this->CurrentFont['desc']['MissingWidth'])) { + $w += $this->CurrentFont['desc']['MissingWidth']; // set default size + } else { + $w += 500; + } + } + } else { + $l = strlen($s); + for($i=0; $i<$l; $i++) { + if (isset($cw[$s{$i}])) { + $w += $cw[$s{$i}]; + } else if (isset($cw[ord($s{$i})])) { + $w += $cw[ord($s{$i})]; + } + } + } + return ($w * $this->FontSize / 1000); + } + + /** + * Defines the line width. By default, the value equals 0.2 mm. The method can be called before the first page is created and the value is retained from page to page. + * @param float $width The width. + * @since 1.0 + * @see Line(), Rect(), Cell(), MultiCell() + */ + function SetLineWidth($width) { + //Set line width + $this->LineWidth=$width; + if($this->page>0) { + $this->_out(sprintf('%.2f w',$width*$this->k)); + } + } + + /** + * Draws a line between two points. + * @param float $x1 Abscissa of first point + * @param float $y1 Ordinate of first point + * @param float $x2 Abscissa of second point + * @param float $y2 Ordinate of second point + * @since 1.0 + * @see SetLineWidth(), SetDrawColor() + */ + function Line($x1, $y1, $x2, $y2) { + //Draw a line + $this->_out(sprintf('%.2f %.2f m %.2f %.2f l S', $x1*$this->k, ($this->h-$y1)*$this->k, $x2*$this->k, ($this->h-$y2)*$this->k)); + } + + /** + * Outputs a rectangle. It can be drawn (border only), filled (with no border) or both. + * @param float $x Abscissa of upper-left corner + * @param float $y Ordinate of upper-left corner + * @param float $w Width + * @param float $h Height + * @param string $style Style of rendering. Possible values are:
  • D or empty string: draw (default)
  • F: fill
  • DF or FD: draw and fill
+ * @since 1.0 + * @see SetLineWidth(), SetDrawColor(), SetFillColor() + */ + function Rect($x, $y, $w, $h, $style='') { + //Draw a rectangle + if($style=='F') { + $op='f'; + } + elseif($style=='FD' or $style=='DF') { + $op='B'; + } + else { + $op='S'; + } + $this->_out(sprintf('%.2f %.2f %.2f %.2f re %s',$x*$this->k,($this->h-$y)*$this->k,$w*$this->k,-$h*$this->k,$op)); + } + + /** + * Imports a TrueType or Type1 font and makes it available. It is necessary to generate a font definition file first with the makefont.php utility. The definition file (and the font file itself when embedding) must be present either in the current directory or in the one indicated by FPDF_FONTPATH if the constant is defined. If it could not be found, the error "Could not include font definition file" is generated. + * Support UTF-8 Unicode [Nicola Asuni, 2005-01-02]. + * Example:
+ *
+		* $pdf->AddFont('Comic','I');
+		* // is equivalent to:
+		* $pdf->AddFont('Comic','I','comici.php');
+		* 
+ * @param string $family Font family. The name can be chosen arbitrarily. If it is a standard family name, it will override the corresponding font. + * @param string $style Font style. Possible values are (case insensitive):
  • empty string: regular (default)
  • B: bold
  • I: italic
  • BI or IB: bold italic
+ * @param string $file The font definition file. By default, the name is built from the family and style, in lower case with no space. + * @since 1.5 + * @see SetFont() + */ + function AddFont($family, $style='', $file='') { + if(empty($family)) { + return; + } + + //Add a TrueType or Type1 font + $family = strtolower($family); + if((!$this->isunicode) AND ($family == 'arial')) { + $family = 'helvetica'; + } + + $style=strtoupper($style); + $style=str_replace('U','',$style); + if($style == 'IB') { + $style = 'BI'; + } + + $fontkey = $family.$style; + // check if the font has been already added + if(isset($this->fonts[$fontkey])) { + return; + } + + if($file=='') { + $file = str_replace(' ', '', $family).strtolower($style).'.php'; + } + if(!file_exists($this->_getfontpath().$file)) { + // try to load the basic file without styles + $file = str_replace(' ', '', $family).'.php'; + } + + include($this->_getfontpath().$file); + + if(!isset($name) AND !isset($fpdf_charwidths)) { + $this->Error('Could not include font definition file'); + } + + $i = count($this->fonts)+1; + + if($this->isunicode) { + $this->fonts[$fontkey] = array('i'=>$i, 'type'=>$type, 'name'=>$name, 'desc'=>$desc, 'up'=>$up, 'ut'=>$ut, 'cw'=>$cw, 'enc'=>$enc, 'file'=>$file, 'ctg'=>$ctg); + $fpdf_charwidths[$fontkey] = $cw; + } else { + $this->fonts[$fontkey]=array('i'=>$i, 'type'=>'core', 'name'=>$this->CoreFonts[$fontkey], 'up'=>-100, 'ut'=>50, 'cw'=>$fpdf_charwidths[$fontkey]); + } + + if(isset($diff) AND (!empty($diff))) { + //Search existing encodings + $d=0; + $nb=count($this->diffs); + for($i=1;$i<=$nb;$i++) { + if($this->diffs[$i]==$diff) { + $d=$i; + break; + } + } + if($d==0) { + $d=$nb+1; + $this->diffs[$d]=$diff; + } + $this->fonts[$fontkey]['diff']=$d; + } + if(!empty($file)) { + if((strcasecmp($type,"TrueType") == 0) OR (strcasecmp($type,"TrueTypeUnicode") == 0)) { + $this->FontFiles[$file]=array('length1'=>$originalsize); + } + else { + $this->FontFiles[$file]=array('length1'=>$size1,'length2'=>$size2); + } + } + } + + /** + * Sets the font used to print character strings. It is mandatory to call this method at least once before printing text or the resulting document would not be valid. + * The font can be either a standard one or a font added via the AddFont() method. Standard fonts use Windows encoding cp1252 (Western Europe). + * The method can be called before the first page is created and the font is retained from page to page. + If you just wish to change the current font size, it is simpler to call SetFontSize(). + * Note: for the standard fonts, the font metric files must be accessible. There are three possibilities for this:
  • They are in the current directory (the one where the running script lies)
  • They are in one of the directories defined by the include_path parameter
  • They are in the directory defined by the FPDF_FONTPATH constant

+ * Example for the last case (note the trailing slash):
+ *
+		* define('FPDF_FONTPATH','/home/www/font/');
+		* require('fpdf.php');
+		*
+		* //Times regular 12
+		* $pdf->SetFont('Times');
+		* //Arial bold 14
+		* $pdf->SetFont('Arial','B',14);
+		* //Removes bold
+		* $pdf->SetFont('');
+		* //Times bold, italic and underlined 14
+		* $pdf->SetFont('Times','BIU');
+		* 

+ * If the file corresponding to the requested font is not found, the error "Could not include font metric file" is generated. + * @param string $family Family font. It can be either a name defined by AddFont() or one of the standard families (case insensitive):
  • Courier (fixed-width)
  • Helvetica or Arial (synonymous; sans serif)
  • Times (serif)
  • Symbol (symbolic)
  • ZapfDingbats (symbolic)
It is also possible to pass an empty string. In that case, the current family is retained. + * @param string $style Font style. Possible values are (case insensitive):
  • empty string: regular
  • B: bold
  • I: italic
  • U: underline
or any combination. The default value is regular. Bold and italic styles do not apply to Symbol and ZapfDingbats + * @param float $size Font size in points. The default value is the current size. If no size has been specified since the beginning of the document, the value taken is 12 + * @since 1.0 + * @see AddFont(), SetFontSize(), Cell(), MultiCell(), Write() + */ + function SetFont($family, $style='', $size=0) { + $family = 'vera'; + // save previous values + $this->prevFontFamily = $this->FontFamily; + $this->prevFontStyle = $this->FontStyle; + + //Select a font; size given in points + global $fpdf_charwidths; + + $family=strtolower($family); + if($family=='') { + $family=$this->FontFamily; + } + if((!$this->isunicode) AND ($family == 'arial')) { + $family = 'helvetica'; + } + elseif(($family=="symbol") OR ($family=="zapfdingbats")) { + $style=''; + } + $style=strtoupper($style); + + if(strpos($style,'U')!==false) { + $this->underline=true; + $style=str_replace('U','',$style); + } + else { + $this->underline=false; + } + if($style=='IB') { + $style='BI'; + } + if($size==0) { + $size=$this->FontSizePt; + } + + // try to add font (if not already added) + if($this->isunicode) { + $this->AddFont($family, $style); + } + + //Test if font is already selected + if(($this->FontFamily == $family) AND ($this->FontStyle == $style) AND ($this->FontSizePt == $size)) { + return; + } + + $fontkey = $family.$style; + //if(!isset($this->fonts[$fontkey]) AND isset($this->fonts[$family])) { + // $style=''; + //} + + //Test if used for the first time + if(!isset($this->fonts[$fontkey])) { + //Check if one of the standard fonts + if(isset($this->CoreFonts[$fontkey])) { + if(!isset($fpdf_charwidths[$fontkey])) { + //Load metric file + $file = $family; + if(($family!='symbol') AND ($family!='zapfdingbats')) { + $file .= strtolower($style); + } + if(!file_exists($this->_getfontpath().$file.'.php')) { + // try to load the basic file without styles + $file = $family; + $fontkey = $family; + } + include($this->_getfontpath().$file.'.php'); + if (($this->isunicode AND !isset($ctg)) OR ((!$this->isunicode) AND (!isset($fpdf_charwidths[$fontkey]))) ) { + $this->Error("Could not include font metric file [".$fontkey."]: ".$this->_getfontpath().$file.".php"); + } + } + $i = count($this->fonts) + 1; + + if($this->isunicode) { + $this->fonts[$fontkey] = array('i'=>$i, 'type'=>$type, 'name'=>$name, 'desc'=>$desc, 'up'=>$up, 'ut'=>$ut, 'cw'=>$cw, 'enc'=>$enc, 'file'=>$file, 'ctg'=>$ctg); + $fpdf_charwidths[$fontkey] = $cw; + } else { + $this->fonts[$fontkey]=array('i'=>$i, 'type'=>'core', 'name'=>$this->CoreFonts[$fontkey], 'up'=>-100, 'ut'=>50, 'cw'=>$fpdf_charwidths[$fontkey]); + } + } + else { + $this->Error('Undefined font: '.$family.' '.$style); + } + } + //Select it + $this->FontFamily = $family; + $this->FontStyle = $style; + $this->FontSizePt = $size; + $this->FontSize = $size / $this->k; + $this->CurrentFont = &$this->fonts[$fontkey]; + if($this->page>0) { + $this->_out(sprintf('BT /F%d %.2f Tf ET', $this->CurrentFont['i'], $this->FontSizePt)); + } + } + + /** + * Defines the size of the current font. + * @param float $size The size (in points) + * @since 1.0 + * @see SetFont() + */ + function SetFontSize($size) { + //Set font size in points + if($this->FontSizePt==$size) { + return; + } + $this->FontSizePt = $size; + $this->FontSize = $size / $this->k; + if($this->page > 0) { + $this->_out(sprintf('BT /F%d %.2f Tf ET', $this->CurrentFont['i'], $this->FontSizePt)); + } + } + + /** + * Creates a new internal link and returns its identifier. An internal link is a clickable area which directs to another place within the document.
+ * The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is defined with SetLink(). + * @since 1.5 + * @see Cell(), Write(), Image(), Link(), SetLink() + */ + function AddLink() { + //Create a new internal link + $n=count($this->links)+1; + $this->links[$n]=array(0,0); + return $n; + } + + /** + * Defines the page and position a link points to + * @param int $link The link identifier returned by AddLink() + * @param float $y Ordinate of target position; -1 indicates the current position. The default value is 0 (top of page) + * @param int $page Number of target page; -1 indicates the current page. This is the default value + * @since 1.5 + * @see AddLink() + */ + function SetLink($link, $y=0, $page=-1) { + //Set destination of internal link + if($y==-1) { + $y=$this->y; + } + if($page==-1) { + $page=$this->page; + } + $this->links[$link]=array($page,$y); + } + + /** + * Puts a link on a rectangular area of the page. Text or image links are generally put via Cell(), Write() or Image(), but this method can be useful for instance to define a clickable area inside an image. + * @param float $x Abscissa of the upper-left corner of the rectangle + * @param float $y Ordinate of the upper-left corner of the rectangle + * @param float $w Width of the rectangle + * @param float $h Height of the rectangle + * @param mixed $link URL or identifier returned by AddLink() + * @since 1.5 + * @see AddLink(), Cell(), Write(), Image() + */ + function Link($x, $y, $w, $h, $link) { + //Put a link on the page + $this->PageLinks[$this->page][] = array($x * $this->k, $this->hPt - $y * $this->k, $w * $this->k, $h*$this->k, $link); + } + + /** + * Prints a character string. The origin is on the left of the first charcter, on the baseline. This method allows to place a string precisely on the page, but it is usually easier to use Cell(), MultiCell() or Write() which are the standard methods to print text. + * @param float $x Abscissa of the origin + * @param float $y Ordinate of the origin + * @param string $txt String to print + * @since 1.0 + * @see SetFont(), SetTextColor(), Cell(), MultiCell(), Write() + */ + function Text($x, $y, $txt) { + //Output a string + $s=sprintf('BT %.2f %.2f Td (%s) Tj ET', $x * $this->k, ($this->h-$y) * $this->k, $this->_escapetext($txt)); + if($this->underline AND ($txt!='')) { + $s .= ' '.$this->_dounderline($x,$y,$txt); + } + if($this->ColorFlag) { + $s='q '.$this->TextColor.' '.$s.' Q'; + } + $this->_out($s); + } + + /** + * Whenever a page break condition is met, the method is called, and the break is issued or not depending on the returned value. The default implementation returns a value according to the mode selected by SetAutoPageBreak().
+ * This method is called automatically and should not be called directly by the application.
+ * Example:
+ * The method is overriden in an inherited class in order to obtain a 3 column layout:
+ *
+		* class PDF extends FPDF {
+		* 	var $col=0;
+		*
+		* 	function SetCol($col) {
+		* 		//Move position to a column
+		* 		$this->col=$col;
+		* 		$x=10+$col*65;
+		* 		$this->SetLeftMargin($x);
+		* 		$this->SetX($x);
+		* 	}
+		*
+		* 	function AcceptPageBreak() {
+		* 		if($this->col<2) {
+		* 			//Go to next column
+		* 			$this->SetCol($this->col+1);
+		* 			$this->SetY(10);
+		* 			return false;
+		* 		}
+		* 		else {
+		* 			//Go back to first column and issue page break
+		* 			$this->SetCol(0);
+		* 			return true;
+		* 		}
+		* 	}
+		* }
+		*
+		* $pdf=new PDF();
+		* $pdf->Open();
+		* $pdf->AddPage();
+		* $pdf->SetFont('Arial','',12);
+		* for($i=1;$i<=300;$i++) {
+		*     $pdf->Cell(0,5,"Line $i",0,1);
+		* }
+		* $pdf->Output();
+		* 
+ * @return boolean + * @since 1.4 + * @see SetAutoPageBreak() + */ + function AcceptPageBreak() { + //Accept automatic page break or not + return $this->AutoPageBreak; + } + + /** + * Prints a cell (rectangular area) with optional borders, background color and character string. The upper-left corner of the cell corresponds to the current position. The text can be aligned or centered. After the call, the current position moves to the right or to the next line. It is possible to put a link on the text.
+ * If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting. + * @param float $w Cell width. If 0, the cell extends up to the right margin. + * @param float $h Cell height. Default value: 0. + * @param string $txt String to print. Default value: empty string. + * @param mixed $border Indicates if borders must be drawn around the cell. The value can be either a number:
  • 0: no border (default)
  • 1: frame
or a string containing some or all of the following characters (in any order):
  • L: left
  • T: top
  • R: right
  • B: bottom
+ * @param int $ln Indicates where the current position should go after the call. Possible values are:
  • 0: to the right
  • 1: to the beginning of the next line
  • 2: below
+ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value: 0. + * @param string $align Allows to center or align the text. Possible values are:
  • L or empty string: left align (default value)
  • C: center
  • R: right align
+ * @param int $fill Indicates if the cell background must be painted (1) or transparent (0). Default value: 0. + * @param mixed $link URL or identifier returned by AddLink(). + * @since 1.0 + * @see SetFont(), SetDrawColor(), SetFillColor(), SetTextColor(), SetLineWidth(), AddLink(), Ln(), MultiCell(), Write(), SetAutoPageBreak() + */ + function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=0, $link='') { + //Output a cell + $k=$this->k; + if(($this->y + $h) > $this->PageBreakTrigger AND empty($this->InFooter) AND $this->AcceptPageBreak()) { + //Automatic page break + $x = $this->x; + $ws = $this->ws; + if($ws > 0) { + $this->ws = 0; + $this->_out('0 Tw'); + } + $this->AddPage($this->CurOrientation); + $this->x = $x; + if($ws > 0) { + $this->ws = $ws; + $this->_out(sprintf('%.3f Tw',$ws * $k)); + } + } + if($w == 0) { + $w = $this->w - $this->rMargin - $this->x; + } + $s = ''; + if(($fill == 1) OR ($border == 1)) { + if($fill == 1) { + $op = ($border == 1) ? 'B' : 'f'; + } + else { + $op = 'S'; + } + $s = sprintf('%.2f %.2f %.2f %.2f re %s ', $this->x * $k, ($this->h - $this->y) * $k, $w * $k, -$h * $k, $op); + } + if(is_string($border)) { + $x=$this->x; + $y=$this->y; + if(strpos($border,'L')!==false) { + $s.=sprintf('%.2f %.2f m %.2f %.2f l S ',$x*$k,($this->h-$y)*$k,$x*$k,($this->h-($y+$h))*$k); + } + if(strpos($border,'T')!==false) { + $s.=sprintf('%.2f %.2f m %.2f %.2f l S ',$x*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-$y)*$k); + } + if(strpos($border,'R')!==false) { + $s.=sprintf('%.2f %.2f m %.2f %.2f l S ',($x+$w)*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-($y+$h))*$k); + } + if(strpos($border,'B')!==false) { + $s.=sprintf('%.2f %.2f m %.2f %.2f l S ',$x*$k,($this->h-($y+$h))*$k,($x+$w)*$k,($this->h-($y+$h))*$k); + } + } + if($txt != '') { + $width = $this->GetStringWidth($txt); + if($align == 'R') { + $dx = $w - $this->cMargin - $width; + } + elseif($align=='C') { + $dx = ($w - $width)/2; + } + else { + $dx = $this->cMargin; + } + if($this->ColorFlag) { + $s .= 'q '.$this->TextColor.' '; + } + $txt2 = $this->_escapetext($txt); + $s.=sprintf('BT %.2f %.2f Td (%s) Tj ET', ($this->x + $dx) * $k, ($this->h - ($this->y + 0.5 * $h + 0.3 * $this->FontSize)) * $k, $txt2); + if($this->underline) { + $s.=' '.$this->_dounderline($this->x + $dx, $this->y + 0.5 * $h + 0.3 * $this->FontSize, $txt); + } + if($this->ColorFlag) { + $s.=' Q'; + } + if($link) { + $this->Link($this->x + $dx, $this->y + 0.5 * $h - 0.5 * $this->FontSize, $width, $this->FontSize, $link); + } + } + if($s) { + $this->_out($s); + } + $this->lasth = $h; + if($ln>0) { + //Go to next line + $this->y += $h; + if($ln == 1) { + $this->x = $this->lMargin; + } + } + else { + $this->x += $w; + } + } + + /** + * This method allows printing text with line breaks. They can be automatic (as soon as the text reaches the right border of the cell) or explicit (via the \n character). As many cells as necessary are output, one below the other.
+ * Text can be aligned, centered or justified. The cell block can be framed and the background painted. + * @param float $w Width of cells. If 0, they extend up to the right margin of the page. + * @param float $h Height of cells. + * @param string $txt String to print + * @param mixed $border Indicates if borders must be drawn around the cell block. The value can be either a number:
  • 0: no border (default)
  • 1: frame
or a string containing some or all of the following characters (in any order):
  • L: left
  • T: top
  • R: right
  • B: bottom
+ * @param int $ln Indicates where the current position should go after the call. Possible values are:
  • 0: to the right
  • 1: to the beginning of the next line
  • 2: below
+ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value: 0. + * @param string $align Allows to center or align the text. Possible values are:
  • L or empty string: left align
  • C: center
  • R: right align
  • J: justification (default value)
+ * @param int $fill Indicates if the cell background must be painted (1) or transparent (0). Default value: 0. + * @since 1.3 + * @see SetFont(), SetDrawColor(), SetFillColor(), SetTextColor(), SetLineWidth(), Cell(), Write(), SetAutoPageBreak() + */ + function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=0) { + //Output text with automatic or explicit line breaks + $cw = &$this->CurrentFont['cw']; + + if($w == 0) { + $w = $this->w - $this->rMargin - $this->x; + } + + $wmax = ($w - 2 * $this->cMargin); + + $s = str_replace("\r", '', $txt); // remove carriage returns + $nb = strlen($s); + + $b=0; + if($border) { + if($border==1) { + $border='LTRB'; + $b='LRT'; + $b2='LR'; + } + else { + $b2=''; + if(strpos($border,'L')!==false) { + $b2.='L'; + } + if(strpos($border,'R')!==false) { + $b2.='R'; + } + $b=(strpos($border,'T')!==false) ? $b2.'T' : $b2; + } + } + $sep=-1; + $i=0; + $j=0; + $l=0; + $ns=0; + $nl=1; + while($i<$nb) { + //Get next character + $c = $s{$i}; + if(preg_match("/[\n]/u", $c)) { + //Explicit line break + if($this->ws > 0) { + $this->ws = 0; + $this->_out('0 Tw'); + } + $this->Cell($w, $h, substr($s, $j, $i-$j), $b, 2, $align, $fill); + $i++; + $sep=-1; + $j=$i; + $l=0; + $ns=0; + $nl++; + if($border and $nl==2) { + $b = $b2; + } + continue; + } + if(preg_match("/[ ]/u", $c)) { + $sep = $i; + $ls = $l; + $ns++; + } + + $l = $this->GetStringWidth(substr($s, $j, $i-$j)); + + if($l > $wmax) { + //Automatic line break + if($sep == -1) { + if($i == $j) { + $i++; + } + if($this->ws > 0) { + $this->ws = 0; + $this->_out('0 Tw'); + } + $this->Cell($w, $h, substr($s, $j, $i-$j), $b, 2, $align, $fill); + } + else { + if($align=='J') { + $this->ws = ($ns>1) ? ($wmax-$ls)/($ns-1) : 0; + $this->_out(sprintf('%.3f Tw', $this->ws * $this->k)); + } + $this->Cell($w, $h, substr($s, $j, $sep-$j), $b, 2, $align, $fill); + $i = $sep + 1; + } + $sep=-1; + $j=$i; + $l=0; + $ns=0; + $nl++; + if($border AND ($nl==2)) { + $b=$b2; + } + } + else { + $i++; + } + } + //Last chunk + if($this->ws>0) { + $this->ws=0; + $this->_out('0 Tw'); + } + if($border and is_int(strpos($border,'B'))) { + $b.='B'; + } + $this->Cell($w, $h, substr($s, $j, $i-$j), $b, 2, $align, $fill); + $this->x=$this->lMargin; + } + + /** + * This method prints text from the current position. When the right margin is reached (or the \n character is met) a line break occurs and text continues from the left margin. Upon method exit, the current position is left just at the end of the text. It is possible to put a link on the text.
+ * Example:
+ *
+		* //Begin with regular font
+		* $pdf->SetFont('Arial','',14);
+		* $pdf->Write(5,'Visit ');
+		* //Then put a blue underlined link
+		* $pdf->SetTextColor(0,0,255);
+		* $pdf->SetFont('','U');
+		* $pdf->Write(5,'www.fpdf.org','http://www.fpdf.org');
+		* 
+ * @param float $h Line height + * @param string $txt String to print + * @param mixed $link URL or identifier returned by AddLink() + * @param int $fill Indicates if the background must be painted (1) or transparent (0). Default value: 0. + * @since 1.5 + * @see SetFont(), SetTextColor(), AddLink(), MultiCell(), SetAutoPageBreak() + */ + function Write($h, $txt, $link='', $fill=0) { + + //Output text in flowing mode + $cw = &$this->CurrentFont['cw']; + $w = $this->w - $this->rMargin - $this->x; + $wmax = ($w - 2 * $this->cMargin); + + $s = str_replace("\r", '', $txt); + $nb = strlen($s); + + // handle single space character + if(($nb==1) AND preg_match("/[ ]/u", $s)) { + $this->x += $this->GetStringWidth($s); + return; + } + + $sep=-1; + $i=0; + $j=0; + $l=0; + $nl=1; + while($i<$nb) { + //Get next character + $c=$s{$i}; + if(preg_match("/[\n]/u", $c)) { + //Explicit line break + $this->Cell($w, $h, substr($s, $j, $i-$j), 0, 2, '', $fill, $link); + $i++; + $sep = -1; + $j = $i; + $l = 0; + if($nl == 1) { + $this->x = $this->lMargin; + $w = $this->w - $this->rMargin - $this->x; + $wmax = ($w - 2 * $this->cMargin); + } + $nl++; + continue; + } + if(preg_match("/[ ]/u", $c)) { + $sep= $i; + } + + $l = $this->GetStringWidth(substr($s, $j, $i-$j)); + + if($l > $wmax) { + //Automatic line break (word wrapping) + if($sep == -1) { + if($this->x > $this->lMargin) { + //Move to next line + $this->x = $this->lMargin; + $this->y += $h; + $w=$this->w - $this->rMargin - $this->x; + $wmax=($w - 2 * $this->cMargin); + $i++; + $nl++; + continue; + } + if($i==$j) { + $i++; + } + $this->Cell($w, $h, substr($s, $j, $i-$j), 0, 2, '', $fill, $link); + } + else { + $this->Cell($w, $h, substr($s, $j, $sep-$j), 0, 2, '', $fill, $link); + $i=$sep+1; + } + $sep = -1; + $j = $i; + $l = 0; + if($nl==1) { + $this->x = $this->lMargin; + $w = $this->w - $this->rMargin - $this->x; + $wmax = ($w - 2 * $this->cMargin); + } + $nl++; + } + else { + $i++; + } + } + + //Last chunk + if($i!=$j) { + $this->Cell($this->GetStringWidth(substr($s, $j)." "), $h, substr($s, $j), 0, 0, '', $fill, $link); + } + } + + /** + * Puts an image in the page. The upper-left corner must be given. The dimensions can be specified in different ways:
  • explicit width and height (expressed in user unit)
  • one explicit dimension, the other being calculated automatically in order to keep the original proportions
  • no explicit dimension, in which case the image is put at 72 dpi
+ * Supported formats are JPEG and PNG. + * For JPEG, all flavors are allowed:
  • gray scales
  • true colors (24 bits)
  • CMYK (32 bits)
+ * For PNG, are allowed:
  • gray scales on at most 8 bits (256 levels)
  • indexed colors
  • true colors (24 bits)
+ * but are not supported:
  • Interlacing
  • Alpha channel
+ * If a transparent color is defined, it will be taken into account (but will be only interpreted by Acrobat 4 and above).
+ * The format can be specified explicitly or inferred from the file extension.
+ * It is possible to put a link on the image.
+ * Remark: if an image is used several times, only one copy will be embedded in the file.
+ * @param string $file Name of the file containing the image. + * @param float $x Abscissa of the upper-left corner. + * @param float $y Ordinate of the upper-left corner. + * @param float $w Width of the image in the page. If not specified or equal to zero, it is automatically calculated. + * @param float $h Height of the image in the page. If not specified or equal to zero, it is automatically calculated. + * @param string $type Image format. Possible values are (case insensitive): JPG, JPEG, PNG. If not specified, the type is inferred from the file extension. + * @param mixed $link URL or identifier returned by AddLink(). + * @since 1.1 + * @see AddLink() + */ + function Image($file, $x, $y, $w=0, $h=0, $type='', $link='') { + //Put an image on the page + if(!isset($this->images[$file])) { + //First use of image, get info + if($type == '') { + $pos = strrpos($file,'.'); + if(empty($pos)) { + $this->Error('Image file has no extension and no type was specified: '.$file); + } + $type = substr($file, $pos+1); + } + $type = strtolower($type); + $mqr = get_magic_quotes_runtime(); + set_magic_quotes_runtime(0); + if($type == 'jpg' or $type == 'jpeg') { + $info=$this->_parsejpg($file); + } + elseif($type == 'png') { + $info=$this->_parsepng($file); + } + else { + //Allow for additional formats + $mtd='_parse'.$type; + if(!method_exists($this,$mtd)) { + $this->Error('Unsupported image type: '.$type); + } + $info=$this->$mtd($file); + } + set_magic_quotes_runtime($mqr); + $info['i']=count($this->images)+1; + $this->images[$file]=$info; + } + else { + $info=$this->images[$file]; + } + //Automatic width and height calculation if needed + if(($w == 0) and ($h == 0)) { + //Put image at 72 dpi + // 2004-06-14 :: Nicola Asuni, scale factor where added + $w = $info['w'] / ($this->imgscale * $this->k); + $h = $info['h'] / ($this->imgscale * $this->k); + } + if($w == 0) { + $w = $h * $info['w'] / $info['h']; + } + if($h == 0) { + $h = $w * $info['h'] / $info['w']; + } + $this->_out(sprintf('q %.2f 0 0 %.2f %.2f %.2f cm /I%d Do Q', $w*$this->k, $h*$this->k, $x*$this->k, ($this->h-($y+$h))*$this->k, $info['i'])); + if($link) { + $this->Link($x, $y, $w, $h, $link); + } + + //2002-07-31 - Nicola Asuni + // set right-bottom corner coordinates + $this->img_rb_x = $x + $w; + $this->img_rb_y = $y + $h; + } + + /** + * Performs a line break. The current abscissa goes back to the left margin and the ordinate increases by the amount passed in parameter. + * @param float $h The height of the break. By default, the value equals the height of the last printed cell. + * @since 1.0 + * @see Cell() + */ + function Ln($h='') { + //Line feed; default value is last cell height + $this->x=$this->lMargin; + if(is_string($h)) { + $this->y+=$this->lasth; + } + else { + $this->y+=$h; + } + } + + /** + * Returns the abscissa of the current position. + * @return float + * @since 1.2 + * @see SetX(), GetY(), SetY() + */ + function GetX() { + //Get x position + return $this->x; + } + + /** + * Defines the abscissa of the current position. If the passed value is negative, it is relative to the right of the page. + * @param float $x The value of the abscissa. + * @since 1.2 + * @see GetX(), GetY(), SetY(), SetXY() + */ + function SetX($x) { + //Set x position + if($x>=0) { + $this->x=$x; + } + else { + $this->x=$this->w+$x; + } + } + + /** + * Returns the ordinate of the current position. + * @return float + * @since 1.0 + * @see SetY(), GetX(), SetX() + */ + function GetY() { + //Get y position + return $this->y; + } + + /** + * Moves the current abscissa back to the left margin and sets the ordinate. If the passed value is negative, it is relative to the bottom of the page. + * @param float $y The value of the ordinate. + * @since 1.0 + * @see GetX(), GetY(), SetY(), SetXY() + */ + function SetY($y) { + //Set y position and reset x + $this->x=$this->lMargin; + if($y>=0) { + $this->y=$y; + } + else { + $this->y=$this->h+$y; + } + } + + /** + * Defines the abscissa and ordinate of the current position. If the passed values are negative, they are relative respectively to the right and bottom of the page. + * @param float $x The value of the abscissa + * @param float $y The value of the ordinate + * @since 1.2 + * @see SetX(), SetY() + */ + function SetXY($x, $y) { + //Set x and y positions + $this->SetY($y); + $this->SetX($x); + } + + /** + * Send the document to a given destination: string, local file or browser. In the last case, the plug-in may be used (if present) or a download ("Save as" dialog box) may be forced.
+ * The method first calls Close() if necessary to terminate the document. + * @param string $name The name of the file. If not given, the document will be sent to the browser (destination I) with the name doc.pdf. + * @param string $dest Destination where to send the document. It can take one of the following values:
  • I: send the file inline to the browser. The plug-in is used if available. The name given by name is used when one selects the "Save as" option on the link generating the PDF.
  • D: send to the browser and force a file download with the name given by name.
  • F: save to a local file with the name given by name.
  • S: return the document as a string. name is ignored.
If the parameter is not specified but a name is given, destination is F. If no parameter is specified at all, destination is I.
Note: for compatibility with previous versions, a boolean value is also accepted (false for F and true for D). + * @since 1.0 + * @see Close() + */ + function Output($name='',$dest='') { + //Output PDF to some destination + //Finish document if necessary + if($this->state < 3) { + $this->Close(); + } + //Normalize parameters + if(is_bool($dest)) { + $dest=$dest ? 'D' : 'F'; + } + $dest=strtoupper($dest); + if($dest=='') { + if($name=='') { + $name='doc.pdf'; + $dest='I'; + } else { + $dest='F'; + } + } + switch($dest) { + case 'I': { + //Send to standard output + if(ob_get_contents()) { + $this->Error('Some data has already been output, can\'t send PDF file'); + } + if(php_sapi_name()!='cli') { + //We send to a browser + header('Content-Type: application/pdf'); + if(headers_sent()) { + $this->Error('Some data has already been output to browser, can\'t send PDF file'); + } + header('Content-Length: '.strlen($this->buffer)); + header('Content-disposition: inline; filename="'.$name.'"'); + } + echo $this->buffer; + break; + } + case 'D': { + //Download file + if(ob_get_contents()) { + $this->Error('Some data has already been output, can\'t send PDF file'); + } + if(isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'],'MSIE')) { + header('Content-Type: application/force-download'); + } else { + header('Content-Type: application/octet-stream'); + } + if(headers_sent()) { + $this->Error('Some data has already been output to browser, can\'t send PDF file'); + } + header('Content-Length: '.strlen($this->buffer)); + header('Content-disposition: attachment; filename="'.$name.'"'); + echo $this->buffer; + break; + } + case 'F': { + //Save to local file + $f=fopen($name,'wb'); + if(!$f) { + $this->Error('Unable to create output file: '.$name); + } + fwrite($f,$this->buffer,strlen($this->buffer)); + fclose($f); + break; + } + case 'S': { + //Return as a string + return $this->buffer; + } + default: { + $this->Error('Incorrect output destination: '.$dest); + } + } + return ''; + } + + // var methods + + /** + * Check for locale-related bug + * @access protected + */ + function _dochecks() { + //Check for locale-related bug + if(1.1==1) { + $this->Error('Don\'t alter the locale before including class file'); + } + //Check for decimal separator + if(sprintf('%.1f',1.0)!='1.0') { + setlocale(LC_NUMERIC,'C'); + } + } + + /** + * Return fonts path + * @access protected + */ + function _getfontpath() { + if(!defined('FPDF_FONTPATH') AND is_dir(dirname(__FILE__).'/font')) { + define('FPDF_FONTPATH', dirname(__FILE__).'/font/'); + } + return defined('FPDF_FONTPATH') ? FPDF_FONTPATH : ''; + } + + /** + * Start document + * @access protected + */ + function _begindoc() { + //Start document + $this->state=1; + $this->_out('%PDF-1.3'); + } + + /** + * _putpages + * @access protected + */ + function _putpages() { + $nb = $this->page; + if(!empty($this->AliasNbPages)) { + $nbstr = $this->UTF8ToUTF16BE($nb, false); + //Replace number of pages + for($n=1;$n<=$nb;$n++) { + $this->pages[$n]=str_replace($this->AliasNbPages, $nbstr, $this->pages[$n]); + } + } + if($this->DefOrientation=='P') { + $wPt=$this->fwPt; + $hPt=$this->fhPt; + } + else { + $wPt=$this->fhPt; + $hPt=$this->fwPt; + } + $filter=($this->compress) ? '/Filter /FlateDecode ' : ''; + for($n=1;$n<=$nb;$n++) { + //Page + $this->_newobj(); + $this->_out('<_out('/Parent 1 0 R'); + if(isset($this->OrientationChanges[$n])) { + $this->_out(sprintf('/MediaBox [0 0 %.2f %.2f]',$hPt,$wPt)); + } + $this->_out('/Resources 2 0 R'); + if(isset($this->PageLinks[$n])) { + //Links + $annots='/Annots ['; + foreach($this->PageLinks[$n] as $pl) { + $rect=sprintf('%.2f %.2f %.2f %.2f',$pl[0],$pl[1],$pl[0]+$pl[2],$pl[1]-$pl[3]); + $annots.='<_escape($pl[4]).')>>>>'; + } + else { + $l=$this->links[$pl[4]]; + $h=isset($this->OrientationChanges[$l[0]]) ? $wPt : $hPt; + $annots.=sprintf('/Dest [%d 0 R /XYZ 0 %.2f null]>>',1+2*$l[0],$h-$l[1]*$this->k); + } + } + $this->_out($annots.']'); + } + $this->_out('/Contents '.($this->n+1).' 0 R>>'); + $this->_out('endobj'); + //Page content + $p=($this->compress) ? gzcompress($this->pages[$n]) : $this->pages[$n]; + $this->_newobj(); + $this->_out('<<'.$filter.'/Length '.strlen($p).'>>'); + $this->_putstream($p); + $this->_out('endobj'); + } + //Pages root + $this->offsets[1]=strlen($this->buffer); + $this->_out('1 0 obj'); + $this->_out('<_out($kids.']'); + $this->_out('/Count '.$nb); + $this->_out(sprintf('/MediaBox [0 0 %.2f %.2f]',$wPt,$hPt)); + $this->_out('>>'); + $this->_out('endobj'); + } + + /** + * Adds fonts + * _putfonts + * @access protected + */ + function _putfonts() { + $nf=$this->n; + foreach($this->diffs as $diff) { + //Encodings + $this->_newobj(); + $this->_out('<>'); + $this->_out('endobj'); + } + $mqr=get_magic_quotes_runtime(); + set_magic_quotes_runtime(0); + foreach($this->FontFiles as $file=>$info) { + //Font file embedding + $this->_newobj(); + $this->FontFiles[$file]['n']=$this->n; + $font=''; + $f=fopen($this->_getfontpath().$file,'rb',1); + if(!$f) { + $this->Error('Font file not found'); + } + while(!feof($f)) { + $font .= fread($f, 8192); + } + fclose($f); + $compressed=(substr($file,-2)=='.z'); + if(!$compressed && isset($info['length2'])) { + $header=(ord($font{0})==128); + if($header) { + //Strip first binary header + $font=substr($font,6); + } + if($header && ord($font{$info['length1']})==128) { + //Strip second binary header + $font=substr($font,0,$info['length1']).substr($font,$info['length1']+6); + } + } + $this->_out('<_out('/Filter /FlateDecode'); + } + $this->_out('/Length1 '.$info['length1']); + if(isset($info['length2'])) { + $this->_out('/Length2 '.$info['length2'].' /Length3 0'); + } + $this->_out('>>'); + $this->_putstream($font); + $this->_out('endobj'); + } + set_magic_quotes_runtime($mqr); + foreach($this->fonts as $k=>$font) { + //Font objects + $this->fonts[$k]['n']=$this->n+1; + $type=$font['type']; + $name=$font['name']; + if($type=='core') { + //Standard font + $this->_newobj(); + $this->_out('<_out('/BaseFont /'.$name); + $this->_out('/Subtype /Type1'); + if($name!='Symbol' && $name!='ZapfDingbats') { + $this->_out('/Encoding /WinAnsiEncoding'); + } + $this->_out('>>'); + $this->_out('endobj'); + } elseif($type=='Type1' || $type=='TrueType') { + //Additional Type1 or TrueType font + $this->_newobj(); + $this->_out('<_out('/BaseFont /'.$name); + $this->_out('/Subtype /'.$type); + $this->_out('/FirstChar 32 /LastChar 255'); + $this->_out('/Widths '.($this->n+1).' 0 R'); + $this->_out('/FontDescriptor '.($this->n+2).' 0 R'); + if($font['enc']) { + if(isset($font['diff'])) { + $this->_out('/Encoding '.($nf+$font['diff']).' 0 R'); + } else { + $this->_out('/Encoding /WinAnsiEncoding'); + } + } + $this->_out('>>'); + $this->_out('endobj'); + //Widths + $this->_newobj(); + $cw=&$font['cw']; + $s='['; + for($i=32;$i<=255;$i++) { + $s.=$cw[chr($i)].' '; + } + $this->_out($s.']'); + $this->_out('endobj'); + //Descriptor + $this->_newobj(); + $s='<$v) { + $s.=' /'.$k.' '.$v; + } + $file = $font['file']; + if($file) { + $s.=' /FontFile'.($type=='Type1' ? '' : '2').' '.$this->FontFiles[$file]['n'].' 0 R'; + } + $this->_out($s.'>>'); + $this->_out('endobj'); + } else { + //Allow for additional types + $mtd='_put'.strtolower($type); + if(!method_exists($this, $mtd)) { + $this->Error('Unsupported font type: '.$type); + } + $this->$mtd($font); + } + } + } + + /** + * _putimages + * @access protected + */ + function _putimages() { + $filter=($this->compress) ? '/Filter /FlateDecode ' : ''; + reset($this->images); + while(list($file,$info)=each($this->images)) { + $this->_newobj(); + $this->images[$file]['n']=$this->n; + $this->_out('<_out('/Subtype /Image'); + $this->_out('/Width '.$info['w']); + $this->_out('/Height '.$info['h']); + if($info['cs']=='Indexed') { + $this->_out('/ColorSpace [/Indexed /DeviceRGB '.(strlen($info['pal'])/3-1).' '.($this->n+1).' 0 R]'); + } + else { + $this->_out('/ColorSpace /'.$info['cs']); + if($info['cs']=='DeviceCMYK') { + $this->_out('/Decode [1 0 1 0 1 0 1 0]'); + } + } + $this->_out('/BitsPerComponent '.$info['bpc']); + if(isset($info['f'])) { + $this->_out('/Filter /'.$info['f']); + } + if(isset($info['parms'])) { + $this->_out($info['parms']); + } + if(isset($info['trns']) and is_array($info['trns'])) { + $trns=''; + for($i=0;$i_out('/Mask ['.$trns.']'); + } + $this->_out('/Length '.strlen($info['data']).'>>'); + $this->_putstream($info['data']); + unset($this->images[$file]['data']); + $this->_out('endobj'); + //Palette + if($info['cs']=='Indexed') { + $this->_newobj(); + $pal=($this->compress) ? gzcompress($info['pal']) : $info['pal']; + $this->_out('<<'.$filter.'/Length '.strlen($pal).'>>'); + $this->_putstream($pal); + $this->_out('endobj'); + } + } + } + + /** + * _putxobjectdict + * @access protected + */ + function _putxobjectdict() { + foreach($this->images as $image) { + $this->_out('/I'.$image['i'].' '.$image['n'].' 0 R'); + } + } + + /** + * _putresourcedict + * @access protected + */ + function _putresourcedict(){ + $this->_out('/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]'); + $this->_out('/Font <<'); + foreach($this->fonts as $font) { + $this->_out('/F'.$font['i'].' '.$font['n'].' 0 R'); + } + $this->_out('>>'); + $this->_out('/XObject <<'); + $this->_putxobjectdict(); + $this->_out('>>'); + } + + /** + * _putresources + * @access protected + */ + function _putresources() { + $this->_putfonts(); + $this->_putimages(); + //Resource dictionary + $this->offsets[2]=strlen($this->buffer); + $this->_out('2 0 obj'); + $this->_out('<<'); + $this->_putresourcedict(); + $this->_out('>>'); + $this->_out('endobj'); + } + + /** + * _putinfo + * @access protected + */ + function _putinfo() { + $this->_out('/Producer '.$this->_textstring(PDF_PRODUCER)); + if(!empty($this->title)) { + $this->_out('/Title '.$this->_textstring($this->title)); + } + if(!empty($this->subject)) { + $this->_out('/Subject '.$this->_textstring($this->subject)); + } + if(!empty($this->author)) { + $this->_out('/Author '.$this->_textstring($this->author)); + } + if(!empty($this->keywords)) { + $this->_out('/Keywords '.$this->_textstring($this->keywords)); + } + if(!empty($this->creator)) { + $this->_out('/Creator '.$this->_textstring($this->creator)); + } + $this->_out('/CreationDate '.$this->_textstring('D:'.date('YmdHis'))); + } + + /** + * _putcatalog + * @access protected + */ + function _putcatalog() { + $this->_out('/Type /Catalog'); + $this->_out('/Pages 1 0 R'); + if($this->ZoomMode=='fullpage') { + $this->_out('/OpenAction [3 0 R /Fit]'); + } + elseif($this->ZoomMode=='fullwidth') { + $this->_out('/OpenAction [3 0 R /FitH null]'); + } + elseif($this->ZoomMode=='real') { + $this->_out('/OpenAction [3 0 R /XYZ null null 1]'); + } + elseif(!is_string($this->ZoomMode)) { + $this->_out('/OpenAction [3 0 R /XYZ null null '.($this->ZoomMode/100).']'); + } + if($this->LayoutMode=='single') { + $this->_out('/PageLayout /SinglePage'); + } + elseif($this->LayoutMode=='continuous') { + $this->_out('/PageLayout /OneColumn'); + } + elseif($this->LayoutMode=='two') { + $this->_out('/PageLayout /TwoColumnLeft'); + } + } + + /** + * _puttrailer + * @access protected + */ + function _puttrailer() { + $this->_out('/Size '.($this->n+1)); + $this->_out('/Root '.$this->n.' 0 R'); + $this->_out('/Info '.($this->n-1).' 0 R'); + } + + /** + * _putheader + * @access protected + */ + function _putheader() { + $this->_out('%PDF-'.$this->PDFVersion); + } + + /** + * _enddoc + * @access protected + */ + function _enddoc() { + $this->_putheader(); + $this->_putpages(); + $this->_putresources(); + //Info + $this->_newobj(); + $this->_out('<<'); + $this->_putinfo(); + $this->_out('>>'); + $this->_out('endobj'); + //Catalog + $this->_newobj(); + $this->_out('<<'); + $this->_putcatalog(); + $this->_out('>>'); + $this->_out('endobj'); + //Cross-ref + $o=strlen($this->buffer); + $this->_out('xref'); + $this->_out('0 '.($this->n+1)); + $this->_out('0000000000 65535 f '); + for($i=1;$i<=$this->n;$i++) { + $this->_out(sprintf('%010d 00000 n ',$this->offsets[$i])); + } + //Trailer + $this->_out('trailer'); + $this->_out('<<'); + $this->_puttrailer(); + $this->_out('>>'); + $this->_out('startxref'); + $this->_out($o); + $this->_out('%%EOF'); + $this->state=3; + } + + /** + * _beginpage + * @access protected + */ + function _beginpage($orientation) { + $this->page++; + $this->pages[$this->page]=''; + $this->state=2; + $this->x=$this->lMargin; + $this->y=$this->tMargin; + $this->FontFamily=''; + //Page orientation + if(empty($orientation)) { + $orientation=$this->DefOrientation; + } + else { + $orientation=strtoupper($orientation{0}); + if($orientation!=$this->DefOrientation) { + $this->OrientationChanges[$this->page]=true; + } + } + if($orientation!=$this->CurOrientation) { + //Change orientation + if($orientation=='P') { + $this->wPt=$this->fwPt; + $this->hPt=$this->fhPt; + $this->w=$this->fw; + $this->h=$this->fh; + } + else { + $this->wPt=$this->fhPt; + $this->hPt=$this->fwPt; + $this->w=$this->fh; + $this->h=$this->fw; + } + $this->PageBreakTrigger=$this->h-$this->bMargin; + $this->CurOrientation=$orientation; + } + } + + /** + * End of page contents + * @access protected + */ + function _endpage() { + $this->state=1; + } + + /** + * Begin a new object + * @access protected + */ + function _newobj() { + $this->n++; + $this->offsets[$this->n]=strlen($this->buffer); + $this->_out($this->n.' 0 obj'); + } + + /** + * Underline text + * @access protected + */ + function _dounderline($x,$y,$txt) { + $up = $this->CurrentFont['up']; + $ut = $this->CurrentFont['ut']; + $w = $this->GetStringWidth($txt) + $this->ws * substr_count($txt,' '); + return sprintf('%.2f %.2f %.2f %.2f re f', $x * $this->k, ($this->h - ($y - $up / 1000 * $this->FontSize)) * $this->k, $w * $this->k, -$ut / 1000 * $this->FontSizePt); + } + + /** + * Extract info from a JPEG file + * @access protected + */ + function _parsejpg($file) { + $a=GetImageSize($file); + if(empty($a)) { + $this->Error('Missing or incorrect image file: '.$file); + } + if($a[2]!=2) { + $this->Error('Not a JPEG file: '.$file); + } + if(!isset($a['channels']) or $a['channels']==3) { + $colspace='DeviceRGB'; + } + elseif($a['channels']==4) { + $colspace='DeviceCMYK'; + } + else { + $colspace='DeviceGray'; + } + $bpc=isset($a['bits']) ? $a['bits'] : 8; + //Read whole file + $f=fopen($file,'rb'); + $data=''; + while(!feof($f)) { + $data.=fread($f,4096); + } + fclose($f); + return array('w'=>$a[0],'h'=>$a[1],'cs'=>$colspace,'bpc'=>$bpc,'f'=>'DCTDecode','data'=>$data); + } + + /** + * Extract info from a PNG file + * @access protected + */ + function _parsepng($file) { + $f=fopen($file,'rb'); + if(empty($f)) { + $this->Error('Can\'t open image file: '.$file); + } + //Check signature + if(fread($f,8)!=chr(137).'PNG'.chr(13).chr(10).chr(26).chr(10)) { + $this->Error('Not a PNG file: '.$file); + } + //Read header chunk + fread($f,4); + if(fread($f,4)!='IHDR') { + $this->Error('Incorrect PNG file: '.$file); + } + $w=$this->_freadint($f); + $h=$this->_freadint($f); + $bpc=ord(fread($f,1)); + if($bpc>8) { + $this->Error('16-bit depth not supported: '.$file); + } + $ct=ord(fread($f,1)); + if($ct==0) { + $colspace='DeviceGray'; + } + elseif($ct==2) { + $colspace='DeviceRGB'; + } + elseif($ct==3) { + $colspace='Indexed'; + } + else { + $this->Error('Alpha channel not supported: '.$file); + } + if(ord(fread($f,1))!=0) { + $this->Error('Unknown compression method: '.$file); + } + if(ord(fread($f,1))!=0) { + $this->Error('Unknown filter method: '.$file); + } + if(ord(fread($f,1))!=0) { + $this->Error('Interlacing not supported: '.$file); + } + fread($f,4); + $parms='/DecodeParms <>'; + //Scan chunks looking for palette, transparency and image data + $pal=''; + $trns=''; + $data=''; + do { + $n=$this->_freadint($f); + $type=fread($f,4); + if($type=='PLTE') { + //Read palette + $pal=fread($f,$n); + fread($f,4); + } + elseif($type=='tRNS') { + //Read transparency info + $t=fread($f,$n); + if($ct==0) { + $trns=array(ord(substr($t,1,1))); + } + elseif($ct==2) { + $trns=array(ord(substr($t,1,1)),ord(substr($t,3,1)),ord(substr($t,5,1))); + } + else { + $pos=strpos($t,chr(0)); + if($pos!==false) { + $trns=array($pos); + } + } + fread($f,4); + } + elseif($type=='IDAT') { + //Read image data block + $data.=fread($f,$n); + fread($f,4); + } + elseif($type=='IEND') { + break; + } + else { + fread($f,$n+4); + } + } + while($n); + if($colspace=='Indexed' and empty($pal)) { + $this->Error('Missing palette in '.$file); + } + fclose($f); + return array('w'=>$w, 'h'=>$h, 'cs'=>$colspace, 'bpc'=>$bpc, 'f'=>'FlateDecode', 'parms'=>$parms, 'pal'=>$pal, 'trns'=>$trns, 'data'=>$data); + } + + /** + * Read a 4-byte integer from file + * @access protected + */ + function _freadint($f) { + //Read a 4-byte integer from file + $a=unpack('Ni',fread($f,4)); + return $a['i']; + } + + /** + * Format a text string + * @access protected + */ + function _textstring($s) { + if($this->isunicode) { + //Convert string to UTF-16BE + $s = $this->UTF8ToUTF16BE($s, true); + } + return '('. $this->_escape($s).')'; + } + + /** + * Format a text string + * @access protected + */ + function _escapetext($s) { + if($this->isunicode) { + //Convert string to UTF-16BE + $s = $this->UTF8ToUTF16BE($s, false); + } + return $this->_escape($s); + } + + /** + * Add \ before \, ( and ) + * @access protected + */ + function _escape($s) { + return strtr($s, array(')' => '\\)', '(' => '\\(', '\\' => '\\\\')); + } + + /** + * + * @access protected + */ + function _putstream($s) { + $this->_out('stream'); + $this->_out($s); + $this->_out('endstream'); + } + + /** + * Add a line to the document + * @access protected + */ + function _out($s) { + if($this->state==2) { + $this->pages[$this->page] .= $s."\n"; + } + else { + $this->buffer .= $s."\n"; + } + } + + /** + * Adds unicode fonts.
+ * Based on PDF Reference 1.3 (section 5) + * @access protected + * @author Nicola Asuni + * @since 1.52.0.TC005 (2005-01-05) + */ + function _puttruetypeunicode($font) { + // Type0 Font + // A composite font—a font composed of other fonts, organized hierarchically + $this->_newobj(); + $this->_out('<_out('/Subtype /Type0'); + $this->_out('/BaseFont /'.$font['name'].''); + $this->_out('/Encoding /Identity-H'); //The horizontal identity mapping for 2-byte CIDs; may be used with CIDFonts using any Registry, Ordering, and Supplement values. + $this->_out('/DescendantFonts ['.($this->n + 1).' 0 R]'); + $this->_out('>>'); + $this->_out('endobj'); + + // CIDFontType2 + // A CIDFont whose glyph descriptions are based on TrueType font technology + $this->_newobj(); + $this->_out('<_out('/Subtype /CIDFontType2'); + $this->_out('/BaseFont /'.$font['name'].''); + $this->_out('/CIDSystemInfo '.($this->n + 1).' 0 R'); + $this->_out('/FontDescriptor '.($this->n + 2).' 0 R'); + if (isset($font['desc']['MissingWidth'])){ + $this->_out('/DW '.$font['desc']['MissingWidth'].''); // The default width for glyphs in the CIDFont MissingWidth + } + $w = ""; + foreach ($font['cw'] as $cid => $width) { + $w .= ''.$cid.' ['.$width.'] '; // define a specific width for each individual CID + } + $this->_out('/W ['.$w.']'); // A description of the widths for the glyphs in the CIDFont + $this->_out('/CIDToGIDMap '.($this->n + 3).' 0 R'); + $this->_out('>>'); + $this->_out('endobj'); + + // CIDSystemInfo dictionary + // A dictionary containing entries that define the character collectionof the CIDFont. + $this->_newobj(); + $this->_out('<_out('/Ordering (UCS)'); // A string that uniquely names a character collection issued by a specific registry + $this->_out('/Supplement 0'); // The supplement number of the character collection. + $this->_out('>>'); + $this->_out('endobj'); + + // Font descriptor + // A font descriptor describing the CIDFont’s default metrics other than its glyph widths + $this->_newobj(); + $this->_out('<_out('/FontName /'.$font['name']); + foreach ($font['desc'] as $key => $value) { + $this->_out('/'.$key.' '.$value); + } + if ($font['file']) { + // A stream containing a TrueType font program + $this->_out('/FontFile2 '.$this->FontFiles[$font['file']]['n'].' 0 R'); + } + $this->_out('>>'); + $this->_out('endobj'); + + // Embed CIDToGIDMap + // A specification of the mapping from CIDs to glyph indices + $this->_newobj(); + $ctgfile = $this->_getfontpath().$font['ctg']; + if(!file_exists($ctgfile)) { + $this->Error('Font file not found: '.$ctgfile); + } + $size = filesize($ctgfile); + $this->_out('<_out('/Filter /FlateDecode'); + } + $this->_out('>>'); + $this->_putstream(file_get_contents($ctgfile)); + $this->_out('endobj'); + } + + /** + * Converts UTF-8 strings to codepoints array.
+ * Invalid byte sequences will be replaced with 0xFFFD (replacement character)
+ * Based on: http://www.faqs.org/rfcs/rfc3629.html + *
+		 * 	  Char. number range  |        UTF-8 octet sequence
+		 *       (hexadecimal)    |              (binary)
+		 *    --------------------+-----------------------------------------------
+		 *    0000 0000-0000 007F | 0xxxxxxx
+		 *    0000 0080-0000 07FF | 110xxxxx 10xxxxxx
+		 *    0000 0800-0000 FFFF | 1110xxxx 10xxxxxx 10xxxxxx
+		 *    0001 0000-0010 FFFF | 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
+		 *    ---------------------------------------------------------------------
+		 *
+		 *   ABFN notation:
+		 *   ---------------------------------------------------------------------
+		 *   UTF8-octets = *( UTF8-char )
+		 *   UTF8-char   = UTF8-1 / UTF8-2 / UTF8-3 / UTF8-4
+		 *   UTF8-1      = %x00-7F
+		 *   UTF8-2      = %xC2-DF UTF8-tail
+		 *
+		 *   UTF8-3      = %xE0 %xA0-BF UTF8-tail / %xE1-EC 2( UTF8-tail ) /
+		 *                 %xED %x80-9F UTF8-tail / %xEE-EF 2( UTF8-tail )
+		 *   UTF8-4      = %xF0 %x90-BF 2( UTF8-tail ) / %xF1-F3 3( UTF8-tail ) /
+		 *                 %xF4 %x80-8F 2( UTF8-tail )
+		 *   UTF8-tail   = %x80-BF
+		 *   ---------------------------------------------------------------------
+		 * 
+ * @param string $str string to process. + * @return array containing codepoints (UTF-8 characters values) + * @access protected + * @author Nicola Asuni + * @since 1.53.0.TC005 (2005-01-05) + */ + function UTF8StringToArray($str) { + if(!$this->isunicode) { + return $str; // string is not in unicode + } + $unicode = array(); // array containing unicode values + $bytes = array(); // array containing single character byte sequences + $numbytes = 1; // number of octetc needed to represent the UTF-8 character + + $str .= ""; // force $str to be a string + $length = strlen($str); + + for($i = 0; $i < $length; $i++) { + $char = ord($str{$i}); // get one string character at time + if(count($bytes) == 0) { // get starting octect + if ($char <= 0x7F) { + $unicode[] = $char; // use the character "as is" because is ASCII + } elseif (($char >> 0x05) == 0x06) { // 2 bytes character (0x06 = 110 BIN) + $bytes[] = ($char - 0xC0) << 0x06; + $numbytes = 2; + } elseif (($char >> 0x04) == 0x0E) { // 3 bytes character (0x0E = 1110 BIN) + $bytes[] = ($char - 0xE0) << 0x0C; + $numbytes = 3; + } elseif (($char >> 0x03) == 0x1E) { // 4 bytes character (0x1E = 11110 BIN) + $bytes[] = ($char - 0xF0) << 0x12; + $numbytes = 4; + } else { + // use replacement character for other invalid sequences + $unicode[] = 0xFFFD; + $bytes = array(); + $numbytes = 1; + } + } elseif (($char >> 0x06) == 0x02) { // bytes 2, 3 and 4 must start with 0x02 = 10 BIN + $bytes[] = $char - 0x80; + if (count($bytes) == $numbytes) { + // compose UTF-8 bytes to a single unicode value + $char = $bytes[0]; + for($j = 1; $j < $numbytes; $j++) { + $char += ($bytes[$j] << (($numbytes - $j - 1) * 0x06)); + } + if ((($char >= 0xD800) AND ($char <= 0xDFFF)) OR ($char >= 0x10FFFF)) { + /* The definition of UTF-8 prohibits encoding character numbers between + U+D800 and U+DFFF, which are reserved for use with the UTF-16 + encoding form (as surrogate pairs) and do not directly represent + characters. */ + $unicode[] = 0xFFFD; // use replacement character + } + else { + $unicode[] = $char; // add char to array + } + // reset data for next char + $bytes = array(); + $numbytes = 1; + } + } else { + // use replacement character for other invalid sequences + $unicode[] = 0xFFFD; + $bytes = array(); + $numbytes = 1; + } + } + return $unicode; + } + + /** + * Converts UTF-8 strings to UTF16-BE.
+ * Based on: http://www.faqs.org/rfcs/rfc2781.html + *
+		 *   Encoding UTF-16:
+		 * 
+ 		 *   Encoding of a single character from an ISO 10646 character value to
+		 *    UTF-16 proceeds as follows. Let U be the character number, no greater
+		 *    than 0x10FFFF.
+		 * 
+		 *    1) If U < 0x10000, encode U as a 16-bit unsigned integer and
+		 *       terminate.
+		 * 
+		 *    2) Let U' = U - 0x10000. Because U is less than or equal to 0x10FFFF,
+		 *       U' must be less than or equal to 0xFFFFF. That is, U' can be
+		 *       represented in 20 bits.
+		 * 
+		 *    3) Initialize two 16-bit unsigned integers, W1 and W2, to 0xD800 and
+		 *       0xDC00, respectively. These integers each have 10 bits free to
+		 *       encode the character value, for a total of 20 bits.
+		 * 
+		 *    4) Assign the 10 high-order bits of the 20-bit U' to the 10 low-order
+		 *       bits of W1 and the 10 low-order bits of U' to the 10 low-order
+		 *       bits of W2. Terminate.
+		 * 
+		 *    Graphically, steps 2 through 4 look like:
+		 *    U' = yyyyyyyyyyxxxxxxxxxx
+		 *    W1 = 110110yyyyyyyyyy
+		 *    W2 = 110111xxxxxxxxxx
+		 * 
+ * @param string $str string to process. + * @param boolean $setbom if true set the Byte Order Mark (BOM = 0xFEFF) + * @return string + * @access protected + * @author Nicola Asuni + * @since 1.53.0.TC005 (2005-01-05) + * @uses UTF8StringToArray + */ + function UTF8ToUTF16BE($str, $setbom=true) { + if(!$this->isunicode) { + return $str; // string is not in unicode + } + $outstr = ""; // string to be returned + $unicode = $this->UTF8StringToArray($str); // array containing UTF-8 unicode values + $numitems = count($unicode); + + if ($setbom) { + $outstr .= "\xFE\xFF"; // Byte Order Mark (BOM) + } + foreach($unicode as $char) { + if($char == 0xFFFD) { + $outstr .= "\xFF\xFD"; // replacement character + } elseif ($char < 0x10000) { + $outstr .= chr($char >> 0x08); + $outstr .= chr($char & 0xFF); + } else { + $char -= 0x10000; + $w1 = 0xD800 | ($char >> 0x10); + $w2 = 0xDC00 | ($char & 0x3FF); + $outstr .= chr($w1 >> 0x08); + $outstr .= chr($w1 & 0xFF); + $outstr .= chr($w2 >> 0x08); + $outstr .= chr($w2 & 0xFF); + } + } + return $outstr; + } + + // ==================================================== + + /** + * Set header font. + * @param array $font font + * @since 1.1 + */ + function setHeaderFont($font) { + $this->header_font = $font; + } + + /** + * Set footer font. + * @param array $font font + * @since 1.1 + */ + function setFooterFont($font) { + $this->footer_font = $font; + } + + /** + * Set language array. + * @param array $language + * @since 1.1 + */ + function setLanguageArray($language) { + $this->l = $language; + } + + /** + * Set document barcode. + * @param string $bc barcode + */ + function setBarcode($bc="") { + $this->barcode = $bc; + } + + /** + * Print Barcode. + * @param int $x x position in user units + * @param int $y y position in user units + * @param int $w width in user units + * @param int $h height position in user units + * @param string $type type of barcode (I25, C128A, C128B, C128C, C39) + * @param string $style barcode style + * @param string $font font for text + * @param int $xres x resolution + * @param string $code code to print + */ + function writeBarcode($x, $y, $w, $h, $type, $style, $font, $xres, $code) { + require_once("barcode/barcode.php"); + require_once("barcode/i25object.php"); + require_once("barcode/c39object.php"); + require_once("barcode/c128aobject.php"); + require_once("barcode/c128bobject.php"); + require_once("barcode/c128cobject.php"); + + if (empty($code)) { + return; + } + + if (empty($style)) { + $style = BCS_ALIGN_LEFT; + $style |= BCS_IMAGE_PNG; + $style |= BCS_TRANSPARENT; + //$style |= BCS_BORDER; + //$style |= BCS_DRAW_TEXT; + //$style |= BCS_STRETCH_TEXT; + //$style |= BCS_REVERSE_COLOR; + } + if (empty($font)) {$font = BCD_DEFAULT_FONT;} + if (empty($xres)) {$xres = BCD_DEFAULT_XRES;} + + $scale_factor = 1.5 * $xres * $this->k; + $bc_w = round($w * $scale_factor); //width in points + $bc_h = round($h * $scale_factor); //height in points + + switch (strtoupper($type)) { + case "I25": { + $obj = new I25Object($bc_w, $bc_h, $style, $code); + break; + } + case "C128A": { + $obj = new C128AObject($bc_w, $bc_h, $style, $code); + break; + } + default: + case "C128B": { + $obj = new C128BObject($bc_w, $bc_h, $style, $code); + break; + } + case "C128C": { + $obj = new C128CObject($bc_w, $bc_h, $style, $code); + break; + } + case "C39": { + $obj = new C39Object($bc_w, $bc_h, $style, $code); + break; + } + } + + $obj->SetFont($font); + $obj->DrawObject($xres); + + //use a temporary file.... + $tmpName = tempnam(K_PATH_CACHE,'img'); + imagepng($obj->getImage(), $tmpName); + $this->Image($tmpName, $x, $y, $w, $h, 'png'); + $obj->DestroyObject(); + unset($obj); + unlink($tmpName); + } + + /** + * Returns the PDF data. + */ + function getPDFData() { + if($this->state < 3) { + $this->Close(); + } + return $this->buffer; + } + + // --- HTML PARSER FUNCTIONS --- + + /** + * Allows to preserve some HTML formatting.
+ * Supports: h1, h2, h3, h4, h5, h6, b, u, i, a, img, p, br, strong, em, font, blockquote, li, ul, ol, hr, td, th, tr, table, sup, sub, small + * @param string $html text to display + * @param boolean $ln if true add a new line after text (default = true) + * @param int $fill Indicates if the background must be painted (1) or transparent (0). Default value: 0. + */ + function writeHTML($html, $ln=true, $fill=0) { + + // store some variables + $html=strip_tags($html,"



      1. "); //remove all unsupported tags + //replace carriage returns, newlines and tabs + $repTable = array("\t" => " ", "\n" => " ", "\r" => " ", "\0" => " ", "\x0B" => " "); + $html = strtr($html, $repTable); + $pattern = '/(<[^>]+>)/Uu'; + $a = preg_split($pattern, $html, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); //explodes the string + + if (empty($this->lasth)) { + //set row height + $this->lasth = $this->FontSize * K_CELL_HEIGHT_RATIO; + } + + foreach($a as $key=>$element) { + if (!preg_match($pattern, $element)) { + //Text + if($this->HREF) { + $this->addHtmlLink($this->HREF, $element, $fill); + } + elseif($this->tdbegin) { + if((strlen(trim($element)) > 0) AND ($element != " ")) { + $this->Cell($this->tdwidth, $this->tdheight, $this->unhtmlentities($element), $this->tableborder, '', $this->tdalign, $this->tdbgcolor); + } + elseif($element == " ") { + $this->Cell($this->tdwidth, $this->tdheight, '', $this->tableborder, '', $this->tdalign, $this->tdbgcolor); + } + } + else { + $this->Write($this->lasth, stripslashes($this->unhtmlentities($element)), '', $fill); + } + } + else { + $element = substr($element, 1, -1); + //Tag + if($element{0}=='/') { + $this->closedHTMLTagHandler(strtolower(substr($element, 1))); + } + else { + //Extract attributes + // get tag name + preg_match('/([a-zA-Z0-9]*)/', $element, $tag); + $tag = strtolower($tag[0]); + // get attributes + preg_match_all('/([^=\s]*)=["\']?([^"\']*)["\']?/', $element, $attr_array, PREG_PATTERN_ORDER); + $attr = array(); // reset attribute array + while(list($id,$name)=each($attr_array[1])) { + $attr[strtolower($name)] = $attr_array[2][$id]; + } + $this->openHTMLTagHandler($tag, $attr, $fill); + } + } + } + if ($ln) { + $this->Ln($this->lasth); + } + } + + /** + * Prints a cell (rectangular area) with optional borders, background color and html text string. The upper-left corner of the cell corresponds to the current position. After the call, the current position moves to the right or to the next line.
        + * If automatic page breaking is enabled and the cell goes beyond the limit, a page break is done before outputting. + * @param float $w Cell width. If 0, the cell extends up to the right margin. + * @param float $h Cell minimum height. The cell extends automatically if needed. + * @param float $x upper-left corner X coordinate + * @param float $y upper-left corner Y coordinate + * @param string $html html text to print. Default value: empty string. + * @param mixed $border Indicates if borders must be drawn around the cell. The value can be either a number:
        • 0: no border (default)
        • 1: frame
        or a string containing some or all of the following characters (in any order):
        • L: left
        • T: top
        • R: right
        • B: bottom
        + * @param int $ln Indicates where the current position should go after the call. Possible values are:
        • 0: to the right
        • 1: to the beginning of the next line
        • 2: below
        + Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value: 0. + * @param int $fill Indicates if the cell background must be painted (1) or transparent (0). Default value: 0. + * @see Cell() + */ + function writeHTMLCell($w, $h, $x, $y, $html='', $border=0, $ln=0, $fill=0) { + + if (empty($this->lasth)) { + //set row height + $this->lasth = $this->FontSize * K_CELL_HEIGHT_RATIO; + } + + if (empty($x)) { + $x = $this->GetX(); + } + if (empty($y)) { + $y = $this->GetY(); + } + + // get current page number + $pagenum = $this->page; + + $this->SetX($x); + $this->SetY($y); + + if(empty($w)) { + $w = $this->fw - $x - $this->rMargin; + } + + // store original margin values + $lMargin = $this->lMargin; + $rMargin = $this->rMargin; + + // set new margin values + $this->SetLeftMargin($x); + $this->SetRightMargin($this->fw - $x - $w); + + // calculate remaining vertical space on page + $restspace = $this->getPageHeight() - $this->GetY() - $this->getBreakMargin(); + + $this->writeHTML($html, true, $fill); // write html text + + $currentY = $this->GetY(); + + // check if a new page has been created + if ($this->page > $pagenum) { + // design a cell around the text on first page + $currentpage = $this->page; + $this->page = $pagenum; + $this->SetY($this->getPageHeight() - $restspace - $this->getBreakMargin()); + $h = $restspace - 1; + $this->Cell($w, $h, "", $border, $ln, 'L', 0); + // design a cell around the text on last page + $this->page = $currentpage; + $h = $currentY - $this->tMargin; + $this->SetY($this->tMargin); // put cursor at the beginning of text + $this->Cell($w, $h, "", $border, $ln, 'L', 0); + } else { + $h = max($h, ($currentY - $y)); + $this->SetY($y); // put cursor at the beginning of text + // design a cell around the text + $this->Cell($w, $h, "", $border, $ln, 'L', 0); + } + + // restore original margin values + $this->SetLeftMargin($lMargin); + $this->SetRightMargin($rMargin); + + if ($ln) { + $this->Ln(0); + } + } + + /** + * Process opening tags. + * @param string $tag tag name (in uppercase) + * @param string $attr tag attribute (in uppercase) + * @param int $fill Indicates if the cell background must be painted (1) or transparent (0). Default value: 0. + * @access private + */ + function openHTMLTagHandler($tag, $attr, $fill=0) { + //Opening tag + switch($tag) { + case 'table': { + if ((isset($attr['border'])) AND ($attr['border'] != '')) { + $this->tableborder = $attr['border']; + } + else { + $this->tableborder = 0; + } + break; + } + case 'tr': { + break; + } + case 'td': + case 'th': { + if ((isset($attr['width'])) AND ($attr['width'] != '')) { + $this->tdwidth = ($attr['width']/4); + } + else { + $this->tdwidth = (($this->w - $this->lMargin - $this->rMargin) / $this->default_table_columns); + } + if ((isset($attr['height'])) AND ($attr['height'] != '')) { + $this->tdheight=($attr['height'] / $this->k); + } + else { + $this->tdheight = $this->lasth; + } + if ((isset($attr['align'])) AND ($attr['align'] != '')) { + switch ($attr['align']) { + case 'center': { + $this->tdalign = "C"; + break; + } + case 'right': { + $this->tdalign = "R"; + break; + } + default: + case 'left': { + $this->tdalign = "L"; + break; + } + } + } + if ((isset($attr['bgcolor'])) AND ($attr['bgcolor'] != '')) { + $coul = $this->convertColorHexToDec($attr['bgcolor']); + $this->SetFillColor($coul['R'], $coul['G'], $coul['B']); + $this->tdbgcolor=true; + } + $this->tdbegin=true; + break; + } + case 'hr': { + $this->Ln(); + if ((isset($attr['width'])) AND ($attr['width'] != '')) { + $hrWidth = $attr['width']; + } + else { + $hrWidth = $this->w - $this->lMargin - $this->rMargin; + } + $x = $this->GetX(); + $y = $this->GetY(); + $this->SetLineWidth(0.2); + $this->Line($x, $y, $x + $hrWidth, $y); + $this->SetLineWidth(0.2); + $this->Ln(); + break; + } + case 'strong': { + $this->setStyle('b', true); + break; + } + case 'em': { + $this->setStyle('i', true); + break; + } + case 'b': + case 'i': + case 'u': { + $this->setStyle($tag, true); + break; + } + case 'a': { + $this->HREF = $attr['href']; + break; + } + case 'img': { + if(isset($attr['src'])) { + // replace relative path with real server path + $attr['src'] = str_replace(K_PATH_URL_CACHE, K_PATH_CACHE, $attr['src']); + if(!isset($attr['width'])) { + $attr['width'] = 0; + } + if(!isset($attr['height'])) { + $attr['height'] = 0; + } + + $this->Image($attr['src'], $this->GetX(),$this->GetY(), $this->pixelsToMillimeters($attr['width']), $this->pixelsToMillimeters($attr['height'])); + //$this->SetX($this->img_rb_x); + $this->SetY($this->img_rb_y); + + } + break; + } + case 'ul': { + $this->listordered = false; + $this->listcount = 0; + break; + } + case 'ol': { + $this->listordered = true; + $this->listcount = 0; + break; + } + case 'li': { + $this->Ln(); + if ($this->listordered) { + $this->lispacer = " ".(++$this->listcount).". "; + } + else { + //unordered list simbol + $this->lispacer = " - "; + } + $this->Write($this->lasth, $this->lispacer, '', $fill); + break; + } + case 'tr': + case 'blockquote': + case 'br': { + $this->Ln(); + if(strlen($this->lispacer) > 0) { + $this->x += $this->GetStringWidth($this->lispacer); + } + break; + } + case 'p': { + $this->Ln(); + $this->Ln(); + break; + } + case 'sup': { + $currentFontSize = $this->FontSize; + $this->tempfontsize = $this->FontSizePt; + $this->SetFontSize($this->FontSizePt * K_SMALL_RATIO); + $this->SetXY($this->GetX(), $this->GetY() - (($currentFontSize - $this->FontSize)*(K_SMALL_RATIO))); + break; + } + case 'sub': { + $currentFontSize = $this->FontSize; + $this->tempfontsize = $this->FontSizePt; + $this->SetFontSize($this->FontSizePt * K_SMALL_RATIO); + $this->SetXY($this->GetX(), $this->GetY() + (($currentFontSize - $this->FontSize)*(K_SMALL_RATIO))); + break; + } + case 'small': { + $currentFontSize = $this->FontSize; + $this->tempfontsize = $this->FontSizePt; + $this->SetFontSize($this->FontSizePt * K_SMALL_RATIO); + $this->SetXY($this->GetX(), $this->GetY() + (($currentFontSize - $this->FontSize)/3)); + break; + } + case 'font': { + if (isset($attr['color']) AND $attr['color']!='') { + $coul = $this->convertColorHexToDec($attr['color']); + $this->SetTextColor($coul['R'],$coul['G'],$coul['B']); + $this->issetcolor=true; + } + if (isset($attr['face']) and in_array(strtolower($attr['face']), $this->fontlist)) { + $this->SetFont(strtolower($attr['FACE'])); + $this->issetfont=true; + } + if (isset($attr['size'])) { + $headsize = intval($attr['size']); + } else { + $headsize = 0; + } + $currentFontSize = $this->FontSize; + $this->tempfontsize = $this->FontSizePt; + $this->SetFontSize($this->FontSizePt + $headsize); + $this->lasth = $this->FontSize * K_CELL_HEIGHT_RATIO; + break; + } + case 'h1': + case 'h2': + case 'h3': + case 'h4': + case 'h5': + case 'h6': { + $headsize = (4 - substr($tag, 1)) * 2; + $currentFontSize = $this->FontSize; + $this->tempfontsize = $this->FontSizePt; + $this->SetFontSize($this->FontSizePt + $headsize); + $this->setStyle('b', true); + $this->lasth = $this->FontSize * K_CELL_HEIGHT_RATIO; + break; + } + } + } + + /** + * Process closing tags. + * @param string $tag tag name (in uppercase) + * @access private + */ + function closedHTMLTagHandler($tag) { + //Closing tag + switch($tag) { + case 'td': + case 'th': { + $this->tdbegin = false; + $this->tdwidth = 0; + $this->tdheight = 0; + $this->tdalign = "L"; + $this->tdbgcolor = false; + $this->SetFillColor($this->prevFillColor[0], $this->prevFillColor[1], $this->prevFillColor[2]); + break; + } + case 'tr': { + $this->Ln(); + break; + } + case 'table': { + $this->tableborder=0; + break; + } + case 'strong': { + $this->setStyle('b', false); + } + case 'em': { + $this->setStyle('i', false); + } + case 'b': + case 'i': + case 'u': { + $this->setStyle($tag, false); + break; + } + case 'a': { + $this->HREF = ''; + break; + } + case 'sup': { + $currentFontSize = $this->FontSize; + $this->SetFontSize($this->tempfontsize); + $this->tempfontsize = $this->FontSizePt; + $this->SetXY($this->GetX(), $this->GetY() - (($currentFontSize - $this->FontSize)*(K_SMALL_RATIO))); + break; + } + case 'sub': { + $currentFontSize = $this->FontSize; + $this->SetFontSize($this->tempfontsize); + $this->tempfontsize = $this->FontSizePt; + $this->SetXY($this->GetX(), $this->GetY() + (($currentFontSize - $this->FontSize)*(K_SMALL_RATIO))); + break; + } + case 'small': { + $currentFontSize = $this->FontSize; + $this->SetFontSize($this->tempfontsize); + $this->tempfontsize = $this->FontSizePt; + $this->SetXY($this->GetX(), $this->GetY() - (($this->FontSize - $currentFontSize)/3)); + break; + } + case 'font': { + if ($this->issetcolor == true) { + $this->SetTextColor($this->prevTextColor[0], $this->prevTextColor[1], $this->prevTextColor[2]); + } + if ($this->issetfont) { + $this->FontFamily = $this->prevFontFamily; + $this->FontStyle = $this->prevFontStyle; + $this->SetFont($this->FontFamily); + $this->issetfont = false; + } + $currentFontSize = $this->FontSize; + $this->SetFontSize($this->tempfontsize); + $this->tempfontsize = $this->FontSizePt; + //$this->TextColor = $this->prevTextColor; + $this->lasth = $this->FontSize * K_CELL_HEIGHT_RATIO; + break; + } + case 'ul': { + $this->Ln(); + break; + } + case 'ol': { + $this->Ln(); + break; + } + case 'li': { + $this->lispacer = ""; + break; + } + case 'h1': + case 'h2': + case 'h3': + case 'h4': + case 'h5': + case 'h6': { + $currentFontSize = $this->FontSize; + $this->SetFontSize($this->tempfontsize); + $this->tempfontsize = $this->FontSizePt; + $this->setStyle('b', false); + $this->Ln(); + $this->lasth = $this->FontSize * K_CELL_HEIGHT_RATIO; + break; + } + default : { + break; + } + } + } + + /** + * Sets font style. + * @param string $tag tag name (in lowercase) + * @param boolean $enable + * @access private + */ + function setStyle($tag, $enable) { + //Modify style and select corresponding font + $this->$tag += ($enable ? 1 : -1); + $style=''; + foreach(array('b', 'i', 'u') as $s) { + if($this->$s > 0) { + $style .= $s; + } + } + $this->SetFont('', $style); + } + + /** + * Output anchor link. + * @param string $url link URL + * @param string $name link name + * @param int $fill Indicates if the cell background must be painted (1) or transparent (0). Default value: 0. + * @access public + */ + function addHtmlLink($url, $name, $fill=0) { + //Put a hyperlink + $this->SetTextColor(0, 0, 255); + $this->setStyle('u', true); + $this->Write($this->lasth, $name, $url, $fill); + $this->setStyle('u', false); + $this->SetTextColor(0); + } + + /** + * Returns an associative array (keys: R,G,B) from + * a hex html code (e.g. #3FE5AA). + * @param string $color hexadecimal html color [#rrggbb] + * @return array + * @access private + */ + function convertColorHexToDec($color = "#000000"){ + $tbl_color = array(); + $tbl_color['R'] = hexdec(substr($color, 1, 2)); + $tbl_color['G'] = hexdec(substr($color, 3, 2)); + $tbl_color['B'] = hexdec(substr($color, 5, 2)); + return $tbl_color; + } + + /** + * Converts pixels to millimeters in 72 dpi. + * @param int $px pixels + * @return float millimeters + * @access private + */ + function pixelsToMillimeters($px){ + return $px * 25.4 / 72; + } + + /** + * Reverse function for htmlentities. + * Convert entities in UTF-8. + * + * @param $text_to_convert Text to convert. + * @return string converted + */ + function unhtmlentities($text_to_convert) { + require_once(dirname(__FILE__).'/html_entity_decode_php4.php'); + return html_entity_decode_php4($text_to_convert); + } + } // END OF CLASS + + //Handle special IE contype request + if(isset($_SERVER['HTTP_USER_AGENT']) AND ($_SERVER['HTTP_USER_AGENT']=='contype')) { + header('Content-Type: application/pdf'); + exit; + } + +} +//============================================================+ +// END OF FILE +//============================================================+ +?> diff --git a/htdocs/includes/fpdf/tcpdf/test_old.php b/htdocs/includes/fpdf/tcpdf/test_old.php new file mode 100644 index 00000000000..329696ca557 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/test_old.php @@ -0,0 +1,88 @@ +heading 1

        heading 2

        heading 3

        heading 4

        heading 5
        heading 6
        ordered list:
        1. bold text
        2. italic text
        3. underlined text
        4. link to http://www.tecnick.com
        5. test break
          second line
          third line
        6. font + 3
        7. small text
        8. normal subscript superscript

        9. table:
        #AB
        1A1B1
        2A2B2
        3A3B3

        image:
        \"\""; + +require_once('config/lang/eng.php'); +require_once('tcpdf.php'); + +//create new PDF document (document units are set by default to millimeters) +$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, false); + +// set document information +$pdf->SetCreator(PDF_CREATOR); +$pdf->SetAuthor(PDF_AUTHOR); +$pdf->SetTitle($doc_title); +$pdf->SetSubject($doc_subject); +$pdf->SetKeywords($doc_keywords); + +$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING); + +//set margins +$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); +//set auto page breaks +$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); +$pdf->SetHeaderMargin(PDF_MARGIN_HEADER); +$pdf->SetFooterMargin(PDF_MARGIN_FOOTER); +$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); //set image scale factor + +$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); +$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA)); + +$pdf->setLanguageArray($l); //set language items + +//initialize document +$pdf->AliasNbPages(); + +$pdf->AddPage(); + +// set barcode +$pdf->SetBarcode(date("Y-m-d H:i:s", time())); + +// output some HTML code +$pdf->WriteHTML($htmlcontent, true); + +// output some content +$pdf->SetFont("helvetica", "BI", 20); +$pdf->Cell(0,10,'TEST Bold-Italic Cell',1,0,'C'); + +//Close and output PDF document +$pdf->Output(); + +//============================================================+ +// END OF FILE +//============================================================+ +?> \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/test_unicode.php b/htdocs/includes/fpdf/tcpdf/test_unicode.php new file mode 100644 index 00000000000..f11d112455b --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/test_unicode.php @@ -0,0 +1,93 @@ +

        heading 1

        heading 2

        heading 3

        heading 4

        heading 5
        heading 6
        ordered list:
        1. bold text
        2. italic text
        3. underlined text
        4. link to http://www.tecnick.com
        5. test break
          second line
          third line
        6. font + 3
        7. small text
        8. normal subscript superscript

    table:
    #AB
    1A1B1
    2A2 € € € & è è B2
    3A3B3

    image:
    \"test"; + +require_once('config/lang/eng.php'); +require_once('tcpdf.php'); + +//create new PDF document (document units are set by default to millimeters) +$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true); + +// set document information +$pdf->SetCreator(PDF_CREATOR); +$pdf->SetAuthor(PDF_AUTHOR); +$pdf->SetTitle($doc_title); +$pdf->SetSubject($doc_subject); +$pdf->SetKeywords($doc_keywords); + +$pdf->SetHeaderData(PDF_HEADER_LOGO, PDF_HEADER_LOGO_WIDTH, PDF_HEADER_TITLE, PDF_HEADER_STRING); + +//set margins +$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); +//set auto page breaks +$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); +$pdf->SetHeaderMargin(PDF_MARGIN_HEADER); +$pdf->SetFooterMargin(PDF_MARGIN_FOOTER); +$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); //set image scale factor + +$pdf->setHeaderFont(Array(PDF_FONT_NAME_MAIN, '', PDF_FONT_SIZE_MAIN)); +$pdf->setFooterFont(Array(PDF_FONT_NAME_DATA, '', PDF_FONT_SIZE_DATA)); + +$pdf->setLanguageArray($l); //set language items + +//initialize document +$pdf->AliasNbPages(); + +$pdf->AddPage(); + +// set barcode +$pdf->SetBarcode(date("Y-m-d H:i:s", time())); + +// output some HTML code +$pdf->WriteHTML($htmlcontent, true, 0); + +// output some content +$pdf->SetFont("vera", "BI", 20); +$pdf->Cell(0,10,"TEST Bold-Italic Cell",1,1,'C'); + +// output some UTF-8 test content +$pdf->AddPage(); +$pdf->SetFont("FreeSerif", "", 12); +$utf8text = file_get_contents("utf8test.txt", false); // get utf-8 text form file +$pdf->SetFillColor(230, 240, 255, true); +$pdf->Write(5,$utf8text, '', 1); + + +//Close and output PDF document +$pdf->Output(); + +//============================================================+ +// END OF FILE +//============================================================+ +?> \ No newline at end of file diff --git a/htdocs/includes/fpdf/tcpdf/utf8test.txt b/htdocs/includes/fpdf/tcpdf/utf8test.txt new file mode 100644 index 00000000000..5db94434385 --- /dev/null +++ b/htdocs/includes/fpdf/tcpdf/utf8test.txt @@ -0,0 +1,126 @@ +Sentences that contain all letters commonly used in a language +-------------------------------------------------------------- + +Markus Kuhn -- 2001-09-02 + +This file is UTF-8 encoded. + + +Danish (da) +--------- + + Quizdeltagerne spiste jordbær med fløde, mens cirkusklovnen + Wolther spillede på xylofon. + (= Quiz contestants were eating strawbery with cream while Wolther + the circus clown played on xylophone.) + +German (de) +----------- + + Falsches Üben von Xylophonmusik quält jeden größeren Zwerg + (= Wrongful practicing of xylophone music tortures every larger dwarf) + + Zwölf Boxkämpfer jagten Eva quer über den Sylter Deich + (= Twelve boxing fighters hunted Eva across the dike of Sylt) + + Heizölrückstoßabdämpfung + (= fuel oil recoil absorber) + (jqvwxy missing, but all non-ASCII letters in one word) + +English (en) +------------ + + The quick brown fox jumps over the lazy dog + +Spanish (es) +------------ + + El pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y + frío, añoraba a su querido cachorro. + (Contains every letter and every accent, but not every combination + of vowel + acute.) + +French (fr) +----------- + + Portez ce vieux whisky au juge blond qui fume sur son île intérieure, à + côté de l'alcôve ovoïde, où les bûches se consument dans l'âtre, ce + qui lui permet de penser à la cænogenèse de l'être dont il est question + dans la cause ambiguë entendue à Moÿ, dans un capharnaüm qui, + pense-t-il, diminue çà et là la qualité de son œuvre. + + l'île exiguë + Où l'obèse jury mûr + Fête l'haï volapük, + Âne ex aéquo au whist, + Ôtez ce vœu déçu. + + Le cœur déçu mais l'âme plutôt naïve, Louÿs rêva de crapaüter en + canoë au delà des îles, près du mälström où brûlent les novæ. + +Irish Gaelic (ga) +----------------- + + D'fhuascail Íosa, Úrmhac na hÓighe Beannaithe, pór Éava agus Ádhaimh + +Hungarian (hu) +-------------- + + Árvíztűrő tükörfúrógép + (= flood-proof mirror-drilling machine, only all non-ASCII letters) + +Icelandic (is) +-------------- + + Kæmi ný öxi hér ykist þjófum nú bæði víl og ádrepa + + Sævör grét áðan því úlpan var ónýt + (some ASCII letters missing) + +Japanese (jp) +------------- + + Hiragana: (Iroha) + + いろはにほへとちりぬるを + わかよたれそつねならむ + うゐのおくやまけふこえて + あさきゆめみしゑひもせす + + Katakana: + + イロハニホヘト チリヌルヲ ワカヨタレソ ツネナラム + ウヰノオクヤマ ケフコエテ アサキユメミシ ヱヒモセスン + +Hebrew (iw) +----------- + + ? דג סקרן שט בים מאוכזב ולפתע מצא לו חברה איך הקליטה + +Polish (pl) +----------- + + Pchnąć w tę łódź jeża lub ośm skrzyń fig + (= To push a hedgehog or eight bins of figs in this boat) + +Russian (ru) +------------ + + В чащах юга жил бы цитрус? Да, но фальшивый экземпляр! + (= Would a citrus live in the bushes of south? Yes, but only a fake one!) + +Thai (th) +--------- + + [--------------------------|------------------------] + ๏ เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน + จงฝ่าฟันพัฒนาวิชาการ อย่าล้างผลาญฤๅเข่นฆ่าบีฑาใคร + ไม่ถือโทษโกรธแช่งซัดฮึดฮัดด่า หัดอภัยเหมือนกีฬาอัชฌาสัย + ปฏิบัติประพฤติกฎกำหนดใจ พูดจาให้จ๊ะๆ จ๋าๆ น่าฟังเอย ฯ + + [The copyright for the Thai example is owned by The Computer + Association of Thailand under the Royal Patronage of His Majesty the + King.] + +Please let me know if you find others! Special thanks to the people +from all over the world who contributed these sentences.