Difference between #220 and #221 of
Yii v2 snippet guide

Revision #221 has been created by rackycz on Aug 5, 2020, 3:53:50 PM with the memo:

FPDF
« previous (#220) next (#222) »

Changes

Title unchanged

Yii v2 snippet guide

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
A discussion is available [here](https://stackoverflow.com/questions/6334134/fpdf-utf-8-encoding-how-to).

**PDF - UTF, all chars**
---

When you need non-English characters, [tFPDF](http://www.fpdf.org/en/script/script92.php) should be used.
It is the same as FPDF so FPDF documentation and manual can be used. It only modifies character-handlig. 
 
 
Just download it and then use it as a helper - I described how this is done [above](https://www.yiiframework.com/wiki/2552/yii-v2-snippet-guide#creating-your-new-helper-class).

Summary:
- Download tFPDF and unpack it.
- use file **tfpdf.php** and folder **font** .. it contains file **ttfonts.php** !!
- Into both mentioned php files add the namespace you are using for your helpers.
[...]
7 0
4 followers
Viewed: 274 865 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: a year ago
Update Article

Revisions

View all history