Skip to content

Commit

Permalink
Updated to tFPDF 1.31
Browse files Browse the repository at this point in the history
  • Loading branch information
JanSlabon committed Feb 19, 2020
1 parent 258b5f8 commit f0ece1c
Show file tree
Hide file tree
Showing 6 changed files with 601 additions and 520 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
font/unifont/*.dat
font/unifont/*.php
vendor
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ when using Write() etc.

If you're using Composer to manage dependencies, you can use

$ composer require setasign/tfpdf:1.25
$ composer require setasign/tfpdf:1.31

or you can include the following in your composer.json file:

```json
{
"require": {
"setasign/tfpdf": "1.25"
"setasign/tfpdf": "1.31"
}
}
```
Expand Down
12 changes: 8 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
{
"name": "setasign/tfpdf",
"version": "1.25",
"version": "1.31",
"homepage": "http://fpdf.org/en/script/script92.php",
"description": "This class is a modified version of FPDF that adds UTF-8 support. It is based on FPDF 1.7.",
"description": "This class is a modified version of FPDF that adds UTF-8 support. As of version 1.31 it is based on FPDF 1.82. Before it was based on FPDF 1.7.",
"type": "library",
"keywords": ["pdf", "fpdf", "unicode", "tfpdf"],
"license": "LGPL-2.1",
"authors": [
{
"name": "Ian Back",
"email": "ian@bpm1.com"
"name": "Ian Back"
},
{
"name": "Tycho Veltmeijer",
"email": "tfpdf@tychoveltmeijer.nl",
"role": "Maintainer"
},
{
"name": "Olivier Plathey",
Expand Down
Binary file modified ex.pdf
Binary file not shown.
5 changes: 3 additions & 2 deletions info.htm
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
<body>
<h1>tFPDF</h1>
<h2>Informations</h2>
Author: <a href="mailto:ian@bpm1.com?subject=tFPDF">Ian Back</a><br>
Original author: Ian Back<br>
Maintainer : <a href="mailto:tfpdf@tychoveltmeijer.nl?subject=tFPDF">Tycho Veltmeijer</a><br>
License: LGPL
<h2>Description</h2>
This class is a modified version of FPDF that adds UTF-8 support. Moreover, it embeds only
the necessary parts of the fonts that are used in the document, making the file size much
smaller than if the whole fonts were embedded. These features were originally developed
for the <a href="http://www.mpdf1.com/mpdf/" target="_blank">mPDF</a> project.<br>
for the <a href="https://mpdf.github.io/" target="_blank">mPDF</a> project.<br>
<br>
To use a Unicode font in your script, pass the font file name as third parameter of
<code>AddFont()</code> and <code>true</code> as fourth parameter. The font may be located
Expand Down
Loading

0 comments on commit f0ece1c

Please sign in to comment.